I have taken the object discription as
I have writen the value "XYZTab" in excel sheet and taken this value into a variable abd as shown below
abc =object.GetCellData (Row, Column)'This statement gets XYZTab into abc which is same as object XYZTab
and i am trying to click on XYZTab using
here i am seeing he error object abc not found but if i put
msgbox abc it displays value as XYZTab
Can eny one please help me on this?
1.Are there multiple links? If yes then do not use single object XYZtab=...Link(...), use childobjects and collection instead.
2.If no,Is there any reason you are not using XYZTab.click?
Anand Tambey RSS Feed : Break To Make it Better
A Lazy person could be the best automation professional, if he is not lazy in implementing his ideas to reduce his work. ~Anand Tambey
Thanks for your reply.
though there are multiple links i am using index value in the object description.
I cannot use XYZTab.Click because i am trying to create a function which will click on any object when the object name is passed from the excel sheet.
All the objects which are passed from the excel sheet are defined with the same name in the objectrepository.vbs file.
Set abc =object.GetCellData (Row, Column)
-- Here to Learn and share ---
GetCellData will only return the text contained in the specified cell.
Use ChildItem method to retrieve the child objects.