- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
21-01-21 12:10 PM
i've a question.. I need to Save a document from Internet explorer, my issue is: how can i check when the popup is appeared?
I have the first object with "WINDOWS TITLE 1", then, when i push download button another page is opened with another title "WINDOWS TITLE 2" where it says "download will be available in a moment.. " then this same page modify his title in "WINDOWS TITLE 3" with the windows popup (and that is another object to interact with it).
Now, how can i check for popup exist if i'm not able to attach that page until the popup showing? I'm not able to pick the popup without attach this page.
Thanks in advance
------------------------------
Vrat Himbo
------------------------------
Answered! Go to Answer.
Helpful Answers
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
21-01-21 04:23 PM
I know that tool bar well!
You may have different options available to me as the later versions of surface automation (6.3 onwards I believe) should handle this well.
But I spied the down arrow button next to save (I think in AA), then used GSK directly to the button to press down and then enter. This resulted in the document being opened and saved. You can use the same environment action to check when it's finished opening, also a good idea to read the document name from the tool bar for an input (some calcs will be needed to chop it up).
This is from memory and unfortunately I don't access to it anymore, so some details may be a little off.
Let me know how it goes.
Thanks
Ben
------------------------------
Ben Lyons
Product Consultant
Blue Prism
UK
------------------------------
Principal Product Specialist - Decipher
SS&C Blue Prism
UK based
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
21-01-21 02:06 PM
------------------------------
Nicholas Zejdlik
RPA Developer
------------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
21-01-21 02:15 PM
maybe I explained myself wrong, my problem it's not to attach the popup but to put a wait stage on it, consider that when i push "Download BTN" iexplore open a new page with a different window title (Window title 2) and only after a few minutes it redirect to the same page but with different window title (Window title 3) so how can i check if the popup is shown?
I thought to loop the attach of the window title 3 until the attach is done with 30 retry, for example, but I was looking for opinions.
Thanks
------------------------------
Vrat Himbo
------------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
21-01-21 02:33 PM
I've run into a similar situation when launching an Oracle application through IE, as it would take a various amount of time for the Oracle window to appear. The best solution I came up with was creating an attach page which would attempt to attach, and if unsuccessful it would hit a recover stage, which I then resumed and looped back to attach. I had a max wait time set up so if it didn't attach after so many seconds, it would stop looping.
------------------------------
Nicholas Zejdlik
RPA Developer
------------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
21-01-21 02:43 PM
Have you tried using the Environment Utility action called "Wait For Process Window"? This can be used if you know the process name "iexplore" and the Window title.
Thanks
Ben
------------------------------
Ben Lyons
Product Consultant
Blue Prism
UK
------------------------------
Principal Product Specialist - Decipher
SS&C Blue Prism
UK based
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
21-01-21 04:05 PM
i've tried and it works! But unfortunately sometimes this "landing page" has the same windows title after i've pressed "download" for some seconds. So it attach this page before it is loaded, how can i fix it? With a fixed timeout?
Moreover i've a problem to interact with this i.e. bar
I've tried to put in Navigate stage "Activate application" in win32 mode, then GSK "%(N)", "{TAB}", "{UP}", "{DOWN}", "{ENTER}" but it ends to url bar.
Alternatively i've tried UIA & AA Mode but i'm not able to do the second click on "SAVE AS..".
someone has already had to do with it?
Thanks in advance
------------------------------
Vrat Himbo
------------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
21-01-21 04:23 PM
I know that tool bar well!
You may have different options available to me as the later versions of surface automation (6.3 onwards I believe) should handle this well.
But I spied the down arrow button next to save (I think in AA), then used GSK directly to the button to press down and then enter. This resulted in the document being opened and saved. You can use the same environment action to check when it's finished opening, also a good idea to read the document name from the tool bar for an input (some calcs will be needed to chop it up).
This is from memory and unfortunately I don't access to it anymore, so some details may be a little off.
Let me know how it goes.
Thanks
Ben
------------------------------
Ben Lyons
Product Consultant
Blue Prism
UK
------------------------------
Principal Product Specialist - Decipher
SS&C Blue Prism
UK based
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
22-01-21 08:35 AM
the proposed solution works!!! 🙂
When you say "use the same action to check when it's finished opening", what exactly do you mean?
And i create a new object to interact with this bar, and another one for Save As popup, since it will have to be recalled by different objects, it can work?
Thanks a lot
------------------------------
Vrat Himbo
------------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
22-01-21 09:11 AM
Great work!
I mean use the utility action to check the process window is open, for the document you're opening. The one I used was opening an Excel document and it could take quite a while. So using the wait for process window action was really helpful, so I knew when I could attach to it.
You should be fine to have it in a separate object.
Thanks
------------------------------
Ben Lyons
Product Consultant
Blue Prism
UK
------------------------------
Principal Product Specialist - Decipher
SS&C Blue Prism
UK based
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
22-01-21 09:59 AM
one last thing if I can. If I wanted to pass the path where to download my file (eg. C://Program files/Rpa Folder/"File Name") if i pass the complete file path (with .xlsx at the end) it always downloads me on download folder, how can i pass the exact file path folder?
Thanks again
------------------------------
Vrat Himbo
------------------------------
