THanks for reply.
1) Yes  i used Objects but it doesn't set value to webedit.   (record
and playback).  I think that is QTP problem

2)   I have problem when i use the script above- it takes long time to
set value on grid. If i activate the application and code i am
running, it takes the value right away. If i doesn't activate (swicht)
between my application and code , it takes very long time to set value
to the grid and sometimes it doesnt set value.
So what is wrong with that?  would you let me know.

3) I have 3 grids (3 webedits)  and set values to webedit1, webedit 2,
webedit3.  It take so long when it sets to each value. Is there any
good way i can learn?  Please let me know..


Thanks,




On Jun 8, 9:51 pm, Bhuvan Sundar <[email protected]> wrote:
> 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").Se­t
> "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- Hide quoted text -
>
> - Show quoted text -

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