![]() |
| |||||||
Automation Anywhere Post messages and questions related to Automation Software here. |
![]() |
| | LinkBack | Thread Tools | Display Modes |
| |||
|
I have a script that goes to a website, logs in, checks for orders, does what it needs to do, and then logs off. It closes the browser and then logs in as a different user to check for orders. The first loop of the script runs fine, and then on the second loop, AA throws a message that it cannot find the login link on the page. Any help with this would be appreciated. Thanks.
|
| |||
|
Hello, We looked into your task and we suggest using 'Manage Web Controls' command of Web Recorder to click on log out link. It is more reliable also it will wait until you are completely logged out and then will perform the subsequent actions in the task. In addition, we suggest opening the website once before you start the loop and close the browser after you end the loop. That would increase the speed of your task and will eliminate the performance issues. We have amended the task for your convenience. Please copy it under location, 'C:\...\My Documents\Automation Anywhere\Automation Anywhere\My Tasks' folder. Hope that helps. |
| |||
|
While it does loop now, there are a few issues now that did not happen previously: 1. It does loop, however, it is only using the first user in my list variable "Users" and I need it to loop through those users. 2. There is some odd behavior. I Click on the "???" link once and it opens two windows, which makes it tough, as sometimes it closes the second one, and can't read the first one, or it won't close out of either of the windows, which on the second loop will throw an error message that someone else already has this session. I changed all my "left click" events to Window Control events as you suggested. I don't know if this is what is causing it, but things that worked before, now no longer work. |
| |||
|
Hello, Regarding your queries, 1) Use Loop for List Variable command to repeat the actions for all the items in the list variable, Users. You can access the list variable values within the loop; for example, the first time the loop runs you can get the first value of the list variable, the second time you get the second value of the list variable, and so on. We have amended the task for your convenience. Please copy it under location, ‘C:\...\My Documents\Automation Anywhere\Automation Anywhere\My Tasks’ folder. 2) If you have Internet Explorer version 7 then can you please try this, in IE window, under Tools->Internet Options click on Security tab. At the bottom of Internet Option window, you will find one checkbox to turn On/off protected mode. You need to uncheck that checkbox. Hope that helps |
![]() |
| Thread Tools | |
| Display Modes | |
| |