cancel
Showing results for 
Search instead for 
Did you mean: 

Navigate stage working in Object Studio, but not when run from Process Studio

RuthWilliams
Level 2

Hello!

I did find a similar question but there were no solutions, and the responses given didn't help me.

I'm working with a software application in which there is a popup that has a "yes" button which needs to be clicked. If I press enter twice manually the "yes" button is pressed. If I use global send keys to press "enter" twice it works in the object, but not when the object is called from process studio when I run the main process that calls the object. I am using "activate application" and have tried using both UIA and AA mode with "focus". I have tried changing the amount of time between steps, and I have tried keeping the keystrokes in separate steps and also putting them in the same step. I have tried using "tab" instead of enter. I have also tried to spy the "yes" button and use a navigate stage to press it. It's literally all working from object studio but NOT if I run it in process studio.

Any ideas? We are positively stumped.

Thank you!



------------------------------
Ruth Williams
------------------------------
4 REPLIES 4

Mukeshh_k
MVP

Hi @Ruth Williams : Just wanted to understand this if nothing has worked have you tried using the Global Mouse Click inside Navigate and Set the X, Y Coordinates of the element ? although this could be risky in terms of reliability but worth a try if you see the coordinates of the element same every time.

26116.png

Also - I had a similar scenario as this one - but for me sending two global mouse click centre worked ( refer ss below) - I used Activate and Focus in One navigate Stage and Two Global mouse click centre in the second navigate stage - for this to work for me I had to make sure the element must be quickly identified when performing these steps !

26117.png

------------------------------
Kindly up vote this as "Best Answer" if it adds value or resolves your query in anyway possible, happy to help.

Regards,

Mukesh Kumar - Senior Automation Developer

NHS, England, United Kingdom, GB
------------------------------

Regards,

Mukesh Kumar

Hi @Ruth Williams

This issue I have raised near to two years back. I have raised two ideas on the same but no hope it seems. Now there is no option to double click that is spied using UIA or AA which is much needed. The workaround that Mukesh suggested that works sometimes but not in all the scenarios. Sometime it works some time it does not.

https://community.blueprism.com/content/ideas/viewidea?IdeationKey=cadf530c-4e8f-425a-a5a8-1420fa9947ba

https://community.blueprism.com/content/ideas/viewidea?IdeationKey=35161167-62da-40e9-8286-c641387a8ed7



------------------------------
Amlan Sahoo
Senior RPA Consultant
WonderBotz
------------------------------
Regards,
Amlan Sahoo

I've tried both of your ideas and am still having the same issue - they work in object studio but not when I run the process from process studio. 😞 Thank you though!



------------------------------
Ruth Williams
------------------------------

Hi Ruth Williams, 

I have faced this issue in the past, I used the combination of selection 

In my first navigation stage  I used global send keys similar to what mukesh mentioned  in 2nd navigation stage I used focus + press button action. ( it worked 99% of the time.

I noticed this issue on internet explorer I found some thing interesting when researching on that,  the way bot closing  the browser  on previous run will impact the navigation stage here.

So basically before I launch the application I  just t open the browser instance instead of kill process I used close action or closed by spying x button. 



------------------------------
-----------------------
If I answered your query. Please mark it as the "Best Answer"

Harish M
Lead developer
America/New_York TX
------------------------------
----------------------- If I answered your query. Please mark it as the "Best Answer" [FirstName] [LastName] [Designation] [JobTitle] [City] [State] [Phone]