Get Status of IRIS
Last updated
Was this helpful?
Last updated
Was this helpful?
This is a pre-built action which comes for the element captured from the Desktop AUT using IRIS method. It instructs the Avo Assure Client to fetch the current state of the object and store it in the Output Variable as Checked/Unchecked.
Input: <status when object scraped – 0/1>
Note: The input field that specifies the status when the object was scraped is:
0 – when the IRIS object is checked at the time of scrape
1 – When the IRIS object is unchecked at the time of scrape
Output: <Dynamic Variable>;<Dynamic Variable>(Optional)
In this scenario, in a desktop-based application, the goal is to verify whether the checkbox labelled Subscribe to Newsletter has been selected. The process involves checking the status of the checkbox that was previously captured using the IRIS method. In this context, the Get Status of IRIS keyword is used to retrieve the status of the checkbox that was captured earlier in the test.
1
The Action needs to retrieve the status of the captured checkbox
The Get Status of IRIS Action retrieves status and store it in the {result} output variable as Checked, which can be utilized for display or other purposes.