Hi,
       I think the syntax of the script is wrong, please check this below:
Your Script:
s=browser("abc".page
("abc").frame("abc").WebElement("outertext:=abcdefghijkl").GetRoProperty("outertext")

Should be:
s=browser("micclass:=abc").page("micclass:=abc").frame("micclass:=abc").WebElement("outertext:=abcdefghijkl").GetRoProperty("outertext")

Pawan

On Fri, Mar 18, 2011 at 9:21 AM, gayathri kamalanathan <[email protected]
> wrote:

> Hi All,
>
> Could any explain, how to capture a webelement(e.g., Warning/Error Message)
> from the application, without adding that object in OR.
> Tried the below code:
>
> s=browser("abc".page("abc").frame("abc").WebElement("outertext:=abcdefghijkl").GetRoProperty("outertext")
>
> But the above code is not working fine:(
>
> Thanks & Regards,
> Gayatri
>
>
>
>
>
> --
> 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

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