Micro Focus QTP (UFT) Forums
UFT Word automation - Printable Version

+- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums)
+-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP)
+--- Forum: UFT / QTP Beginners (https://www.learnqtp.com/forums/Forum-UFT-QTP-Beginners)
+--- Thread: UFT Word automation (/Thread-UFT-Word-automation)



UFT Word automation - wannel - 10-31-2016

Hello

I need to fill an word file dynamically
Do i need any add ins to develop the script ?

UFT recognize the word field like :

Window("Microsoft WOrd").WinObject("F3 server 0dac0000").....

or

Window("Microsoft WOrd").WinObject("F3 server 0be00000")....

Each time i open the MS Word file the WinObject is different

I don't know how to do ?

Thanks


RE: UFT Word automation - wannel - 10-31-2016

(10-31-2016, 03:22 PM)wannel Wrote: Hello

I need to fill an word file dynamically
Do i need any add ins to develop the script ?

UFT recognize the word field like :

Window("Microsoft WOrd").WinObject("F3 server 0dac0000").....

or

Window("Microsoft WOrd").WinObject("F3 server 0be00000")....

Each time i open the MS Word file the WinObject is different

I don't know how to do ?

Thanks

I managed to find my field with other specifics property (height, witdh)

Smile