Check the index location by doing recording one time and change the index
to that value if  you find for that webelement property.
Browser("name:=.*).Page("Title:=.*).WebElement("index:=0").GetRoPropertiy("innertext")



On Wed, Sep 5, 2012 at 10:12 AM, chaman kalra <[email protected]> wrote:

> Use ordinal identifier to differentiate the webelement
>
>
> On Wed, Sep 5, 2012 at 10:02 AM, Kamran <[email protected]> wrote:
>
>> does web element has html ID?
>> Browser("name:=.*).Page("
>> Title:=.*).WebElement("webelement name").GetRoPropertiy("innertext")
>>
>>
>> On Wed, Sep 5, 2012 at 12:26 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
>>>
>>
>>
>>
>> --
>> Regards,
>> Muhammad Kamran
>>
>> --
>> 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
>>
>
>
>
> --
> Thanks & Regards
> Chaman Kalra
> Email :[email protected]
>
>
>
>
>
>


-- 
Thanks & Regards
Chaman Kalra
Email :[email protected]

-- 
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

Reply via email to