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?
What should be open in the new tab? It’s a new web page or a PDF/Word document?
A PDF document.
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