i ve an excel in a QC folder. Thru my QTP script i want to
open that excel in runtime. I am running this script from
QC itself
Answer Posted / saranya
hi manoj,
Try this. Even I am doing the same thing for my application.
First connect your QTP to QC. Then open the code which you
have saved in QC in QTP. Click on Test->settings(in QTP9.2
it will be File->settings) -> click on resource tab . In
that you can see a frame called DataTable. In that select
the option "Other Location" and click on the browse icon
beside that option. It will display you all the excel
sheets in QC. Select your Excel sheet. Now autopmatically
the excel sheet will be embedded to your code in
runtime.You need not include any code for this excel sheet
in your main code. (But do take care of the sheet names in
the excel sheet. It should be correctly mentioned in your
code.)
Is This Answer Correct ? | 4 Yes | 1 No |
Post New Answer View All Answers
What are the flaws in water fall model and how to overcome it?
What is the syntax to call one script from another? And what can be the syntax to call one “action” in another?
Explain the use of action split in qtp?
What is the new version of qtp which is recently released in the market?
Which scripting language used by quicktest professional?
Do you know SQL? I know SQL but i don't have any experience...that's it..No more questions ...simply he said " you can leave for the day" ...guys prepare SQL Quires before attending interview in bank of america...
Explain about the test fusion report of quicktest professional?
Thanks....But can u tell me how i use the QTP for GIS with one Example...
Why do we use breakpoints in QTP?
Hi, Can anyone please tell me how to connect the QC with QTP using QTP script? Thanks in advance
Key word driven framework
What are the Application Functions available in QTP?
Is it possible to call from one action to another action in qtp?
How many types of parameters are available in quicktest professional (qtp)?
what is supply chain management?