Embed presentation
Downloaded 16 times







![Create smart test data[ContdâŚ]
Create test data via database
or API
fast
Reliable](https://image.slidesharecdn.com/speedupyourtestsppt-140716013907-phpapp01/85/Speed-up-your-Tests-Devi-Sridharan-ThoughtWorks-8-320.jpg)
![Fan of xpaths??
To identify objects
Use direct attributes like
id,name
Avoid generic locators
like //table/tr[2]/td](https://image.slidesharecdn.com/speedupyourtestsppt-140716013907-phpapp01/85/Speed-up-your-Tests-Devi-Sridharan-ThoughtWorks-9-320.jpg)




To speed up tests, identify and isolate flaky tests, fix their root causes, and monitor them continuously. Tests can also be parallelized by running independent tests on multiple VMs simultaneously using tools like Selenium Grid. Break suites into focused suites like smoke and regression. Create smart test data programmatically via APIs or databases for reliability and speed. Use direct locators like IDs over generic XPaths. Add conditional waits instead of generic waits to tests. Unit testing is a shared responsibility between developers and testers.







![Create smart test data[ContdâŚ]
Create test data via database
or API
fast
Reliable](https://image.slidesharecdn.com/speedupyourtestsppt-140716013907-phpapp01/85/Speed-up-your-Tests-Devi-Sridharan-ThoughtWorks-8-320.jpg)
![Fan of xpaths??
To identify objects
Use direct attributes like
id,name
Avoid generic locators
like //table/tr[2]/td](https://image.slidesharecdn.com/speedupyourtestsppt-140716013907-phpapp01/85/Speed-up-your-Tests-Devi-Sridharan-ThoughtWorks-9-320.jpg)


