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
Hi all, I am using windows vista, I am in the process of learning QTP. When ever I try to work with insert mode in flight application , i am getting the error of 'Operation must use an update table query, fractional truncation(null) error. Can anyone help me regarding this?
Excel sheet having some datas and some datas present in the application (in table). How will you compare these two datas? Write code to fetch datas from Excel sheet.
what is clean sweep?
Hi. please provide license key for QTP 9.2, I have windows XP on my machine Thanks in Advance, moreshwar
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!!
what is the diff between manual test plan document and automation test plan doc.can u explain indetail.
What is the file extension of the code file in qtp?
Hi How to retrieve data from web element line by line?
In keyward driven framework what will be the step for yahoo login page ,inbox logout,plz explain in detail
How can you identify the browser and its information using the qtp script?
what r the verstions from 1st to present (verstions) of mercury tools (like winrunner,QTP,Loadrunner) ? Chandana
How to replay a script in qtp?
Explain runtime dynamic settings?
What is the syntax to call one script from another?
how to test load test and block box testing an a web based application pls give ans briefly