Im trying to check the status for each of the dates in my List Variable, and compare each status to the current status. I created a variable for current status by using the ‘Get Text’ activity and the variable is called Current.
For each item in Date, Get the corresponding status and compare with the current status. When I get the corresponding status, I used the ‘Get Text’ activity and indicated the first Status. The selector shows as “ctrl name=‘old_status’ role= ‘text’ idx=‘1’.”
But when i loop through all my dates, the status is showing as 1, even if some are 2’s. When i spy/highlight each status element, only the idx value changes. for example, the second date 201906, the selector is “ctrl name=‘old_status’ role= ‘text’ idx=‘2’”
I think my loop is not identifying the correct status for each date, and is only displaying the value of the 1st status,.