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


Please Help Members By Posting Answers For Below Questions

What are the flaws in water fall model and how to overcome it?

562


What is the syntax to call one script from another? And what can be the syntax to call one “action” in another?

703


Explain the use of action split in qtp?

568


What is the new version of qtp which is recently released in the market?

644


Which scripting language used by quicktest professional?

531






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...

1318


Explain about the test fusion report of quicktest professional?

535


Thanks....But can u tell me how i use the QTP for GIS with one Example...

1435


Why do we use breakpoints in QTP?

582


Hi, Can anyone please tell me how to connect the QC with QTP using QTP script? Thanks in advance

1525


Key word driven framework

1687


What are the Application Functions available in QTP?

1476


Is it possible to call from one action to another action in qtp?

564


How many types of parameters are available in quicktest professional (qtp)?

585


what is supply chain management?

2091