Cross Browser Testing and Runtime

Nishant Singh
1 min readFeb 21, 2018

--

This is the seventh chapter in the 7 part series : Practical Guide to Test Automation.

Watir supports all the leading browsers. The project is configured to allow selecting browser from command line (once driver for browser is added). Also the project supports running chrome in emulator mode to test app on mobile, tablet browser screens.

The app also allows implementing the pages separately for mobile, desktop and tablets. Read runtime commands for more details.

Runtime Options

rake [env=<env-name> | tags=<@tag1,@tag2> | device=<device-name> | pages=<path/to/pages> | data_suite=<name> | url=<url> | report_file=<path> | client=<device&browser> | users=<profiles-name>]

Examples

--

--