![]() |
| |||||||
Automation Anywhere Post messages and questions related to Automation Software here. |
![]() |
| | LinkBack | Thread Tools | Display Modes |
| |||
| I am trying to automate a website that uses javascript links. The recording works fine but when I try and run the task it says the web controls cannot be found. An example of one of the links is javascript:__doPostBack(\'ConfiguredCampaigns1$rep $_ctl1$Linkbutton2\',\'\') if I do a test recording on a page that has typical http:// links it works fine? Anyone have any insight? Thank you Bill |
| |||
| Quote:
My experience has been that the AA parser sometimes sees $ dollar signs as VARIABLE indicators and doesn't process them correctly. The folks here at AA were quick to fix it once I pointed out the problem area. Ask about the $ dollar signs. as a work around, You might try reading a variable from a file such that contains the entire string... Not sure exactly the syntax, but something like first make a text file called myURL.txt then put into the text file the following: myURL=javascript:__doPostBack(\'ConfiguredCampaign s1$rep$_ctl1$Linkbutton2\',\'\') then define a variable called myURL and browse to the text file. use F2 to insert the variable myURL in place of the URL string in the control... Though now that I think about it, you may not be able to insert variables into controls -... Like I said, ask them if the $ dollar signs are a problem in the control... |
| |||
| Yes, exactly the same JavaScript Issues as you. Dispite other comments I don't think AA supports this properly. The work around is to substitute mouse click commands for the recorded Web Recorder ones which will fire the JavaScript. Not very satisfactory I know... |