How to Import data from a ".xls" file to Data table during
Runtime.
Answer Posted / sanhosh
The following example uses the ImportSheet method to import the first sheet of the name.xls table to the name sheet in the test's run-time Data Table.
DataTable.ImportSheet "C:
ame.xls" ,1 ,"name"
How ever in runtime data table iam unable to get the sheet pls help me.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What we are looking for is to load properties of object dynamically as for our application the global repository will pretty huge. It will be really helpful to us if something similar to following functions of Winrunner is available in QTP. #Define descriptor auto strDesc; #set property in the descriptor Gui_desc_set_attr(strDesc,?Class?,?Edit?); --- put other properties #Add Edit box to GUI Map Gui_add(? ?,strWindowName,strEditboxName,strDesc);
desribe a situation where u faced a stressful situation and how did u cope with it
How to use debug tools?
Problem with XML checkpoint in QTP ?
can any body give the banking domain concepts/links
What is the difference between byref and byval in qtp?
How to break the object spy ?
What is the Difference between copy to action and call to action?
i am new QTP... please tell me automation frameworks , types & for whiich type of applications frameworks are used & how to generate script in keyword driven framework
How do you configure QTP AND Test director?
If I change the object name in one action will it be updated in all the actions? Or not?
What are the steps involved in the recovery scenario wizard?
Where we use data driver in qtp?
How to use descriptive programming?
What is meant by a Check Point in UFT? Also, explain the applicable Check Points.