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

Taking the random data in Data Driven Test

3 Answers 31 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Avinash
Top achievements
Rank 1
Avinash asked on 15 Jan 2013, 08:05 AM
I have created data driven test case with XML, in my XML file i have multiple rows when i execute this test case it was executing the test n times (equal to the no of rows in XML) but i want this test case to execute only once by taking one set of data randomly from XML File for each time.
 can you help me on the same?



3 Answers, 1 is accepted

Sort by
0
Boyan Boev
Telerik team
answered on 15 Jan 2013, 09:50 AM
Hello Avinash,

Yes this is possible.

Please check out this article in order to learn how to achieve this functionality. 

There is a video at the bottom of the article also.

Let me know if you need additional help.

All the best,
Boyan Boev
the Telerik team
Quickly become an expert in Test Studio, check out our new training sessions!
Test Studio Trainings
0
Avinash
Top achievements
Rank 1
answered on 18 Jan 2013, 05:26 AM
Thanks for the help Boyan, It worked for me. According to the article we don't need to add a Data Source to the test because we are simply accessing Excel file through the code.
0
Boyan Boev
Telerik team
answered on 18 Jan 2013, 10:44 AM
Hello Avinash,

I am happy to hear it worked for you.

Should you have any additional questions please do not hesitate to contact us.

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