Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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

Dim word
Dim doc

Set word = CreateObject("Word.Application")
Set doc = word.documents.Add
word.visible = True
doc.selection.typetext " Open MSWord"
doc.saveAs "C:\chaitu.doc"
word.quit
Set word = nothing
Set doc = nothing

Is This Answer Correct ?    1 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to analyzing the checpoint results?

1052


What is qtpro? What is quick test pro? What is a quick test professional?

1090


What is the use of ordinal identifier in qtp?

1022


What is debugging? How you debug your script?

1198


How do you know the location Id of an object if you know its index id?

1045


What is the script for database check point, bitmapchek point, regular expression ?

2057


What is the Difference between copy to action and call to action?

1131


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

1783


This is Karthic and my mail id is karthic.venkitapathi@gmail.com, please give me an idea to crack qtp 10

2014


In an interview, what r the general questions asked in QTP? pls give me anwser to this question?

1882


Differentiate the type of test cases which can be automated and which cannot be automated?

1036


What are the different recording modes and how do they work?

1087


hi i am working with vbwindow on qtp.first i am openning qtp whenever open qtp my application not open that time generated error like "Runtime error 0" and fatal error:automation error how to solve this problem pls tell me

2386


For example you are checking bit map check point before coming to the results. How can you say it is passed? Or failed? Anyways?

1031


Brief the process of testing with UFT?

1086