Hi Seema,

Modify the code as per below. If the name property of webedit displays like
xxx[1].name

It should work

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

Thanks,
Revanth

On 8 March 2011 17:10, 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

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