Identification issue for links
I have below code which will be to click any links on the web application . But when I run the code it's giving me below error
" The "[ Link ]" object's description matches more than one of the objects currently displayed in your application. Add additional properties to the object description in order to uniquely identify the object ".
The code looks like below
Browser("SPC").Page("SPC").Link("text :="&DataTable("Lnk_textvalue",dtGlobalsheet) ,"name :="&DataTable("Lnk_namevalue",dtGlobalsheet)).Clic k
I am trying to input values through datatable so that by changing the variable values the script can do the 'click' event on any links on the page.
Will be thankful if you can help out !
Perhaps add the index property. Go with zero to start.
Find out if there is more than one object that matches the descriptions.
Perhaps put the values from the spreadsheet into the code so that we can see the values.
Are you using regular expressions in the datatable?
i guess you are missing some property which could make that object unique - try adding the object to OR and check the missing property or can you spy the link and post the attachment.
Else try with index:=0 as the last option.
Please add more property and make Object Unique