Notifications

392 views

Description

When running a test from the Automated Test Framework (ATF), the "pick a browser" process might not find available test runners. If the process is called before the test runner un-impersonates, it will look for test runners started by the impersonating user. If none exist, it the "pick a browser" pop-up window displays only the "start a new test runner" option.

Steps to Reproduce

 

  1. Navigate to Automated Test Framework > Test.
  2. Create a new test.
    1. Click New to create a new test.
    2. Provide a name in the Name field.
    3. Click Save.
  3. Under the Test Steps related list, click Add Test Step.
  4. Create an Impersonate step
    1. Click Server, then Impersonate, then Next.
    2. Set the User field to any user, for example Abel Tutor from the demo data
    3. Click Submit.
  5. Create a Click Modal Button step
    1. Click Form, then Click Modal Button, then Next.
    2. Set the UI page field to any UI page.
    3. Set the Button field to any string, for example 1234.
    4. Click Submit.
  6. Create a suite.
    1. Navigate to Automated Test Framework > Suite.
    2. Click New to create a new suite.
    3. Provide a name in the Name field.
    4. Click Save.
  7. Add the test from Step 2 to this suite.
    1. In the Test Suite Test related list, click Insert a new row.
    2. Enter the name of the test created in Step 2 and click the green check mark.
  8. Run the suite.
    1. Navigate back to the suite form and click Run Test Suite
    2. On the Pick a Browser pop-up window, select the browser for the current session and click Run Test Suite.
    3. Wait for the suite to complete execution.
  9. Re-run the suite.
    1. When the suite is finished, the Re-run Failed Tests button will appear on the dialog.
    2. Click the Re-run Failed Tests button.
    3. In the pick a browser pop-up window, select the browser for the current session and click Re-run Test Suite.
    4. Immediately click Cancel Pending Steps in the dialog box.
    5. As soon as the suite is cancelled, immediately click Re-run Test Suite in the dialog box.

      Instead of providing options for the open test runners, the pick a browser pop-up window displays only the start a new test runner option.

 

Workaround

Give CPU cycles to the test runner that executed the test by having the test runner in a foreground tab. 


Related Problem: PRB1065393

Seen In

There is no data to report.

Associated Community Threads

There is no data to report.

Article Information

Last Updated:2018-03-20 03:52:58
Published:2017-06-20