Declined
Last Updated: 02 Jan 2024 13:10 by ADMIN
Don
Created on: 17 Sep 2015 12:33
Type: Feature Request
2
Put a stop button on the running bar
When trying to fix a test, I often have to try a number of things.  Each time it fails, usually because of a failing locator, I have to wait for a timeout.  Until I get it resolved, the test fails each time at the SAME place and when it does, I already know that the test has failed.  I don't need to wait 30 seconds.  So, give us an Abort button on the running panel.  See the attached file.

Yes, I know that I could shorten the Location time.  Not a viable solution.  Give me the ability to easily stop a stuck test.
Attached Files:
1 comment
ADMIN
Ryan
Posted on: 18 Sep 2015 01:49
Hi Don,

I will let our engineers add further color if necessary, but you have a few options here.

The first option is using the 'Abort' button within the UI of Test Studio. The 'Execute' button turns into the 'Abort' button once a test has been initiated for 'Quick Execution'. 

Your second option is closing the browser. You can immediately end execution at any time by killing the browser session in question during execution. 

Ultimately, I would suggest a different approach altogether. Whenever I am troubleshooting an issue that appears to be related to identification logic, I first leverage our Run-To Here feature. This can be initiated by right clicking on the step that is failing, or the step before it if it is on the same page of the application. After doing this, I attempt to stay in a live recording session (I try to stay in a live recording session as often as possible).

Once we are on the page where the misidentified element is visible, select the failing step in Test Studio, and it will highlight the element in your Element Repository. This is located in the bottom left pane of Test Studio with a stock configuration. Select the element in question from the repository, and right click. This is, in my mind, one of the most interesting and valuable features of Test Studio. Since we have a live recording session open we have the unique and luxurious opportunity to select 'Edit in Live'. This will allow you to change and then verify on the live UI whether or not we are able to identify the element on the page after our modifications via the ‘Verify’ button on the bottom of the Edit Logic window. After this, we now have the ability to run only this specific step. If you select the step inside Test Studio and right click, since you are in a live recording session you now have the luxury of not just Run – To Here, but also From Here and Selected Steps. If you have the previously failed step selected and use the Run- Selected Step option, we can immediately see if the test is now passing. This is generally my workflow. I try to avoid running an entire test as often as possible when it is a specific step that is failing. 

Please let me know if this was helpful, or if I missed the mark on this one. 

Ryan