BEST PRACTICE 1:
Selenium Best Practices
BEST PRACTICE 2:
All tests should be independent
BEST PRACTICE 3:
Make tests simpler instead of adding comments
BEST PRACTICE 4:
Take screenshots for failure investigation
BEST PRACTICE 5:
Use soft assertions if you need to make list of related checks on the same page
BEST PRACTICE 6:
Name your tests wisely
BEST PRACTICE 7:
Make your test automation framework portable
BEST PRACTICE 8:
Separate your tests from your test automation framework
BEST PRACTICE 9:
Do not run ALL tests across ALL target browsers
BEST PRACTICE 10:
Do not rely ONLY on UI test automation
BEST PRACTICE 11:
Use relative URLs
BEST PRACTICE 12:
Don't rely on specific driver implementation
BEST PRACTICE 13:
Do not use Magic values
BEST PRACTICE 14:
Avoid Thread.Sleep and use Wait instead
BEST PRACTICE 15:
Use PageObjects Pattern
- Become a Best practice hero.Help us to grow the catalogue of best practices.
Recently added best practices
Anonymous
flex-box
flex-box
Anonymous
flex-box
flex-box
Anonymous
a
a
Anonymous
hello
hello
LaceJaguar65
e
e
LaceJaguar65
e
e
LaceJaguar65
e
e
LaceJaguar65
e
e
LaceJaguar65
e
e
LaceJaguar65
e
e
LaceJaguar65
e
e
LaceJaguar65
e
e
LaceJaguar65
e
e
LaceJaguar65
e
e
LaceJaguar65
e
e
LaceJaguar65
e
e
LaceJaguar65
e
e
LaceJaguar65
e
e
LaceJaguar65
e
e
LaceJaguar65
e
e
LaceJaguar65
e
e
LaceJaguar65
e
e
LaceJaguar65
e
e
LaceJaguar65
e
e
LaceJaguar65
e
e