-
Junior Member
Steps are not recorded
I have a link that opens microsoft word. When i type anything in the word file and save, these steps are not recorded, when i am doing the recording the test in QTP.
Can you guide me with that of how to do it.
-
Contributing Member
Re: Steps are not recorded
When you start recording your tests, a dialog box appears with the named 'Record & Run Settings'. Check the Windows Tab. The radio button Record & Run on any Windows Based Application SHOULD be selected.
-
Junior Member
Re: Steps are not recorded
I got the solution from the other forum.
This is the solution for all those who are also facing with the same scenario:
Set WordWindow=Window("index:=0","regexpwndtitle:= .*Microsoft Word")
'& vbCr used to move the data on next line
WordWindow.Type "My First Name= ABC"
WordWindow.Type "My Last Name= XYZ"& vbCr
WordWindow.Type "My Middle Name= MNO"& vbCr
WordWindow.Type "My Nick Name= AXN"& vbCr
WordWindow.close
'Click on "Yes" button
WordWindow.Dialog("text:=Microsoft Office Word").WinButton("text:=&Yes").click
-
Expert Member
Re: Steps are not recorded
Thanks mobabine, even I was looking for this answer...
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules