Practing on ACME, I already Extract the table on Work Items, already Filtered to WI5/Open items and now I want to click in the action button to see whats inside but only in the WI5/Open rows. I am trying to use the click activity inside the For Each Row, and my Sequence is correecly identifiying the page that the WI5 is (exemple, the first WI5 is only on page 3). But when the automation get in Page 3 it clicks…this first item on the table and not the WI5 one. I tryied everything, even Dynamic Selector. The With the Debug I saw the the variable is correct and have the correct scope (the For Each Row)
But, regardless of that error, I imagine that is because the str_WIIDToFInd is empity right now and when it reaches it, it wont be empity no more.
I dont realy know what to do. I just want the click to click only the rows that have WI5 and Open. And yes, the click is on the loop (the proof is that it identifies the correct page)
When using variables in the selector it will typically say that it cant find it because the variable is dynamic and throws off the value. To test it open, temporarily insert the value and check it can find it using the selector window.
I would look at updating the selector to include a “WI5” in it. You can add this by opening UiExplorer and then looking at the selector hierarchy and look 2-3 levels above the bottom selector. Find something that includes the text “WI5”
Step 1 : Extract all tabular data
Step 2 : Filter WI5/Open items
Step 3 : Use For each row data table row
Step 4 : Under for each data row activity body you can assign variable
You can use clicking logic this is possible but not proper & relevant logic because just imagine you need to click work items 12345. then need to required this WIID front end page, if this WIID is available in another page but bot thrown an error because can’t find WIID. Then you can exception handling if WIID not found in front end page then bot can check each and every slide page. If WIID find then bot can click.
For this solution you need to handle exception & execution time also increase, because bot finding specific WIID and also Coding is complicate.