01-10-2018, 09:25 PM
Hi,
I'm having difficulty identifying this webelement object below.I need to retrieve the runtime property value of the innertext/innerhtml value of this object.
Any help would be great..
"Class Name:=WebElement",
"abs_x:=1087",
"abs_y:=314",
"class:=ft-value",
"height:=16",
"html id:=",
"html tag:=SPAN",
"innerhtml:=Random generated number",
"innertext:= Random generated number ",
"outerhtml:=<SPAN class=ft-value> Random generated number </SPAN>",
"outertext:= Random generated number ",
"title:=",
"type:=",
"visible:=True",
"width:=84",
trying the below code:
no =Browser("name:=STR - browsername").Page("title:=pagename").Webelement("class:=ft-value","htmltag:=SPAN","htmlid:=").GetROProperty("innertext")
msgbox no
I'm having difficulty identifying this webelement object below.I need to retrieve the runtime property value of the innertext/innerhtml value of this object.
Any help would be great..
"Class Name:=WebElement",
"abs_x:=1087",
"abs_y:=314",
"class:=ft-value",
"height:=16",
"html id:=",
"html tag:=SPAN",
"innerhtml:=Random generated number",
"innertext:= Random generated number ",
"outerhtml:=<SPAN class=ft-value> Random generated number </SPAN>",
"outertext:= Random generated number ",
"title:=",
"type:=",
"visible:=True",
"width:=84",
trying the below code:
no =Browser("name:=STR - browsername").Page("title:=pagename").Webelement("class:=ft-value","htmltag:=SPAN","htmlid:=").GetROProperty("innertext")
msgbox no