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

How can I run 2 tests with shared session?

2 Answers 87 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Mithun
Top achievements
Rank 1
Mithun asked on 02 Jun 2011, 10:46 AM
Hi People!
I am starter in WEB UI telerik test studio, so may be asking a very basic question. Would love to get some idea about the way I can use test studio in following scenario.

I have a test (L1) to automate login for site.
Now after logged in I have to run  2 separate test. T1, T2 (without logged in user T1 T2 cannot be run)
What I want to do is make a test list so that at first I will use the
>L1 > T1 > T2

Problem if i make a test list in this sequence after L1 execution, T1 is started as new and fails because it has lost the session created by L1.
Can u please help me?

2 Answers, 1 is accepted

Sort by
0
Accepted
Anthony
Telerik team
answered on 02 Jun 2011, 03:32 PM
Hello Mithun,

Thank you for evaluating Telerik Test Studio. The Test as Step feature will work for your scenario.

Create a parent test and insert 3 Test as Steps. The first will call L1, the second will call T1, and the third will call T2.

If you have further questions, please contact us again.

Regards,
Anthony
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get now >>

0
Mithun
Top achievements
Rank 1
answered on 03 Jun 2011, 09:53 AM
Thanx got the idea. :)
Tags
General Discussions
Asked by
Mithun
Top achievements
Rank 1
Answers by
Anthony
Telerik team
Mithun
Top achievements
Rank 1
Share this question
or