The problem is it shows the harness in a new popup instead of populating the harness in the same windows. However, I have tried to implement a button to test my script. When I click that button, it runs the exactly same script and the script works the way I want.
Can you please explain why the script does not work properly when it is not called by clicking button? Moreover, is there any other way to achieve my requirement?
I appreciate any help you can provide.
***Edited by Moderator Marissa to update platform capability tags***
Thank you for your response. I can confirm that it replaces the current harness by using "current". However, as I wrote above, I need to show the additional harness. So I can not replace the new one to the current one.
Posted: 2 years ago
Posted: 31 Jul 2018 15:47 EDT
Rachit Agarwal (Rachit_Agarwal)
Senior Technical Solutions Engineer
The reason could be, it might be running but, there might be some other script which might be running after this script. To verify that, you can use a network tab in Developers tools in Chrome/IE and check if the request is going successfully or not.
You can try using SetTimeout Function so that the wrapper function will only run once all the other script are executed and you shall see the desired result.