Book Image

Mastering SoapUI

By : Pranai Nandan, Surendra Mohan
Book Image

Mastering SoapUI

By: Pranai Nandan, Surendra Mohan

Overview of this book

SoapUI is an open-source cross-platform testing application that provides complete test coverage and supports all the standard protocols and technologies. This book includes real-time examples of implementing SoapUI to achieve quality and business assurance. Starting with the features and functionalities of SoapUI, the book will then focus on functional testing, load testing, and security testing of web services. Furthermore, you will learn how to automate your services and then design data-driven, keyword-driven, and hybrid-driven frameworks in SoapUI. Then the book will show you how to test UIs and services using SoapUI with the help of Selenium. You will also learn how to integrate SoapUI with Jenkins for CI and SoapUI test with QC with backward- and forward-compatibility. The final part of the book will show you how to virtualize a service response in SoapUI using Service Mocking. You will finish the journey by discovering the best practices for SoapUI test automation and preparing yourself for the online certification of SoapUI.
Table of Contents (18 chapters)
Mastering SoapUI
About the Author
About the Reviewer
SoapUI Integration with Jenkins and HP QC

Locator identification

So now we have learnt how to automate the UI and services together, but before we end this chapter let's take a look at a tool which helps us find locators easily:

  • Fire Bug: An add-on for Firefox which helps create a locator

  • Fire Path: An add-on for Firefox which helps create a locator

The preceding two add-ons can easily be installed in Firefox.

Once the add-on is installed you will see a bug picture on the right-hand side of the browser.

Click on the bug on the browser and you will be able to see Firebug at the bottom of the screen.

Now when you need to find an element click on the arrow highlighted in the following screenshot and place it on the element you need to identify. In this example its the Google search field:

Once you do that, you can see the XPath visible as shown in the following figure:

This technique doesn't work for complex applications where you need to identify your locators by yourself but can be useful most of the time.

And finally to conclude this chapter...