3.How to record a word doc using qtp i.e open a word
doc,type something and save the doc can someone send me the
code.
Answer Posted / ashish wadhwa
'For Excel
Set objExcel = CreateObject("Excel.Application")
objExcel.Visible = True
'Adding the workbook
Set objWorkbook = objExcel.Workbooks.Add
'Adding the text in the workbook in 1st row and 1st Column
objExcel.Cells(1, 1).Value = "Hi This is me Ashish"
'Saving the excel file
objWorkbook.SaveAs("D:\Sample.xls")
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
wht type of User defined functions or Java Releated functions Do we write in VB scripting
How many types of status are there?
On the website, the protocol has been changed https: to https what you will do? Tell me your approach?
How many tabs are available to view your test in a test pane and what are they?
hi in real time who will execute the qtp test scripts? my faculty said, in a companty automation testers are written the test scripts and manual testers are execute the test scripts...IS IT RIGHT OR NOT?
Which scripting language used by quicktest professional?
What is system testing and what are the different types of tests you perform in system testing?
Is there anyway to automatically update the Datasource name in Database Checkpoints object when we migrate tests to a new release?
Please provide specific examples of advanced/creative usage of QTP, including how impact & benefits for your project
Hi, I am working on microsoft infopath forms..It is standalone form..(not dotnet or web.) . I am not able to indentify any objects in it.. I am currently using active accessibility in the macro for the same but its execution is too slow.. Kindly help in case you have better solution.
What is the use of an object spy tool in qtp?
Discuss the QTP Environment?
hi can any body give me a script for creating a modularity or keyword driven framework..i am working as a qtp tester for 2 months but still i am not exposed to framework in my company
What ate the Technologies supported by QTP?
Hi any body pls help me for QTP 11.0 software free demo version. i have to practice. Kindly send the link.or where i have to download.