When/Why/Should a "Test Run" give a different result than a DEBUG run?


I have a web app which requires me to use an Execute JavaScript to manage a control.
this command works under the DOM console
this command works for DEBUG
this command fails under “test run”


assistEdge 17.5.2



The only difference while running in debug mode is that the execution is a bit delayed and user is able to visualize while activity execution is currently in progress.

In case you are facing issue while doing test run then try putting a delay activity with 3 sec before Java Script executor activity (which in your case is failing)


The delay worked perfectly