I have a test to log in to our application. I have another test that adds a new record into the app. When I combine these 2 tests in a list, the first one logs in sucessfully, but then the second test then opens a new browser window. This second window obviously doesn't have the app loaded and so I get a failure for the run. I will get a successful run if I call the login script from within the second one, but my goal was to have a bunch of small tests that I could string together however I wanted. I don't want to have to login, do one test, and log out. Then log back in, do another test, and log out.
How do I make sequential test scripts recognize the browser instance that's currently open/running?
Thanks,
Steve
How do I make sequential test scripts recognize the browser instance that's currently open/running?
Thanks,
Steve