TestProject Forum
Powered by leading experts in the test automation community

New Tab Editor,

Hi
I have recorded so far as to a test opening a document in a new tab, but the editor stays on the first tab.
How can I record for the second tab, switch between tabs and open new tabs?

Hi @zivi.artorg,

What should be open in the new tab? It’s a new web page or a PDF/Word document?

Kind regards,
Amit

Hi @amit.yahav
A PDF document.

Hi @zivi.artorg,

A PDF documents is not a web page with web elements, so you cannot automate it. If you want to verify that the document was downloaded, you can use the action called: “Get last downloaded file” from this addon: https://app.testproject.io/#/addons/community?a=hV6EGxIFTkCyZlxUpWd6tg

Regards,
Amit

1 Like