When I am clicking on Print option on Web page, the Print window appears in which I have select destination as Save as PDF but unfortunately these elements are not able to Spy. Please help…
I have select select Save as PDF and then click on Save option…
we wont get selectors in this window. please use click image activity instead of click. it will work. please mark as solution if you found this helpful
You can use “Find image” with the “Destination” image and store the result in a variable.
Right after use the “click” activity and set the OffsetX and OffsetY like that:
(maybe you need to change the number 100)
Doing it you are creating a img anchor or something like that.
It will open the printers options. Then you just use “Click image” with “Microsoft Print to PDF” image to select it.
And by the end, anther “Click image” with the print button.
NOTE: maybe the destination image can be quite similar to comething in the page and the robot might get the wrong reference. I would suggest you to use this img like that:
Also getting “Print” and “Pages”, so there is no chance of mistake, and once “Destination” is in the middle you will get the correct coordinates for the second step.
use multiple click image. first time when you click drop down will come. on second click image select Save as PDF option. since background is a kind of black and white it works always. please mark it as a solution if found useful.
Please find the steps.If you have any issues let me know
1)Take 6 send hotkeys use sheft+tab(Every web or windows app having Tab index for elements)
2)Take 1 send hot key use enter(Tab index will be Destination)
3)Take 1 send key use down(it will select dropdown value as save pdf)
4)Take 1 send key use enter(it will show dropdown as save pdf)
5)All send hotkey properties sendwindowsmessage=true and waitforready=interactive