![]() |
| |||||||
Automation Anywhere Server & Enterprise Post messages and questions related to Automation Anywhere Server or Automation Anywhere Enterprise here. |
![]() |
| | LinkBack | Thread Tools | Display Modes |
| |||
|
Hello, I'm looking for the best way to check about 40 websites for a present username and password boxes. They are both in one table and very similar across all the sites. These options go away if the back end application is not running and I want to alert when that happens. So at first I had different tasks for each site. So Task 1 we'll call it WEBSITE1 opens the first site. Checks for the table. If it exists, then it goes on to the second website task we'll call it WEBSITE2. If the table does not exist, then it will take a snapshot, log to file, and call upon a second Task (WEBSITE1_Check2) which will wait 60 seconds, open the site again and verify its indeed down before running the third task (WEBSITE1_SendEmail) which is sending out customized email that contains the link to the site and the screen shot attached. Once all the sites are done, the server waits a minute and starts the process again. That worked fine for a while, but now that we're reaching 40 sites, and because every task spawns a dedicated process, when we get to about 35 to 38 sites the task just hangs and does not continue probably due to the amount of tasks running. There has to be a cleaner way to achieve the above without spawning a new process and causing it to stop working. If anybody can please give me some instructions and ideas on how to best accomplish this. Sample of the task looks like: 1 Begin Error Handling; Action: Continue; Options: Take Snapshot, Run Task, Log to File 2 Extract table from 'http://WEBSITE1/Something/' website's '5' table 3 End Error Handling 4 Maximize Window: "Currently Active Window" 5 Run Task "C:\Data\WEBSITE2.atmn" @Repeat : Do Not Repeat @Speed : Normal Speed Thank You |
| |||
|
Hello, This is the expected behavior, web recorder tasks opens a new browser instance. We can close the browser instance at the end of every task to reduce the process overload. Is it possible for you to send ur task so that we can look into it and suggest solution(s)? You can locate your task by selecting your task from Task List, right clicking that particular task and selecting 'Locate on disk' from context menu. Otherwise, you can also send text format of task. For that, open your task in a Task Editor, go to Tools->Save as text file and send this text file. It would help us investigate further. |
| |||
|
Hello, I'm already closing the browser every 5 or so. The issue is not the browser, its the automation tasks where it spawns a new process for every task. I did provide you the text version of a sample job in the original posting. Thank You |
| |||
|
Hello, We suggest using 'Open Browser' command to open single instance of browser and then perform actions like extract table or extract data and then at the end of task close the browser using 'Close Browser' command. If we dont open the browser using 'Open Browser' command every web recorder command will spawn a new browser instance. Hope this helps. |
| |||
|
hello, I'm trying to have everything in one task. I'm following what you're suggesting however I cannot get multiple error handling to work within the same task. Below is a simple example of what I'm trying to do. Open a site. Check Table. If its there, then move on. Otherwise take a snapshot with a unique file name and record to file txt log file. Move on to next site. Do the same thing etc.. however If there is an issue with one site, it only takes on screenshot. It completely ignores the other error handling. How do I get multiple error handling to work on the same task? Any help is appreciated: 1 Begin Error Handling; Action: Continue; Options: Take Snapshot, Log to File 2 Open "https://site1/whatever" 3 Maximize Window: "Currently Active Window" 4 Extract table from 'https://site1/whatever' website's '5' table 5 Close Browser 6 End Error Handling 7 Begin Error Handling; Action: Continue; Options: Take Snapshot 8 Comment: Please enter the commands to handle errors. 9 Open "https://site2/whatever" 10 Maximize Window: "Currently Active Window" 11 Extract table from 'https://site2/whatever' website's '8' table 12 Comment: Please enter the commands to handle errors. 13 Close Browser 14 End Error Handling 15 Delay: (10000 ms) |
| |||
|
Hello, Is it possible for you to provide URL's mentioned in text format so we can create sample task at our end and upload? Otherwise, please upload your task so we can have a look and amend it as per the requirement. You can locate your task by selecting your task from Task List, right clicking that particular task and selecting 'Locate on disk' from context menu. It would help us investigate further. |
| |||
|
I do not want to provide the sites that I need checked as they are company websites. If you're looking for an example, then any site that will let you do a simple table check will do. Nothing special about the sites. If we're unable to do this, we're looking at using another solution. Thank You |
| |||
|
Hello, We did test with different website and it works well. Attached is the sample task we tested with. Try using 'Navigate Url' command inplace of 'Open Browser' command. Please let us know how it goes. Can you please provide your number and best time to contact by submitting a support case so that we can actually see the issue and resolve it quickly. Automation Anywhere - Open A Support Case Alternatively, you can reach us at 1-888-484-3535 x 3. |
![]() |
| Thread Tools | |
| Display Modes | |
| |