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 ?
Answer Posted / 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 |
Post New Answer View All Answers
how will load the object during runtime?
what are the challenges you have faced while testing web based application using the automation tools ?
how to idetfy which test cases are automated?who will deside that plz tell me
How many types of actions are there in quicktest professional?
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
how to do the batch testing in test director using manual testing procedure?
How to remove the associated function library?
Write a script to verify font style and color of a windows object using descriptive programming
What are the different types of recovery operation?
What is the difference between local and shared object repository in qtp?
How to connect to a database?
Can the user toggle between using Local OR and shared OR for the same action?
How do you handle multiple banners(at the top the page, the banner is scrolling) in a web page(Dont take the name property(regular expression))
How to Open FireFox using descriptive programing? If my question is not clear, i will give an Example To Open Internet Explorer, We use Set IE = CreateObject(InternetExplorer.Application) IE.Navigate "www.yahoo.com In the same i need to open yahoo.com in firefox. Can any one tell me what is the server name of firefox to create an object
what is the hierarchy to use properties in descriptive programming