Micro Focus QTP (UFT) Forums
QTP not recording the test steps - 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: QTP not recording the test steps (/Thread-QTP-not-recording-the-test-steps)



QTP not recording the test steps - rkttm - 11-09-2011

Hi,
I just started learning QTP and using QTP 11.0 trial version on my windows 7 pc.

When i try to record simple google search or gmail login function, QTP is not recording the steps in keyword/expert views. After I stopped recording, i could only see the last step "Window("Windows Internet Explorer").Close".

One more point I noticed is if I move the web page (In this case google search page) those steps are being recorded as below.

Code:
"Window("Windows Internet Explorer").Move 349,226
Window("Windows Internet Explorer").Move 183,242"

But any of other steps like text entered in search box, and click on search step etc..are not being recorded.

Why is this happening? Please help.


RE: QTP not recording the test steps - ksrikanth2k9 - 02-08-2012

What is your IE version??





RE: QTP not recording the test steps - apeksha_sonu - 02-14-2012

I am having the same issue. REcording a test by opening google.com & entering search and clicking the buttton but in expert view all it shows is

Window("Windows Internet Explorer_2").Close

1)Browser opening google
2)editbox search word entered

above two steps are missing..

I tried this
tools->options->web->advanced->under record settings "checked" ->use standard windows mouse buttons on click , mouse down and up

and then the vbscript improved to

Code:
Window("Windows Internet Explorer_4").WinEdit("Edit").SetSelection 0,59
Window("Windows Internet Explorer_4").WinEdit("Edit").Set "www.yahoo.com"
Window("Windows Internet Explorer_4").WinEdit("Edit").Type  micReturn
Window("Windows Internet Explorer_4").Close

Can someone help?


RE: QTP not recording the test steps - chetan sharma - 02-19-2012

Hi,,

Same prob

can anyone help..unable to record the Test steps..only browser close and minimize and maximize are being recorded ..

Plz help