Viewing Screenshots
Hi,
I was wondering if there was an easy way to view all the screenshots taken after a local run is complete. I have a script that is at 1200 steps, therefore it is very time consuming to come back and attempt to find each screenshot to view. I know it saves sort of the path into the variable, but not sure what I need to do either to have them all download at the end of the local run or just have them open in a tab (which is preferred).
Thanks,
Zach
Hi Zach,
Apologies for the delay in response. Downloading process is a bit complex because links are made to be secure, so it's not possible to download them while this feature is active.
As an alternative, here's a suggested solution:
1. Use Set_Var to combine the variables from all Screen_Shot steps
2. The values will show you the URLs that you can open. You can separate these using any character you like. We know that only part of the link appears, but this will be fixed.
3. Here's a test case you can use by pasting in Advanced View:
WEB GOTO_URL "https://reference.subject-7.com" HALT ON ERROR SCREENSHOT BROWSER RESULT_VARIABLE 1 HALT ON ERROR WEB CLICK TARGET LOCATOR subject7_reference_login.link.login HALT ON ERROR SCREENSHOT BROWSER RESULT_VARIABLE 2 HALT ON ERROR WEB FILL TARGET LOCATOR subject7_reference_login.text.email_address VALUE "some email" HALT ON ERROR SCREENSHOT BROWSER RESULT_VARIABLE 3 HALT ON ERROR WEB FILL TARGET LOCATOR subject7_reference_login.text.password VALUE "some password" HALT ON ERROR SCREENSHOT BROWSER RESULT_VARIABLE 4 HALT ON ERROR SET VARIABLE all_urls VALUE STATIC "Screenshot (1): https://platform.subject-7.com/cdn/@1 / Screenshot (2): https://platform.subject-7.com/cdn/@2 / Screenshot (3): https://platform.subject-7.com/cdn/@3 / Screenshot (4): https://platform.subject-7.com/cdn/@4 / Screenshot (5): https://platform.subject-7.com/cdn/@5" HALT ON ERROR
Regards,
Subject7 Team
I second this request for a better way to view all the screenshots taken from a local or cloud run in one concise place.
We often have to take screenshots throughout our tests and then go back after it is done to view/manually verify a few things from it.
It takes a long time scrolling back up through thousands of steps to try to find it.
Please sign in to leave a comment.