How do we run a test from the 3rd row of the datatable in
QTP? Leaving the first two rows we need to test AUT from
3rd row to n'th row.
Answers were Sorted based on User's Feedback
Answer / uday kumar_anem
Directly use setcurrentrow function.
use the below statement
for i=3 to n
datatable.setcurrentrow(i)
' do some operations
next
The above loop starts from the 3rd row and performs your
actions and continues upto 'n' iterations.
Regards,
Uday.
| Is This Answer Correct ? | 5 Yes | 0 No |
Answer / art
In the settings option, u can select whether u want to run
on all rows or u can specify from which row, run has to be
performed.
| Is This Answer Correct ? | 5 Yes | 1 No |
Answer / sankalp shukla
go to file->file setings->run tab and there u can specify
the rows frm whr to start.....
| Is This Answer Correct ? | 4 Yes | 0 No |
Tell me few important difference Between QTP and WinRunner?
I am a beginner plz tell me,how do we write scripts in QTP? In my opinion we can write scipts in expert view or there is another option where we can write scripts. plz tell me.
What is use of object spy?
what are the limitations of smart identification in qtp 9.0
Test Life cycle starts IS it Requirments stage or Test Initiation?
How does QTP identifes the object in the application?
How does you pass optional arguments in qtp?
hi all here i have tab named "Workbench" By clicking on "workbench" tab.it displays 4 tabs like below workbench common cargo commercial charter "common" tab have 10tabs inside,"cargo" tab also haveing 15 tabs inside and remaining two tabs also having few tabs inside. when clicked on "common" tab.it displaying the script like tab("workbench").select"common" if i clicked on "cargo".it displaying the script like tab"workbench_2").select"cargo" if i clicked on "commercial".it displaying the script like tab"workbench_3").select"commercial" if i clicked on "charter".it displaying the script like tab"workbench_4").select"charter" I have used a "FOR LOOP" for common,commercial,cargo,charter tabs.it was stopped at second tab SO, CAN I RECOGNIZE "WORKBENCH_2,_3,_4" AS A SINGLE VARIABLE if not, can anyone plese help me to solve this
Plz explain about InTERNAl Environment variable, External environment variable,builtin environment variables with examples?
i am giving.multiple names like ram,raj,san etc....pls enter & search these names in google pade edit box through script... i told to interviewer, using Ms excel & test easily..but interviwer not happy with that answer?
how to use the QTP choose the data from oracle? e.g. i input the identity card NO. this will be add new record in the database ,and now i want get this record's prime key.
I have recorded a test using qtp to download a file in an application. Code: Browser("MFA Work Queue Manager").Page("MFA Work Queue Manager").Link("Rules Maintenance").Click Browser("MFA Work Queue Manager").Page("Rule Maintenance").WebEdit("txtSearch").Set "PmtType" Browser("MFA Work Queue Manager").Page("Rule Maintenance").WebButton("Search").Click Browser("MFA Work Queue Manager").Page("Rule Maintenance").WebButton("Export").Click Browser("MFA Work Queue Manager").Dialog("File Download").WinButton("Save").Click Browser("MFA Work Queue Manager").Page("Rule Maintenance").Sync Dialog("Save As").WinButton("Save").Click Dialog("Save As_2").WinButton("Yes").Click Problem: When running this test it gives an error at line no. 5 as Save button object is not identified by it's parent object. This code I ran 4 times after recording at it was working fine but 5th time onwords, it starts giving me the above problem. I used exist property option, Check Property option but none of this changes work at all. Kindly help...