for 1st edit field: xxx[1].name
for 2nd edit field: xxx[2].name
for 3rd edit field: xxx[3].name
'
'
'
'
for 15th edit field: xxx[15].name

Here is my code.

for i=1 to 15
Browser("title:=xyz").Page(name:=pqr").WebEdit("name:=xxx","index:="&i).set
"QTP"
next

I Guess it will work... Try it and please let me know .

or explain me what u exactly want


On Mar 8, 4:40 pm, Seema Mali <[email protected]> wrote:
> Hi everyone,
>                 I have 15 edit fields in my web page, using descriptive
> programing i want to write some text in those edit fields.
> Edit field properties :
> for 1st edit field: xxx[1].name
> for 2nd edit field: xxx[2].name
> for 3rd edit field: xxx[3].name
> '
> '
> '
> '
> for 15th edit field: xxx[15].name
>
> Here is my code.
>
> for i=1 to 15
> Browser("title:=xyz").Page(name:=pqr").WebEdit("name:xxx["&i&'"].name").set
> "QTP"
> next
>
> its not working.....
>
> Please help........
>
> Regards
> Seema

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