TestingWhiz allows users to execute Test Scripts on the server via TestingWhiz CI plugins such as Jenkins or Bamboo. This lets the user validate her/his application on regression cycles and provide reports to CI tools on a continuous basis
Steps & Configurations
Here is the process of integrating Jenkins Server with TestingWhiz:
Free Style Project:
1. Download the Jenkins Plugin file from TestingWhiz download page.
2. Place the downloaded plugin file into
3. Start the Jenkins server and access
4. Build a Free Style project.
5. Click on Add Build Step and select TestingWhiz Script
6. Server URL:- Enter the Server address where the TestingWhiz server is running (http://ipaddress:5050/)
7. Base URL[optional]:- Specify Base URL in format (http://host:port/). [Note: Specified value is used only if ‘${BASEURL}’ is given as value in one of the step in .twiz file.]
8. Script Path:- Specify the absolute path of a test case file or users can also specify the folder path where all the test scripts are stored to execute. [Note: Script file should be on a same system where jenkins instance is running and should have all required permissions.]
9. Browser:- Specify the browser for your build by selecting one from the Browser drop-down. Available browsers are Mozilla Firefox, Internet Explorer, Google Chrome, Edge, Headless Execution.
10. Test Object[optional]:- Enter a specific Test suite or Test case to exclusively execute inside the Test Object column or leave it blank to execute the entire script file.
11. Step Execution Interval[optional]:-Specify the interval time between two steps that is to be performed while execution.
12. Report Interval:- Specify the minimum time taken by any case of this script when executed in TestingWhiz tool. Value should be in milliseconds.
13. Tools --> Start Server
14. Test Script is ready to be executed via Jenkins server.
Pipeline Project:
1. Download the Jenkins Plugin file from TestingWhiz download page.
2. Place the downloaded plugin file into the .Jenkins home directory
3. Start the Jenkins server and access in the browser
4. Build a Pipeline project.
5. In Pipeline block, specify below script.
def testingWhiz() {
testingWhiz serverUrl: env.TW_SERVER_URL,
baseUrl: env.TW_BASE_URL,
path: env.TW_SCRIPT_PATH,
browser: env.TW_BROWSER,
testObject: env.TW_TEST_OBJECT,
waitTime : env.TW_WAIT_TIME,
reportInterval : env.TW_REPORT_INTERVAL
}
properties([
parameters([
string(
name: 'TW_SERVER_URL',
defaultValue: '',
description: 'URL of the TestingWhiz Automation server in the format http://host:5050/.'
),
string(
name: 'TW_BASE_URL',
defaultValue: '',
description: 'URL of the TestingWhiz Automation BASEURL in the format http://host:port/. It is optional field.'
),
string(
name: 'TW_SCRIPT_PATH',
defaultValue: '',
description: 'Path of the TestingWhiz automation script.'
),
choice(
name: 'TW_BROWSER',
choices: ['Mozilla Firefox', 'Google Chrome', 'Internet Explorer', 'Headless Execution', 'Edge'],
description: 'Select the browser you wish to run the script on.'
),
string(
name: 'TW_TEST_OBJECT',
defaultValue: '',
description: 'Mention a specific Test suite or Test case that you would like to exclusively execute. Leave blank to execute the whole file. It is optional field.'
),
string(
name: 'TW_WAIT_TIME',
defaultValue: '',
description: 'Interval between steps in milliseconds(to avoid errors if your site is slow). It is optional field.'
),
string(
name: 'TW_REPORT_INTERVAL',
defaultValue: '',
description: 'Minimum time taken by any case of this script when executed in TestingWhiz tool. Value should be in milliseconds.'
)
])
])
node{
stage('TestingWhiz'){
testingWhiz()
}
}
[Note: TW_SCRIPT_PATH:- Script file should be on a same system where jenkins instance is running and should have all required permissions. TW_BASE_URL:- During script file creation ‘${BASEURL}’ needs to be provided as value in one of the step.]
6. Tools --> Start Server.
7. Save the configuration and then execute using ‘Build with Parameters’.
8. Specify the mandatory field values and then click ‘Build’.
[Note: To avail Jenkins integration functionality on your TestingWhiz, email at sales@testing-whiz.com]
Steps & Configurations
1. Download the TestingWhiz Bamboo Plugin file from TestingWhiz download page
2. Place the downloaded plugin file into the bamboo-home directory under system user directory
3. Start the Bamboo server and access in the browser
4. Build one bamboo plan with one task created using TestingWhiz script plugin option
6. Enter the Server address where the TestingWhiz server is running (http://ipaddress:5050)
7. Specify the absolute path of a test case file or users can also specify the folder path where all the test scripts are stored to execute.
8. Specify the browser for your build by selecting one from the Browser drop-down
9. Enter a specific Test suite or Test case to exclusively execute inside the Test Object column or leave it blank to execute the entire script file (optional).
10. Specify the interval time between two steps that is to be performed while execution (optional)
11. Go to Tools → Start Server
12. Test Script is ready to be executed via Bamboo Server
This website uses Cookies to improve site’s functionality & provide you with better browsing experience. Detailed information on the use of cookies on this website, and how you can decline them, is provided in our Cookie Policy. If you don't agree, kindly disable cookies from browser settings.