Recording multiple pages is required when you need to create a test that contains links that open in a new tab or pop-up window.

By default, when you create a new test, any action you make is recorded automatically if it derives from the initial recorded page.

For example: Let's say you want to create a test for your company's "Contact us" page.

The page contains a form and also links to the company's social media pages: Facebook, Twitter & Pinterest.

Any of those links are opened in a new tab. If you'd click them while "Contact us" page was recorded, any interaction you'd take in these tabs would have been recorded too.

Custom steps (JavaScript)

When using custom actions with multiple tabs, by default, the step will run in the context of the first tab of the recording.
If you need to run in the context of another tab, add an HTML parameter to that step.

My new window is blocked. What can I do?

If your test involves opening of a new window ("pop-up") and it was blocked during running the test locally, the address bar will be marked Pop-ups blocked 

You will probably notice this blockage the first time you run the test. The browser will detect an automatic click and will block the new tab/window. You will need to enable the popup in your browser only in the first run.

Allow pop-ups through the address bar (while the test is running)

  1. On your computer, open Chrome.
  2. Find a page that has pop-ups blocked for you.
  3. In the address bar, click Pop-ups blocked .
  4. Click the link for the pop-up window you'd like to see.
  5. To always see pop-ups for the site, select Always show pop-ups from [site]  Done.

Allow pop-ups through Chrome settings:

  1. On your computer, open Chrome.
  2. At the top right, click More .
  3. Click Settings.
  4. At the bottom, click Show advanced settings.
  5. Under "Privacy," click Content settings.
  6. Under "Pop-ups," select an option: Allow all sites to show pop-ups

Note: If you run your tests in incognito mode, the browser will not remember that you have authorized Testim and will block the new tab/window in each ran. If you have multiple tabs/windows, we recommend not running in incognito mode.

To conclude

Any interaction will be recorded even if it was taken in a new tab, a new window or a new modal.
Needless to say, Testim also playbacks the scenario on the right window.

Did this answer your question?