Selenium

Configurations:

For configuring Selenium, there are some pre requisites for it as under.

Public Ip:

Kualitee product will need a gateway to enter the environment where the scripts are going to execute. For that whatever environment you are using must have a public IP.

Apache:

You will need to have apache server setup, normally we use xampp/wampp for it.

Plugin:

Once Public Ip is ready and you have installed xampp. Go to Htdocs directory
(e.g. /var/www/html on a ubuntu machine and for windows xampp/htdocs/)

Once you are in the right directory, just download and unzip Selenium plugin in htdocs directory as:

Once all these things are done, your apche server is up, you have installed xampp/wampp and in htdocs you have unzip the plugin.

You have to try out the url to know if you are set to move a head as

e.g http://172.27.5.19/KualiteeSelenium/index.php

Syntax is [IP address]:[port if any specific]/pluginName/index.php

If you are not able to see blank page, this means you have connection issue and you need to connect with IT support team of kualitee.

Considering successful configuration,

You have to go to your kualitee application, and settings for jumping on to Integrations tab Now you have to add this url in the integration section and selenium tab as

Once you have pasted the url and saved it without any errors, you are all set with the integrations.

This means you have successfully configured the Integration.

Now lets setup one test case to perform automation

For creating your first automated test script, you will have to follow below steps

  • Create a test case and set execution type to be automated on Test Management Tab
  • Add your automated test case in any cycle you want to execute
  • Go to Execute option and run your test case by clicking execute option

Go to Test Lab and test execution section as

Here is the sample code snippet:

Make sure the driver you are going to use is placed in the server/system configured for automation. Like “C:\\xampp\\htdocs\\kualiteeSelenium\\chromedriver.exe”

Kualitee expects Status as parameter from the user to consider the test case to pass or fail.