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
How does you test a weblink which is changing dynamically?
we use a file extension .properties why is it used and where do we use it plz help me out with detailed explanation and navigation of how to use on the QTP 8.2?
Explain the differences between table and db checkpoints?
how to acess a test in RSA?
How to delete an object from the object repository?
How qtp recognizes the object?
If created one virtual object? Next time I changed the window position will it work?
can any body tell me how i create a simple script and apply output value on it .pls send me a step by step process
what is test scheduleling?
Please help me by providing the License key for QTP 9.2, at guru_aarya@yahoo.co.in Best Regards Gururaj.B
What are the Test design techniques you uses in ur project?
Brief the process of testing with UFT?
What is the use of sendkeys and what are send keys
How to create Reusable and Multiple Actions?
Key word driven framework