programmatic description is slow compare to write the Script by using
objects which are in Object Repository. we have simple way to set the value
WebEdit.
Browser("Wb_Brw_Google").Page("Wb_Pg_Google").WebEdit("Wb_Txt_Username").Set
"mercury"
Here "Set" is the Keyword method in QTP,this is uesed to enter the value for
any Text Box.
Thanks,
Bhuvan
On Thu, Jun 9, 2011 at 2:22 AM, langxii <[email protected]> wrote:
> I found a very good blog about setting value on Webedit. See below
>
> Set desc =
>
> Browser("title:=Gmail.*").Page("title:=Gmail.*").WebElement("class:=editablĀ
> e
> LW-yrriRe", "html tag:=body")
>
> desc.object.innertext = "this is a test email"
>
>
> It is very good script but take so long to set value. Would you help
> me to give different ways to set value webedit.
>
> Thanks,
>
> --
> 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