Subscribe by Email


Sunday, August 19, 2012

What are different types of running a test in WinRunner?


After you are done with the creation of the test scripts for your cases, you subject them to be compiled by the winrunner which in turn interprets these test scripts line by line. Ultimately, the tests are executed as though they were being run by a real world human user. 

In this article we are going to discuss about different types of running a test in winrunner. 

1. Running a test to check the software system or application:  
This type of test run involves a rigorous check of the behavior of the software   system or application as well as a sincere comparison among the current results and the expected results. The folder where you want the verification results to be saved can be specified by you itself. Following steps are followed for this type of test run:
a)   For opening your test hog down to open option in the file menu and click it to open a test.
b)   But be first make it sure that you have set the run mode to verify run mode on the test tool bar.
c)   Now choose an appropriate test menu command or you simply click on one of the run options. When you do this a run test dialogue box appears.
d)   It is your wish if you want to save your test results with a default test run name.
e)   The winrunner saves the test results.

    2. Running a test for debugging a test script: 
   Whenever you have to debug the test scripts a similar type of comparison is carried out by the winrunner as in the previous type between the current response and the expected response. After debugging only one set of debug results is saved in the debug results folder. So whenever you carry out a second execution of the same test, the results are over written by the winrunner. Following steps can be carried out for this type of test run:
    a)   Follow the same step a in the previous test run type to open a test.
    b)   Then go for the debug option from the list of run modes on the test tool bar.
    c)   Then you go for the run or debug menu command that you want.
    d)   For executing the entire test go for the “run from top” option available in the test menu.

    3. Running a test for updating the expected result: 
    This type of test run helps one in updating the expected results. In this case, the expected results that were created earlier are replaced by the new results and these new results in turn become the subject of comparison for the subsequent test results to come. For running a test for updating the expected results follow the first step as given in the previous two cases for opening a test. Go to the list of run modes from the test tool bar and select the update option. Then choose an appropriate test menu command from the list. For updating the entire set go for the option “run from top” in the test tool bar or simply click on the “from top” button on the tool bar.

    4. Running a test for checking the date operations: 
   Once a test has been created that checks date operations, it is run to check in what way the software system or application responds to the date information present in the test. You must make sure that in the general category of the options dialogue box the option “enable date operations” must have been selected. 


No comments:

Facebook activity