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

when a test case is written how u test using qtp

1905


How to connect to a database?

815


If we put all properties in mandatory and assistive list of Normal Identification, Do we still need Smart?

783


What is the default add-ins in qtp?

762


What is qtpro? What is quick test pro? What is a quick test professional?

835


how we connect 1. qtp9.2 to the quality center9.0? 2. Load runner8.0 to the quality center9.0

1705


What are the features supported by UFT?

866


What is the Difference between copy to action and call to action?

836


How will you find the current time of the remote machine using QTP script?

836


Explain how qtp identifies objects?

792


what kind of frame work you used in your last project?

2100


why should we give deliver good quality software?

1853


if our qtp vb Script may be Currepted then What we want do?

1693


What is exact meaning of Database Checkpoint in QTP 9.2 and what are the different types of the database check points?

2511


wt is the use of multiple questions in QTP

1905