Micro Focus QTP (UFT) Forums
Vista-> Recording actions from Start Menu - 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: Vista-> Recording actions from Start Menu (/Thread-Vista-Recording-actions-from-Start-Menu)



Vista-> Recording actions from Start Menu - Akhila - 09-09-2008

OS is Vista-> I want to record the actions opening flight reservation
application from Start Menu.

Steps as follows
1. Under Record and Run Settings
Web-> select the option "Record and run test on any open browser"
Windows Applications-> select the options
-- Application opend by Quick Test
-- Applications opened via the Desktop

When I start recording the first step its recorded as
Code:
Window("Start Menu").WinButton("All Programs").Click


and when I run the script its throwing error saying can not find the object "Start Menu"

Can any one please tell the requied settings before recording the steps from start menu?

Thanks,
Akhila


RE: Vista-> Recording actions from Start Menu - kishoreinchennai - 09-10-2008

Intresting Actually I tried to record the start click

Finally a Low level recording worked

Code:
Window("Window").WinObject("Start").Click 1,1

Regards
Kishore


RE: Vista-> Recording actions from Start Menu - Akhila - 09-11-2008

Hi Kishore,

At the end what do you suggest to record the script from Start?
Any help on the issue I raised?

Thanks,

Akhila


RE: Vista-> Recording actions from Start Menu - Akhila - 09-18-2008

Hi All,

Can anyone help me on this issue I have?

I remember very well same step i was able to record and play in Windows XP...
Now I am using Vista is it because of that?

Any idea???

Akhila


RE: Vista-> Recording actions from Start Menu - vinaykhulbe - 07-13-2009

I would suggest using the SystemUtil utility to launch the flight application and then you can continue recording further steps. i.e do not use recording for launching flight application.

so the first line of your script will be :

systemutil.run "C:\Program Files\Mercury Interactive\QuickTest Professional\samples\flight\app\flight4a.exe"