![]() |
| |||||||
Automation Anywhere Post messages and questions related to Automation Software here. |
![]() |
| | LinkBack | Thread Tools | Display Modes |
| |||
|
Hello SBDT, You can search for the required string by using ctrl+f combination of keystroke in "Insert Keystroke" command where you can type the string that you want to search using "Insert Keystroke" command and then use ENTER keystroke which will work as a click on it. The combination that follows the ctrl+f for searching while using the "Insert Keystroke" command is [CTRL DOWN]f[CTRL UP] We have a attached a sample task which finds the string "click here" in Automation Anywhere - Leader in Automation Software, Automated Testing. Automate with ease. and then enters in it (using the ENTER keystroke) You will have to save the task in "My Documents\Automation Anywhere\Automation Anywhere\My Tasks" Thanks & Regards |
| |||
|
In your sample, there are TWO TABs forward and one TAB back after the string is found. how did you determine the number of forward and backward tabs? Is it always two forward and one back? Thanks Phil << text of sample code follows >> 1 Open "www.automationanywhere.com" 2 Keystrokes: [CTRL DOWN]f[CTRL UP] in "Automation Anywhere - Leader in Automation Software, Automated Testing. Automate with ease. - Windows Internet Explorer" 3 Delay: (500 ms) 4 Keystrokes: click here in "Automation Anywhere - Leader in Automation Software, Automated Testing. Automate with ease. - Windows Internet Explorer" 5 Delay: (500 ms) 6 Keystrokes: [TAB] in "Automation Anywhere - Leader in Automation Software, Automated Testing. Automate with ease. - Windows Internet Explorer" 7 Delay: (500 ms) 8 Keystrokes: [TAB] in "Automation Anywhere - Leader in Automation Software, Automated Testing. Automate with ease. - Windows Internet Explorer" 9 Delay: (500 ms) 10 Keystrokes: [SHIFT DOWN][TAB] in "Automation Anywhere - Leader in Automation Software, Automated Testing. Automate with ease. - Windows Internet Explorer" 11 Keystrokes: [SHIFT UP] in "Automation Anywhere - Leader in Automation Software, Automated Testing. Automate with ease. - Windows Internet Explorer" 12 Delay: (500 ms) 13 Keystrokes: [ENTER] in "Automation Anywhere - Leader in Automation Software, Automated Testing. Automate with ease. - Windows Internet Explorer" |
| |||
| Quote:
What do you do if the number of TAB controls VARIES depending on the data on the page? Thanks Phil Last edited by philkryder; 10-03-2011 at 01:13 PM. |
| |||
|
Hello Phil, If you can insert a keystroke combination of "ctrl+f" in the webpage which will find the keyword and then type the keyword which is near to the text field that you want to make use of. You can hit the keystroke "Tab" after that which will take you to that control. This is a logic which you can make use in case the TAB control varies from page to page. Here, with this post, we have attached a sample task which finds the keyword "business intelligence" and then inserts "Tab" keystroke which takes the control to "Automated Testing" and enters in it. Thanks & Regards |
| |||
|
I have encountered situations where tab will not take me to the control I want. It just skips over it. On the website I am speaking of, the control is highlighted. Is a mouse click the only way to get it in those cases? Next, is there some list of keystrokes which someone can share for getting around the page. In particular, sometimes it would be easier to go backwards rather than hitting tab 7 times to get to the tab I want. And other times there are drop downs, to negotiate. Are there keystrokes which can open drop downs, go backwards, and get to those highlighted controls. All of my questions revolve around the fact web recorder and manage window controls have not worked. Thank you. |
| |||
|
The answer of forumstaff is correct. To Dennis, I'm still searching the answer for you're question. I want to help when it comes in coding.
__________________ organic gardening supplies |
![]() |
| Thread Tools | |
| Display Modes | |
| |