Ganesh,
No i have 100 rows of data.Example:

questionName
question_1
question_2
question_3....

when script runs, only question_1 added;
script is not getting row 2 data for question_2, 3 and etc....



On Wednesday, December 4, 2013 5:26:21 PM UTC-5, Ganesh muralidharan wrote:
>
> Does your global sheet contain only 1 row?
>
>
> On Wed, Dec 4, 2013 at 4:02 PM, george <[email protected] <javascript:>>wrote:
>
>> Ok Guys,
>>
>> I am facing another chalange and need your help.
>> Like i said before, i have application that creates form, adds section(s) 
>> and creates/adds question(s) to this sections of the form.
>>
>> My goal is to create One Form with 1 section and 100 questions to start 
>> with.
>> Question name needs to be unique and I am using datable from action sheet 
>> which has 100 rows of data.
>> But QTP only runs one row and stops
>> I need to continue on all rows.
>> I tried Settings>Run>Run on All Rows and Run from row 1 to row 100, but 
>> it still stops
>>
>> Her eis the sample.
>> Please send me the script solution:
>>
>> thanks so much
>>
>>
>> '***********************adding a question****************
>> For i = 1 To 100 Step 1
>>
>> With Browser("name:=.*").Page("title:=.*")
>>     
>>
>> .webbutton("name:=Add Question", "index:=0").click
>> .webedit("name:=questionName", "index:=1").Set datatable.Value (
>> "questionName","Action1") '(Unique)
>> .webedit("name:=questiontext").Set "question description" '(not Unique)
>> .webbutton("name:=Add","index:=1").click
>> msgbox "question is added"
>>
>> End with
>>
>>   Next
>>   
>>
>> -- 
>> -- 
>> 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]<javascript:>
>> To unsubscribe from this group, send email to
>> [email protected] <javascript:>
>> 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 Groups 
>> "QTP - HP Quick Test Professional - Automated Software Testing" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected] <javascript:>.
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>
>
>
> -- 
> Regards,
>
>
> Ganesh Muralidharan
> 'God Never Forgets' 
>

-- 
-- 
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 Groups "QTP 
- HP Quick Test Professional - Automated Software Testing" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to