Forum Discussion

Wyatt7989's avatar
Wyatt7989
Occasional Contributor
20 days ago

Is it possible to add Device Info from a remote browser to the Log Folder?

Hello All!

We have tests running across multiple devices in a remote browser loop.  Within that remote browser loop, we have a Data-Driven loop as we need to run the test with a few iterations of data before moving onto the next device/browser combination.  The Data loop has "Append Log Folder" which pulls in a test condition variable from the data table.

The Test Execution Summary shows me the browser that was used, but we'd also like to be able to see which device was used.

Is this possible?

Many Thanks in Advance!

  • Hello!

    It's great that you're running tests across multiple devices and using a data-driven loop for iterations! To see which device was used in addition to the browser, you can modify your test setup to include device information in the log. Add a step in your test script to capture and log the device information along with the browser details by extracting device details from the environment setup and appending them to the log file. If your testing framework supports environment variables, define a variable for the device and include it in the log output. Alternatively, create a custom logging function that combines browser and device information and appends it to the log folder. This will help ensure that your Test Execution Summary clearly shows both browser and device information.