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

Randomly run the test in the list

3 Answers 22 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Lin
Top achievements
Rank 1
Lin asked on 18 Mar 2012, 11:22 AM
Hi.
Is that possible to run the tests in the list randomly everytime without modify the order manually?
Thanks in advance

3 Answers, 1 is accepted

Sort by
0
Anthony
Telerik team
answered on 19 Mar 2012, 05:39 PM
Hello Lin,

The closest we currently offer is Dynamic Test Lists. Can you share what automation challenge you're trying to solve with this approach?

Regards,
Anthony
the Telerik team
Quickly become an expert in Test Studio, check out our new training sessions!
Test Studio Trainings
0
Lin
Top achievements
Rank 1
answered on 19 Mar 2012, 05:48 PM
Hei.
Sure. I have created several tests and added it in to a Test List. Every time I run the list, i want the tests inside can be ran in a different order. Like first run, test 1,test2,test3,test4. second run,test2,test4,test1,test3. Order can be changed automaticlly.
0
Anthony
Telerik team
answered on 19 Mar 2012, 08:21 PM
Hello Lin,

I understand what you're trying to accomplish (random test order within test list), but I'm more interested in why you'd like to do it. What automation problem do you currently have that will be solved by randomizing the test order within a list?

If tests are dependent on one another, then the order is typically fixed and the RecycleBrowser test list setting is set to True. If tests are independent, then their order typically isn't important and it's unclear to us the advantage gained by randomizing their order.

Regards,
Anthony
the Telerik team
Quickly become an expert in Test Studio, check out our new training sessions!
Test Studio Trainings
Tags
General Discussions
Asked by
Lin
Top achievements
Rank 1
Answers by
Anthony
Telerik team
Lin
Top achievements
Rank 1
Share this question
or