Report API in HyperView for adding item "Loop Results"

Jouher_20819
Jouher_20819 Altair Community Member
edited April 2021 in Community Q&A

Hi Team,

I am using Report API's for capturing pages and windows <set a [ardi::item::module create -name "My Module" -config "CapturePagesAndWindows"]>

But for "Loop Result" option in Hyperview, the API is not working. I have tried the code below

set a [ardi::item::module create -name "My Module" -config "LoopResults"]

Even, same issue for option "Matrix Browser Script". Please help.

Answers

  • Sandesh Gandhi_20689
    Sandesh Gandhi_20689
    Altair Employee
    edited April 2021

    Hi Jouher,

    To get to the loop, please try

    set a [ardi::item::module create -name "My Module" -config "ComponentLoadcaseLoop"]

     

    For matrix browser script, I would recommend that instead of using the module, use the general table object and select the source as matrix browser script.

     

    We will add these options in the help documentation soon.

    Thank you!

  • Jouher_20819
    Jouher_20819 Altair Community Member
    edited April 2021

    @Sandesh Gandhi @Sandesh Gandhi 

    Hi Sandesh,

    I have been using below report director APIs to capture session and pages:

    set ModuleId [ardi::item::module create -name "CapturePagesAndWindows" -config "CapturePagesAndWindows"]


    ::ardi::item set -id $ModuleId  -hw_page "Page 2/Window 1" --> issue in finding API

     

    Facing issue in setting "Select pages and windows" to "All" option. Please help.