While recording in IE9 with the latest Test Studio update (2013.2.1327), clicking the "Back" button records as a test step, but it fails the step when running the automated test. Does automation not work with browser actions such as this?
To counteract this problem, I simply tried copying and pasting the previous URL and adding a test step to navigate to that page. However, this step also fails.
For more information, I am clicking on a PDF (which opens in the same tab/window) and then trying to click the back button to return to the page that I am trying to test.
Any help would be greatly appreciated.
Thanks,
Bennett
To counteract this problem, I simply tried copying and pasting the previous URL and adding a test step to navigate to that page. However, this step also fails.
For more information, I am clicking on a PDF (which opens in the same tab/window) and then trying to click the back button to return to the page that I am trying to test.
Any help would be greatly appreciated.
Thanks,
Bennett
5 Answers, 1 is accepted
0
Hello Bennet,
Thank you for contacting us.
Unfortunately I am not able to reproduce this issue.
The back button is working correctly during the playback.
Could you please point us to some public site where you can reproduce it so we can try to debug it.
Also please notice that Test Studio cannot connect to or record against a pop-up window that directly loads a PDF file. This is because it does not have a DOM like a traditional web page.
Hope to hear from you soon.
Regards,
Boyan Boev
Telerik
Thank you for contacting us.
Unfortunately I am not able to reproduce this issue.
The back button is working correctly during the playback.
Could you please point us to some public site where you can reproduce it so we can try to debug it.
Also please notice that Test Studio cannot connect to or record against a pop-up window that directly loads a PDF file. This is because it does not have a DOM like a traditional web page.
Hope to hear from you soon.
Regards,
Boyan Boev
Telerik
0
Bennett
Top achievements
Rank 1
answered on 07 Apr 2014, 05:53 PM
Hi Boyan,
I apologize for the delay in my response.
I have figured out that my issue was answered with your comment about Test Studio not being able to connect to/record a PDF. The PDF loads in the same window/tab, but the Recorder's inability to record the "Back" navigation action from this page is my problem. Is there a way to get around this? Or will I just have to insert a manual test step?
Thanks,
Bennett
I apologize for the delay in my response.
I have figured out that my issue was answered with your comment about Test Studio not being able to connect to/record a PDF. The PDF loads in the same window/tab, but the Recorder's inability to record the "Back" navigation action from this page is my problem. Is there a way to get around this? Or will I just have to insert a manual test step?
Thanks,
Bennett
0
Hi Bennett,
Could you please try with this coded step:
It will navigate back.
Let me know if this helps.
Regards,
Boyan Boev
Telerik
Could you please try with this coded step:
ActiveBrowser.GoBack();
It will navigate back.
Let me know if this helps.
Regards,
Boyan Boev
Telerik
0
Bennett
Top achievements
Rank 1
answered on 11 Apr 2014, 12:09 PM
Hi Boyan,
This does work! I appreciate the help!
Thanks,
Bennett
This does work! I appreciate the help!
Thanks,
Bennett
0
Hi Bennett,
Glad to hear that!
If you need further help, please let us know.
Regards,
Boyan Boev
Telerik
Glad to hear that!
If you need further help, please let us know.
Regards,
Boyan Boev
Telerik