Use ordinal identifier such as index
Browser("name:=.*).Page("Title:=.*).WebElement("name:=text1","index:=0").GetRoPropertiy("innertext")
Hope it will be work properly so check it.......
Thanks
Akhalesh
9555717928
On Wed, Sep 5, 2012 at 9:56 AM, Amit Raj <[email protected]> wrote:
> Hi,
>
> I am trying to get innertext from a WebElement and this WebElement has
> similar properties to other WebElements and I can't go with the XY
> Co-ordinates as each time page loads the XY Co-ordinates gets change.
>
> So if anyone can provide any solution to this problem, that would be a
> great help.
>
> Browser("name:=.*).Page("Title:=.*).WebElement.GetRoPropertiy("innertext")
>
> Hope to get a precise solution for this issue.
>
> Regards
> Amit Raj
>
> --
> You received this message because you are subscribed to the Google
> "QTP - HP Quick Test Professional - Automated Software Testing"
> group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/MercuryQTP?hl=en
>
--
Akhalesh yadav
+919555717928
+919310680659
--
You received this message because you are subscribed to the Google
"QTP - HP Quick Test Professional - Automated Software Testing"
group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/MercuryQTP?hl=en