![]() |
| |||||||
Automation Anywhere Post messages and questions related to Automation Software here. |
![]() |
| | LinkBack | Thread Tools | Display Modes |
| |||
|
Hello, I have created a task that goes to multiple web pages and pulls data. The problem is when navigating through the webpages it has pop-ups where I pull the data from. Since its a pop-up and not a page that AA opened the "Close Browser" Command does not work on the pop-up window. This normally would't be an issue, I would just use the "Close Window" Command. But for some reason since those windows are not closed properly its causing none of the Web Control Commands to work on the next webpage I goto to pull data. Is there any work around to this problem? Thanks, Chris |
| |||
|
Hello Christopher, You can try this, . Open browser. . Navigate to the page having list of links. . Loop for all the links. . Click on link to open the pop-up window. . Extract the data from pop-up window. . End Loop . Close pop-up window . Close browser Close the pop-up window after you extracted data from all the links on webpage. The pop-up window of next link will override on existing pop-up window. If you could upload your task, we would be able to amend the task and resolve the issue. Hope that helps. |
| |||
|
Chris, I'm trying to do something similar to what you were doing here I think. I could use some input if you have a moment. I open one browser window then click on something that opens a pop up... then I want to get data from the pop up, but I can't. I am trying to use the extract data command but it won't pull from the pop up, it always wants to look at the original browser window I opened up... even though I have specific the URL of the pop-up in the extract data command. Any input would be great, thanks! Tyler |
| |||
|
Yes, I was replying to Chris. You usually can launch a browser with a specific URL and then extract data from another as long as it within the same browser window. With a Pop-Up it can be a little tricky. A few options: 1 - Use CTRL-A, CTRL-C via 'insert keystrokes' to save data to Clipboard. Then use 'string manipulation' to extract the data you need. 2 - If you need to extract data from a table, consider copying and pasting into Excel, then looping through the Excel data. Alternatively, you can extract the source code, save as a local .html file, launch the browser and extract data via looping through an HTML table. If you want to get a bit more exotic, you can write the data to a DB, then loop through an SQL dataset. 3 - Obtain the actual URL of the pop-up and see if it can be launched directly so you can record your task. 4 - If pop-up always goes to the same area on the screen, try using mouse movements. 5 - If you have AA Enterprise with Integration Pack, you can try OCR to obtain your data (again, assuming the data you need is in the same place. Depending on the actual URL, there are probably several other methods. |
| |||
|
Hello, 'Extract Data' or 'Extract Table' command can extract the data from pop-up window. Try inserting enough Delay after the action that opens the pop-up window. If you are still getting the error while running the task then please upload your task for us to have a look and provide the solution. Hope that helps. |
![]() |
| Thread Tools | |
| Display Modes | |
| |