thanks

Date: Tue, 5 Apr 2011 00:06:36 -0400
Subject: Re:
From: [email protected]
To: [email protected]

TestObject("PropertyName1:=PropertyValue1", "..." , 
"PropertyNameX:=PropertyValueX")


On Tue, Apr 5, 2011 at 12:05 AM, Roman Zilber <[email protected]> wrote:

index=0 -> index:=0



On Mon, Apr 4, 2011 at 3:43 AM, Serene Tan <[email protected]> wrote:







qtp   newby

 

Is my usage of index wrong for the QTP scripting  on the use of index ,pls 
advise.

 

Browser("Browser").Page("title:=.*").Link("html 
id:=ctl00_PlaceHolderMain_gvFormList_ctl02_hypFillOnline").Click
'Browser("Browser").Page("title:=.*").WebButton("name:=Save").WaitProperty 
"visible", 1, 10000


Browser("Browser").Page("title:=.*").WebButton("name:=Save,index=0").Click
Browser("Browser").Page("title:=.*").WebButton("name:=Close,index=0").Click
wait  3


Browser("Browser").Page("title:=.*").Link("html 
id:=ctl00_PlaceHolderMain_gvFormList_ctl03_hypFillOnline").Click
Browser("Browser").Page("title:=.*").WebButton("name:=Save,index=1").Click


Browser("Browser").Page("title:=.*").WebButton("name:=Close,index=1").Click
wait  3
Browser("Browser").Page("title:=.*").Link("html 
id:=ctl00_PlaceHolderMain_gvFormList_ctl05_hypFillOnline").Click


Browser("Browser").Page("title:=.*").WebButton("name:=Save,index=2").Click
Browser("Browser").Page("title:=.*").WebButton("name:=Close,index=2").Click
wait  3


Browser("Browser").Page("title:=.*").Link("html 
id:=ctl00_PlaceHolderMain_gvFormList_ctl05_hypFillOnline").Click
Browser("Browser").Page("title:=.*").WebButton("name:=Save,index=3").Click


Browser("Browser").Page("title:=.*").WebButton("name:=Close,index=3").Click

 

cheers

Serene
                                          




-- 

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                                 
          

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