Skip to main content
improved question
Link
Bharat Mane
  • 6.8k
  • 11
  • 41
  • 69
Tweeted twitter.com/#!/StackSQA/status/216977895514578944
Source Link
A.J
  • 793
  • 3
  • 7
  • 19

How to test the test scripts?

Once an automation test is created, how do I test it and make sure the test does what its supposed to do? I can easily test the scenarios where test passes, but how to go about the ones that fails due to issues in site? Issues such as - an element missing, click not working etc. All I could think was to mock the HTML to simulate the condition to test and run the test in that local html.

Does any one else have better idea?