![]() |
| |||||||
Automation Anywhere Post messages and questions related to Automation Software here. |
![]() |
| | LinkBack | Thread Tools | Display Modes |
| |||
|
I want to scrape some info off of a web page - The info is the USER LOGIN ID (not the password - just the id). The only time that I can be sure it is "ready" to be scraped is at the moment when the user presses the "login" button. Unfortunately, when they click that button, the screen window changes from the login screen to the home page of the application. How do I detect that they have clicked the button and then scrape the most recent values from the USER LOGIN ID field. Thanks! Phil |
| |||
|
Hello, If you could get the username from home page (if it is displayed on homepage) then you can create a window trigger (When window opens) on home page window. What you can do is create task that will extract username from home page. Now, create trigger for this task. Please follow below mentioned steps, Select your task from Task list. Select the Type as Window. From Window Title drop down, specify the Title of homepage window. If you do not see the title, then open the webpage and click on Refresh. From the Action, select 'When window opens' & save the trigger. Every time the webpage window opens, it will launch your task i.e. will extract username. Alternatively, you can automate the login process. What you can do is, create task that will open the login page and then insert Pause command to pause the task so that user can enter username and password. After pause, insert Extract data command to extract username from respective textbox and then insert command to click on 'Login' button. So, the user doesn't have to click on Login button, he just have to enter Username, Password and click on 'Resume' button. The text format of commands would appear as follows, 1. Open "http://www.mail.yahoo.com" 2. Pause 3. Extract data from Control type : Textbox, Webpage : https://login.yahoo.com/config/login_verify2?&.src=ym to $Prompt-Assignment$ 4. Click on 'Sign In' button in the webpage 'Yahoo! Mail: The best web-based email!' Hope that helps. |
| |||
| Quote:
Instead, a more friendly "welcome Firstname Lastname" appears based on the values in the user profile. I was hoping for a control that would be triggered when the login page is being closed... I'll go with a separate interactive "prompt box" using the VB script that you provided to allow for more characters than the 100 character default. thanks! Phil |
![]() |
| Thread Tools | |
| Display Modes | |
| |