cancel
Showing results for 
Search instead for 
Did you mean: 

Action working in Object Studio but not when run in Process Studio

VanessaFelix3
Level 3
I'm working with a desktop application. On a particular screen I need to select the 1st row of data and right click. This brings up a sub menu where I need to arrow down 3 times then mouse click or hit enter to select the item "Complete". This brings up another screen indicating that the actions were successful. So to summarize select row - arrow down 3 times then hit enter.

I'm using region mode to select the row. These are the nav stage config: Global Send Keys are arrowing down and Send Key Events is hitting enter.





This works when run from Object studio but when I run this in Process studio, it goes through the motions of down-down -enter but does not click enter. If I step over the action in Process studio it works.  

I've tried adjusting the wait times, I've added sleep to the process, I've broken out the one nav stage to 3 separate stages - nothing works.

Has anyone seen this type of issue before? How do I resolve?
4 REPLIES 4

HarpreetKaur
Level 7
Hi Vanessa,

Instead of using Region Mode, can you try spying the same element in AA or UI Mode.
Then use 'Focus' in your navigation stage for that element followed by your Global Send Keys for down and then enter.
PS - Also don't forget to spy the entire window in Win32 mode and add the Activate Application stage before all these steps. that is a must.
hope this helps.

VanessaFelix3
Level 3
I can only use Region Mode here. I have the steps in the navigate stage as Activate Application to the Region window, Global Mouse Click Center (right click) to the element, Global Send Keys (down) to the root, Global Send Keys (enter) to the root and a 0.5 pause after each step.

This configuration works when run from Object studio. When run from Process studio, it goes through the motions of rt click - down-down -enter but does not actually click enter since the expected next screen does not appear.

If I step over the action from process studio it executes as expected. So it only works when run from object studio or stepping over the action in process studio but not if run from Process studio.

My observation is that it works when the mouse pointer is not on the screen as in when I am stepping over the action in Process studio but when the process is running the mouse pointer remains on the screen and the navigate stage step does not hit enter.

Any ideas?

Try increasing pause time in between each step make it 2-3 seconds instead of 0.5. If it doesn't work then don't use single navigate stage for multiple sendkeys try using multiple navigate.
Regards,
Amlan Sahoo

EmersonF
MVP
I do not know if it may be your case, but I have faced some situations like this and it was just because I was not with the active screen, I decided well adding a stage of "Active application" and soon after continuing the flow and it worked well.
Sr Cons at Avanade Brazil