Hello,
Automation Anywhere provides you with a powerful tool, Web Recorder. Web recorder understands all web controls. When you perform any action in a browser, for example click a link or a button or a check box, Automation Anywhere knows the exact web control. If websites change & links or buttons move, Automation Anywhere will still accurately replay the task.
To always click on the link situated at particular position, please follow the steps given below.
1) Click on Tools->Web Recorder.
2) Type in URL of website say
CNN.com - Breaking News, U.S., World, Weather, Entertainment & Video News and click on Start
3) Click on the link and Stop recording.
4) Open the task in Editor.
5) Edit the Click command.
6) In Manage Controls command there is an ‘Advanced’ option for Links. It has three check boxes i.e. Name, URL, Index. Uncheck the 'Name' box and check the 'Index' box. What this does is, every time it comes across this command it will search this link by its index and not the name or URL it points to. So next time even if the name of the link changes, it clicks on the same link.
You can refer to online sample task that automates Website Testing even if the layout or content of the web page changes. It can be applied to any similar scenario on any website. Following is the link to that task,
http://www.tethyssolutions.com/T62.htm
Hope that helps.