What UiPath activity will recognize elements after Ctrl+p in Google chrome

uiautomation
chrome
studio
issue

#1

Hello UiPath Experts, I am looking for small help.
When we perform Send Key activity Ctrl+P then google chrome will change into print mode.
On this Print mode page we have “Save”, “Cancel” , “Change” etc… elements available. On this print mode page what activity will recognize these objects. I tried several ways with all web and OCR activity but not working as i expected.

looking forward for workaround. Your inputs will be greatly appreciated in advance. :smile:


#2

@rkelchuri use click activity in on object you needs to use


#3

Tried… not working! :slight_smile: Perhaps i am looking to verify object on this print page.


#4

@rkelchuri which object you needs to print


#5

I am not printing but i am going to save this page as PDF. but some times SendKey activity is failing. So, i wanted to put a check point to make sure SendKey was successful. To make check point i wanted to verify Save, cancel buttons on this print page as a checkpoint. if i am able to verify any object exits or available as a check point then i will create a loop and it will use SekKey until it get success. once object found on this print page then loop exit. Team thoughts are welcome on this.


#6

@rkelchuri,
This is know issue with chrome window.
However workaround would be click image activity.
I tried .It’s working as expected just make sure to remove the selector(activity not suppose to capture selector but it is :stuck_out_tongue: )


#7

Hello, is there any update on this issue?


#8

Yes, i found solutions for this and closed long back…

I created a check point on the save file window. If Save file window not found it will loop until it found.
So, if 1st time missed Ctrl+P then it will show in the 2nd iteration if not it will show in the 3rd iteration but robot never loose the grip on the flow until it appear.

This is how i managed and it’s 100% working fine with out any issues so for… :slight_smile:


#9

Hi @rkelchuri, thank you for your response.

I am having problem to click Print button on Chrome modal (after sending Ctrl-P, the print modal showed up, then I need to click the Print button on it, but UiPath seems cannot recognize the button). I thought it was the same problem with yours, was I wrong?


#10

Don’t try to click… just use Page title as a selector for Send Key activity and send “Enter” command.
It will work !


#11

I see! Got it done, thank you!
PS. So it means, the issue is not resolved by now. Noted :wink: