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
Define virtual object?
What is the use of running the scripts in Hidden-mode in UFT?
if our qtp vb Script may be Currepted then What we want do?
Hi, Hope you viewers are doing fine with good health. What are the steps and connection parameters to connect to Oracle db ? Can you connect with just the Oracle client or Oracle XE ? Cheers!!
I want to do QTP Certification what is the pattern of Question paper.
What are the advantages of Object Repository?
what r the verstions from 1st to present (verstions) of mercury tools (like winrunner,QTP,Loadrunner) ? Chandana
what is key word driven frame work ? why it is called like that ? what is the diference between keyword driven and data driven frame work ?
1--How many functions u develop 2--What is an array 3-- where is ur server 4--U involved in unit testing 5--how ur test the background colour using QTP
Define Environment Variable in UFT and its uses?
How can I check if a environment variable exist or not?
I want to capture data(using keyword) from msdos application using QTP?... Below is little work i could do on it... /* Set app=CreateObject("Wscript.shell") SystemUtil.run ("C:\Users\Agent\Desktop\pumpsim\PUMPSIM.EXE") Window(“PUMPSIM.EXE”).Activate wait(3) app.sendkeys "N" */ Thanks in advance...!!!
What are the common defects found in your project? (in qtp interview)
Is there any pdf or online book for QTP Scripting? Let me know more about QTP Scripting.
Could i know how how to explain keyword driven framework in interview? If any body knows plz send the explanation.