Forum Discussion

Rio_Intrepid's avatar
Rio_Intrepid
Frequent Visitor
4 years ago
Solved

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

  • Hi,

     

    Another option is to consider the aqTestCase object.

     

2 Replies

  • ApplePen's avatar
    ApplePen
    Community Leader

    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.

     

    • AlexKaras's avatar
      AlexKaras
      Champion Level 3

      Hi,

       

      Another option is to consider the aqTestCase object.