cancel
Showing results for 
Search instead for 
Did you mean: 

Creating TestItem from script

SOLVED
Rio_Intrepid
Frequent Visitor

Creating TestItem from script

The software I am testing has a batch language for some visualisation settings. Where 1 File specifies how the application should create the view of data.

Currently I have a script that iterates over a CSV that details the location of these files, and the corresponding stored region/image to compare it to, in order to evaluate failure/success. This loop is 40 long but currently it reports as a single Test Item "visual_loop" with 40 checkpoints.

 

I would prefer to have this as 40 separate Test Items, can I script this process of Test Item Creation?

 

Cheers

1 ACCEPTED SOLUTION

Accepted Solutions
AlexKaras
Community Hero

Re: Creating TestItem from script

Hi,

 

Another option is to consider the aqTestCase object.

 

Regards,
  /Alex [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
================================

View solution in original post

2 REPLIES 2
ApplePen
Contributor

Re: Creating TestItem from script

To separate the test items is to look more clearly in log ?

If just want to look more clearly, the simple way is to create folder in script.

You could check the separate result as each loop in the log.

 

1.JPG

AlexKaras
Community Hero

Re: Creating TestItem from script

Hi,

 

Another option is to consider the aqTestCase object.

 

Regards,
  /Alex [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
================================

View solution in original post

New Here?
Join us and watch the welcome video:
Announcements