Book Image

Mastering SoapUI

Book Image

Mastering SoapUI

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
Credits
About the Author
Acknowledgments
About the Reviewer
www.PacktPub.com
Preface
7
SoapUI Integration with Jenkins and HP QC
Index

Automation in Google Chrome


For automation in Google Chrome you need to install the chrome driver.

The following screenshot displays the location of the download:

Here is the URL: http://chromedriver.storage.googleapis.com/index.html?path=2.21/

Once downloaded you need to install the Chrome driver and set the path of the chrome driver in the path of the system.

Once the Chrome driver is up, the following screen will be displayed:

Once the screen is displayed you can now start automating your test using the chrome browser.

Also, before working on the chrome browser make sure you have downloaded the chrome driver which is compatible with your Selenium version and your browser.

You can find compatibility details at the following website:

https://sites.google.com/a/chromium.org/chromedriver/

Just for reference, the following is a sample script for UI automation using the Chrome driver:

import org.openqa.selenium.*;
import org.openqa.selenium.JavascriptExecutor;
import org.openqa.selenium.firefox.FirefoxDriver...