Executing Test in Regression

 

Overview

 

Regression testing facilitates bulk test script execution (entire suite can be executed through regression) from a remote/local host. It provides the option to execute Web Functional, Web Performance, Web Service Functional and Web Service Performance test scripts in the regression mode.

 

Executing Test Suites from Regression

 

To run test suites from regression, you need to perform the following steps:

  1. Configure regression details as explained in Configuring Regression. If you want to execute regression tests from a remote host, follow the instructions given below:

  2. Download the WebTestRegression zip file from the Command Line Toolkit page in Regression screen. To view the Regression screen, click the Regression tab in any test type screen.

  3. Extract the downloaded WebTestRegression zip file which will list the CommandLineWebTest.bat/.sh files, setEnv.bat/.sh files and the CommandLineConfigurator.html file.

Regression execution will be invoked by QEngine at the time configured while regression scheduling. You can also invoke the regression testing manually.

 

Execute the CommandLineWebTest.bat/sh file to execute the specified suite. This file has to be invoked by passing the necessary arguments as shown below:
 

CommandLineWebTest.bat/sh <Path to regression home> <Server_host_name> <Server_port> <browser> <browser_version> <Schedule_Name> <test_type>

 

where
 

   Path to regression home is the location from where the CommandLineWebTest.bat/sh is invoked

    Server_host_name is the machine name where QEngine server is running

    Server_port  is the QEngine port to be used for connection

    browser is the browser with which the regression should be executed

    browser_version is the version of the browser with which the regression testing should be executed

    Schedule_Name  is the ID of the configured regression details

    test_type  is either WFT / WPT / WSFT / WSPT

 

Executing this command will display a screen indicating the execution status.



Copyright © 1999, AdventNet Inc. All Rights Reserved.