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 / ashok

This did not work. Displayed error " Object doesn't
support th is property or method 'doc.selection'

Can you please also send code for the following:"
Read word doc. Get font. Get Italic. Get Bold.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

In a flight window we have to enter the name and meal request for every passenger.In that window if we give Total passengers=1 then the Psngr1 name field and psngr1 meal request field will reflects.if we give Total passengers=2 then Psngr1 name field and psngr1 meal request field,Psngr2 name field and psngr2 meal request field and so on. how we can handle this scenerio thru Descriptive programming?

1451


What is a data driven test in qtp?

597


What is the use of ordinal identifier in qtp?

610


What is test object model in quicktest professional (qtp)?

559


X flies from Hyd to bangalore using different methods of transportation. write the test scenarios and test cases for this?

1513






Can we run multiple QTP scripts one after the other without manual intervention? How?

604


How can you write the scripts that operate on different objects depending on run-time information?

2126


The structure of keyword driven frame work is like a folder structure the different sub folder are 1-functional libray folder 2-object repository folder 3- database folder 4-appliction1.xls 5-initalzation vbs file 6-sequence file 7-driver script 8-test case list file My question is whether these are in a local server machine or in our pc.((whether It like Vss). can u give example of driver script(code)

2808


How do you convert manual test cases to automated test cases?

585


What is the virtual object?

653


How will you handle java tree in qtp?

637


What is throw Object?

1576


How can we import into Excel "Details" ,"Result" ,"Time" parameters from within a Results Report which is generated after a Run error when a script is executed in QTP? Refer E.g below Status Functionality Description RunDate Fail Login User should be able to Login 12/3/2007 StartTime EndTime Details* 1:31:58 PM 1:32:29 PM (this one i want)

1534


how can you do retesting (datadriven test) using notepad amd by using functions NOTE u should not use datatable methods

1388


How to use the object spy in quicktest professional (qtp) 8.0 version?

523