Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
QTP with MS Word
#2
Solved: 11 Years, 3 Months, 4 Weeks ago
Hello Rahul

1st when u open qtp and write script for access to word.
you must add object repository then run below script.
hope so its working.

Code:
SystemUtil.Run "C:\Program Files\Microsoft Office\OFFICE11\WINWORD.EXE","","",""
Window("Microsoft Word").Activate
Window("Microsoft Word").WinObject("Menu Bar").Click 93,13
Window("Microsoft Word").Window("View").Click 22,12

Thanks
Sonali.
Reply


Messages In This Thread
QTP with MS Word - by rahul29 - 01-20-2012, 09:35 PM
RE: QTP with MS Word - by sonali shinde - 01-21-2012, 02:40 PM
RE: QTP with MS Word - by rahul29 - 01-23-2012, 06:34 AM
RE: QTP with MS Word - by DiptiDeshpande - 05-29-2012, 02:47 AM
RE: QTP with MS Word - by ravs@788 - 06-02-2012, 04:37 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  UFT Word automation wannel 1 2,334 10-31-2016, 06:59 PM
Last Post: wannel
  Can QTP AOM identify word documents that are already opened anil2u 2 4,382 09-05-2013, 12:45 PM
Last Post: anil2u
  Search for a word in excel string QAVA 6 9,340 11-23-2012, 11:17 AM
Last Post: vinod123
  Search for a word in string QAVA 5 4,493 11-22-2012, 04:50 PM
Last Post: Saleel Prabhu
  DP for identifying objects in MS Word rahul29 0 2,393 01-31-2012, 08:44 PM
Last Post: rahul29

Forum Jump:


Users browsing this thread: 2 Guest(s)