datatable.Import("E:\Programming Samples\QTP
Samples\OrderNumbers.xls")
Asume we have 4 records in datatable
Code reads the 4 rows in the sheet ok, but does it 5 times?
It doesn't sound like closing the datasheet is the problem
Can we close the datasheet runtime ?
Answers were Sorted based on User's Feedback
Answer / nath .t
u have entered 5 records in datatable. may be u have
deleted after one record but u have n't deleted the row
that's why it's taking 5 times. if u delete what u have
removed data row then it will run 4 times only.
Is This Answer Correct ? | 1 Yes | 0 No |
Because the iteration counts needs to be set "run one iteration only" under run settings. If you have set it to "run on all rows". It will loop the run based on no of rows available.
Is This Answer Correct ? | 0 Yes | 0 No |
I have test cases in excel sheet but i am using quality center.How can i copy the testcases from excel sheet to quality center?explain this process.
How can we close all webbrowsers which are opened in out desktop?
why we use sendkey method in qtp?
what is the smart identification techniqu?what r the different mechanisums used in it?
What is the use of an object spy tool in qtp?
please any one can explain the keyword driven framework. with gmail example.
when I try to run below script in QTP "totalPages" value is 2. But i am getting error message (Type mismatch: 'totalPages' Line (): "For i=1 to totalPages".) totalPages=Browser("Name:=User").Page("Title:=User").WebElem ent("innertext:=of.*").GetROProperty("InnerText") msgbox totalPages For i=1 to totalPages rnum=Browser("Name:=User").Page("Title:=User").WebTa ble("column names:=User Name;ID;Last Name;First Name").GetRowWithCellText("store4") If rnum>0 Then r=rnum Exit for End If Browser("Name:=User").Page("Title:=User").WebElement ("html tag:=A","x:=471").Click MsgBox "Exit" Next
Associated files in QTP?
how will you check how many members visited the website www.infosys.com?
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.
What is Parameterizing Tests?
how to test background color and dynamic images during runtime