cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to match any windows with the query terms

AhmedMushrif
Level 2

Hello dear colleagues,

my current exercise is to fill a data from the Excel sheet to Centrix Data Solution in row by row way.
So it can finish the first row and confirmed it, but once it goes to the next row it showed me this message :

["Internal : Failed to perform step 1 in Navigate Stage 'Select Quantity' on page 'New Order Page - Input Order' - Unable to match any windows with the query terms"]

With many thanks in advance.
Ahmed.



------------------------------
Ahmed Mushrif
------------------------------
2 REPLIES 2

DaveMorris
Level 14
That looks like an error message that occurs when using UIA mode for an element. So, one thing to note is that what it means by "unable to match any windows" probably really means "unable to match any elements using UIA mode". I don't know if that helps at all, but it seemed worth mentioning.

If you're saying it works on the first row but not on subsequent, then app either hasn't returned to the starting page/screen/state before beginning the second row OR your app modeller element attributes aren't flexible enough to work with the subsequent rows. Could you screenshot or describe the app? And it would also be helpful to see the app modeller attributes you're using. Sort by the Match column so all the selected attributes show next to each other.

Another possibility here is that maybe you've designed everything perfectly and the only issue is a lack of a wait stage in your loop (assuming you have a loop somewhere). Ideally you'd use a conditional wait that waits for the target element to exist before trying to interact with it. It could be that between page loads, blue prism is trying to work with the element before it has reloaded in order to handle the second row.

It's hard for me to guess what scenario you are encountering without seeing the app or your element attributes.

------------------------------
Dave Morris
3Ci at Southern Company
Atlanta, GA
------------------------------
Dave Morris 3Ci at Southern Company Atlanta, GA

Hi Ahmed

I had a similar issue with a SAP application I inserted the first row but the second row had slightly different elements due to the row numbering. I resolved this by first counting the number of rows from my collection, loop the collection and using dynamic elements to adjust the row number with each loop. It counts each loop and that count is used for the row number, attached is a screenshot, there is some exception handling in here which may not be relevant to you as it was related to the number of rows on the screen. Hope this helps.

20561.png

20562.png

------------------------------
Michael ONeil
Technical Lead developer
NTTData
Europe/London
------------------------------