Tuesday

Tips for faster test automation - Selenium


Here is an excellent article on how we can have efficient test scripts in the selenium world


  1. Use few and fast locators
  2. Use only Explicit waits
  3. Write good atomic tests
  4. Use the Chrome Driver
  5. Use Headless browser drivers
  6. Re-use the browser instance
  7. Run scripts in parallel
  8. Use HTTP-parse libraries like JSoup
  9. Pre-populate cookies
  10. Do not load images
Read the entire article here:

Source: http://www.beacon.by/test-automation-for-manual-testers/10-tips-for-faster-selenium-scripts#/4

No comments:

Post a Comment