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 / feroz
Dim objWord
Dim wrdDoc
set objword = CreateObject("Word.Application")
objword.visible = true
Set wrdDoc = objword.Documents.Add
wrdDoc.Range.InsertBefore "Hi Good Morning!"
wrdDoc.SaveAs "C:\Greetings.doc"
objword.quit
Set objword = nothing
| Is This Answer Correct ? | 5 Yes | 0 No |
Post New Answer View All Answers
I have enrolled for a QTP course which is a four weekend course.Do you think its a good way to start off learning this tool?What all do i need with me in order to become a pro at using this tool?
How do you configure QTP AND Test director?
I am getting an error "failed to open the XML checkpoint result viewer" in result window,after clicking on "View XML checkpoint results".Someone suggest me settings,if any...
what could go wrong with test automation?
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 Test Fusion Report in QTP?
What are the trigger events in qtp?
When to use descriptive programming?
How did you resolve conflicts present in Object Repository?
How to get the particular property value?
Why do you create a text checkpoint on a Web application? What is the purpose of the Close method?
www.icici.com ,after this.. home page wll came, in this page what r the items we r going to test for manual and what are items we r going to test for QTP... explian clearly with example
I had installed QTP 9.2. It is working fine but whenever I open QTP, it is trying to reinstall the below-mentioned files again and again "QTP92PS82UPGRADE.exe", "recogn.dll". If anybody has these files, please provide those files in this site or you can send that files to my mail id also (lravi4u@yahoo.com). If you don't know where the files will be in the QTP, search in the QTP software CD or path of QTP program installed (C:\Program Files\Mercury Interactive\QuickTest Professional)
How you can make an action as re-usable action?
Difference between test object and run time object?