In the application inidcate the element which contains the required value and then in place of innertext use a variable and use that selector in check app state…
The variable needa to be assigned with the current value fromthw queue item
So the selector looks something like below
Eg: <webctrl tag='DIV' innertext='{{var}}' />
And assign var as in_Transactionitem.SpecificContent("Key").ToString
Now use the selector in check app state …if found you can continue else throw exception
do:
if:
condition:
in_Transactionitem.specificContent(“ColumnName”).tostring=currentrow(“columnName”).tostring
- log: “The value matches.”
else:
- throw: “The value does not match.”
Get Queue Item and assign its value to the variable “queueValue”
Extract values from the application and store them in a List(Of String) “applicationValues”
For Each “value” in “applicationValues”(in_Transactionitem.SpecificContent(“Key value in queue”).ToString=currentRow(“colName”).ToString)
If “value” equals “queueValue” Then
—> Throw an exception
Else
—>Proceed with other procedures