I have a scenario where I need to view a pdf in adobe(when I click a button in website,it downloads the PDF and views in Adobe ), save this PDF and close Adobe. Then I have to repeat the same for other documents.
To achieve this, I tried below steps
Click a button in website and this opens a PDF in Adobe
In new xaml file - I’m using Use Application/browser activity with options: close - never, open - never
to save the PDF sending Ctrl+Shift+s using keyboard shortcuts Activity
Used Type into activity to type the filename
then sending keyboard shortcut enter
By following this process, process is not recognizing the type Into activity. So I placed the type into activity in new xaml file indicating adobe save as screen in Use application/browser activity with options: close - always, open - never. By doing so file is saving and the save as popup closes but not the adobe.
Any suggestions on how I can handle this scenario?
I was able to achieve what I’m trying if I create a new xaml and include type into activity for the file path and invoke this new xaml in the first xaml I created where I’m sending Ctrl+Shift+s.
But I’m not sure if this is the efficient way of handling.
Try type into activity without simulate property and check click before type property to true and empty field property to true…Just uncheck simulate…
Add 1 sec delay before type into…
What I understood is that when I use “Use Application” Activity for Adobe, pass in the controls Ctrl+Shift+s so that save as pop up appears. Here when I use the type into activity to find the target UI element which is “File name”, when the activity is tested the type into looking at wrong position. This is because position of target element is considered from the Abobe screen not starting from Save as popup.