02-15-2012, 06:02 PM
(02-14-2012, 09:29 PM)shesharm Wrote: Hi,
I am trying to set or click the CheckBox in Gmail Inbox.There are total 8 columns.I am able to see 3 to 8 columns getting HighLight properly. But when i try to highLight column 1 and 2 ,it shows nothing and gives the error "Object required: 'ObjChildItem'
Line (27): "ObjChildItem.HighLight"
Code: For i = 1 to ObjGetRow
Set ObjChildItem = ObjInboxPage.ChildItem(i,1,"WebElement",0)
ObjChildItem.HighLight
All the objects are showing as WebElement ,even the checkBox also. Please help me to resolve the issue.
Thanks in Advance,
Probably there are no items there. What does the below return,
Code:
For i = 1 to ObjGetRow
Set ObjChildItem = ObjInboxPage.ChildItem(i,1,"WebElement",0)
msgbox ObjChildItem.name
Basanth
Give a fish to a man and you feed him for a day..Teach a man how to fish and you feed him for life.
Give a fish to a man and you feed him for a day..Teach a man how to fish and you feed him for life.