Hi Muhammad,
Thanks for sending the code. The script I sent before works with this HTML without problems:
Sub Test
Set page = Sys.Process("iexplore").Page("*")
Set obj = page.FindChild("innerText","CON*",100)
obj.Click
End Sub
If this script does not work for you, probably, scripts on your page modify them, and this modification is not made in the HTML code you posted. In this case, could you please post here an image of the tested page with the object you want to click highlighted?
Secondly Page does not have the OuterHTML property, all the objects are under a Panel so i have posted Panel OuterHTML. |
A page object does not have this property indeed, but the code I sent worked with another object:
page.Application.Document.getElementsByTagName("html")(0).