Record Test Cases in a Single Session

Note: Single Session recording works for Web and Mobile Web platforms.

Users can modularize test case recording for Web and Mobile Web and sequentially execute test cases using Single User session execution option. 

You can record a test suite with Single Session when the test cases are required to be run in a series i.e. one after another. Single Session execution will preserve session variables in multiple test cases. It basically covers a single scenario distributed in multiple test cases with sharing session variable.

Example: The following is an example of a single session recording.

  • Test Suite: SingleSession

    • Test Case1: Login

    • Test Case2: Credit Amount

    • Test Case 3: Debit Amount

    • Test Case 4: Logout

 

 

Test Case 1: In the SingleSession test suite folder, add a new test case - Login.

Start recording for the Login test case.

Once the Login steps are recorded, go back to QAS application and create a new test case under the same test suite folder. Note that the recording is still in-progress and is not stopped.

Test Case 2: In the SingleSession test suite folder, add a new test case - CreditAmount with the recording on.

 

Once the CreditAmount steps are recorded, go back to QAS application and create a new test case under the same test suite folder. Note that the recording is still in-progress and is not stopped.

Test Case 3: In the SingleSession test suite folder, add a new test case - DebitAmount with the recording on.

 

Once the DebitAmount steps are recorded, go back to QAS application and create a new test case under the same test suite folder. Note that the recording is still in-progress and is not stopped.

Test Case 4: In the SingleSession test suite folder, add a new test case - Logout and then Stop the recording as this is the last step that is to be recorded.

 

Read https://qmetrysupport.atlassian.net/wiki/spaces/QAShelp/pages/1545371651 to know about How to Execute a Test Suite in a Single Session.