This is a migrated thread and some comments may be shown as answers.

Each test uses it's own browser instance?

2 Answers 82 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Steven
Top achievements
Rank 1
Steven asked on 22 Jul 2011, 03:09 PM
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

2 Answers, 1 is accepted

Sort by
0
Anthony
Telerik team
answered on 22 Jul 2011, 04:13 PM
Hello Steven,

Thank you for evaluating Test Studio. It sounds like you're after our "RecycleBrowser" feature:

Under Test List Settings, click the "Web" tab. Under the "Browser" heading, check "RecycleBrowser."

Best wishes,
Anthony
the Telerik team
Register today for a live 'What's New in Test Studio R1 2011 SP2' event on Tuesday, July 19 at 2pm EST!

Have you looked at the new Online User Guide for Telerik Test Studio?
0
Steven
Top achievements
Rank 1
answered on 26 Jul 2011, 02:58 PM
Thank you, Anthony.
That was it.  Tests are flowing smoothly now.
Tags
General Discussions
Asked by
Steven
Top achievements
Rank 1
Answers by
Anthony
Telerik team
Steven
Top achievements
Rank 1
Share this question
or