The Run Test button in the Pick a Browser modal opens a client test runner without setting sysparm_nostack=true. This can cause another client test runner to be loaded in the iFrame, which is a problem because it sometimes throws a JavaScript error as it is being unloaded.


Steps to Reproduce

1. Create a test.
2. Create an 'Open a new form' step on the 'sc_task' table.
3. Create a 'Click a UI Action' step for the 'Submit' UI action
4. Create another 'Open a new form' step on the 'sc_task' table.
5. Make sure there are no client test runners open.
6. Click the Run Test button, and in the 'Pick a Browser' modal, make sure 'Start a new test runner' radio button is selected. Click Run Test.

Observe after step 2, another Client Test Runner appears in the iFrame, and the test fails with a JavaScript error.


Before running the test, open a new client test runner using the Client Test Runner module.

Related Problem: PRB1272093

Seen In

There is no data to report.

Intended Fix Version


Safe Harbor Statement

This "Intended Fix Version" information is meant to outline ServiceNow's general product direction and should not be relied upon in making a purchasing decision. The information provided here is for information purposes only and may not be incorporated into any contract. It is not a commitment, promise, or legal obligation to deliver any material, code, or functionality. The development, release, and timing of any features or functionality described for our products remains at ServiceNow's sole discretion.

Associated Community Threads

There is no data to report.

Article Information

Last Updated:2018-07-26 15:27:45