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 / karishma
got to options and select folders tab and give path of the
folder where the excelsheet is present in QC
and then try out this:
x=PathFinder.Locate("Results.xls")
Set objExcel = CreateObject("Excel.Application")
objExcel.Visible = True
Set objWorkbook2 = objExcel.Workbooks.Open(x)
Is This Answer Correct ? | 4 Yes | 1 No |
Post New Answer View All Answers
when a test case is written how u test using qtp
How do you compare the structure of 2 tables in database and check whether they are similar using qtp.
What is the extension of qtp local repository?
can any boby tell me what is method or steps to connect the remote desk top by using QTP 9.2 version?
What is quicktest professional?
Through array we can execute the testcase how ? give me example
How the exception handling can be done using quicktest professional?
How will you handle java tree in qtp?
can u explain the keyword driven framework with an example clearly how to create all the files and how to attach to main test.
How to find the name of the machine where you are running your automation scripts in qtp?
What is the parameterization?
How will you test a stapler?
Explain features of the latest version of qtp/ uft 12.1?
what is meant by source control?
How many types of trigger events are there in qtp?