It is possible to instantiate Test Items?
SOLVED- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-22-2014
01:14 AM
07-22-2014
01:14 AM
It is possible to instantiate Test Items?
Hi, I have KeywordTest with some parameters. And I want to run maybe 800 different configuration for this test. So I create a script that fetch the parameters from an XML file to call the test. It work fine. The problem is that I have only 1 test for that. I want to be able to have 800 test results
I want to be able to add Test Items dynamically.
ex:
-1 Full test pass will instantiate the 800 Test items
-1 fast test pass will only sample 20 configuration
What is the best approach for that?
Thanks!
I want to be able to add Test Items dynamically.
ex:
-1 Full test pass will instantiate the 800 Test items
-1 fast test pass will only sample 20 configuration
What is the best approach for that?
Thanks!
Solved! Go to Solution.
2 REPLIES 2
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-22-2014
05:15 AM
07-22-2014
05:15 AM
We put large amounts of data in an Excel sheet and use DDT or DDL from there. You can choose how many records that the loop sees, so I would either use one sheet with 800 and call the test twice, once with All Records and once with records 1 - 20, or if I wanted a different mix for the 20 records, I would make a separate sheet with just those particular records.
I'm not sure how the XML as data works, but couldn't you make a smaller one for the 20 records and just call the two separately? Or do you need it to be a random number of choices out of the 800 every time?
Marsha_R
[Community Hero]
____
[Community Heroes] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Heroes]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Hero] signature is used with permission by SmartBear Software.
https://community.smartbear.com/t5/custom/page/page-id/hall-of-fame
I'm not sure how the XML as data works, but couldn't you make a smaller one for the 20 records and just call the two separately? Or do you need it to be a random number of choices out of the 800 every time?
Marsha_R
[Community Hero]
____
[Community Heroes] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Heroes]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Hero] signature is used with permission by SmartBear Software.
https://community.smartbear.com/t5/custom/page/page-id/hall-of-fame
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-22-2014
06:27 AM
07-22-2014
06:27 AM
I accept the answer by accident, it's possible to remove it please? 🙂
The probleme with DDT is that it's only 1 test. I need to create 800 unique test. And I'm not sure I can use DDT since I need custom logic in my XML.
The probleme with DDT is that it's only 1 test. I need to create 800 unique test. And I'm not sure I can use DDT since I need custom logic in my XML.
