Can anybody knows the method to follow for the following situation. "I have a table.If the cell (2,3) is equal to X, the element(link) in the cell (2,4) has to be clicked".

Questions by priyaspve

Showing Answers 1 - 1 of 1 Answers

Set oDesc = Description.Create()
oDesc("html tag").Value = "TABLE"
Set oChild = Browser("Browser").Page("Page").ChildObjects(oDesc)  
tdata = oChild(0).GetCellData(2, 3)
MsgBox tdata
x = "rajesh"
If x = tdata Then
oChild(0).ChildItem(2, 4, "Link", 0).Click
End If

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions