Getting Rapise to screenshot the correct browser tab

Wednesday, May 7, 2025
Avatar

In the web app I'm testing, the output for one of the tests is a PDF report which is opened in a new tab. However, the DoScreenshot returns a screenshot of the original tab, even with DoSelectTab  with the name of the new tab. Not sure how to get this to work.

1 Replies
Wednesday, May 7, 2025
Avatar
re: TracyL Wednesday, May 7, 2025

Hi Tracy,

Navigator.DoSelectTab is the right action. It accepts either part of a title or part of a url as well as a regular expression. Since Navigator.DoScreenshot takes a screenshot of the original tab, Navigator.DoSelectTab does not select the new tab. So I would check it's tabOrUrl parameter. You may create a ticket using your support login at https://www.inflectra.com/Support/Account/Login.aspx and share additional information: browser screenshot, how your Navigator.DoSelectTab looks like, and we may try to help you figure out the exact reason.

Regards,
Max

Spira Helps You Deliver Quality Software, Faster and With Lower Risk

And if you have any questions, please email or call us at +1 (202) 558-6885

 

Statistics
  • Started: Wednesday, May 7, 2025
  • Last Reply: Wednesday, May 7, 2025
  • Replies: 1
  • Views: 77