APPENDIX C

Sauce Labs Code Examples

The manually written test scripts for Sauce Labs are available below. The first executes a simple test that opens the website and verifies its title in various different environments. The purpose of this test was to explore parallelization and gain familiarity with the tool. The second test script performs and verifies the basic functionality of the system. This test was only run in a single environment, but could easily be expanded to more. The script was limited to save testing minutes, especially in the Mac environments, where fewer minutes are provided each month.

Parallelization Test: WebDriverTest.java

Images

Images

Images

Images

Functionality Test: TodoTest.java

Images

Images

Images

Images

Images

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.142.199.191