when we right click on the desktop of any operating system
we find a menu , consisting of refresh,edit,open,paste and
cut etc...
how to load the object and object properties of that menu
in QTP

Answers were Sorted based on User's Feedback



when we right click on the desktop of any operating system we find a menu , consisting of refresh,..

Answer / amit

Open Qtp and go to Automation-->>Record and run settings-->>
Select Windows Application and click record & run on
windows application
Now start recording and 1.click on show on desktop.
2.right click on desk to select any/all menus by clicking
on them.
3.stop recording
Now open object repository and check the objects are loaded
in it.

Is This Answer Correct ?    1 Yes 2 No

when we right click on the desktop of any operating system we find a menu , consisting of refresh,..

Answer / murali raju

I think it's not possible to add the object repository...

Window("Program Manager").WinListView
("SysListView32").Click 753,200
Window("Program Manager").WinListView
("SysListView32").Click 753, 200, micRightBtn
Window("Program Manager").WinObject
("SHELLDLL_DefView").WinMenu
("ContextMenu").Select "Refresh;"

Try this code in ur system...at that time of recording only
we can add those type of menus..if i am wrong..then mailme..

Is This Answer Correct ?    0 Yes 2 No

when we right click on the desktop of any operating system we find a menu , consisting of refresh,..

Answer / tvsramakrishnachowdary

I am not understanding what is really need of that
scenarion in testing...r u going to test Operating System
i.e to check whether it is working fine or not

If u want to do mouse right click operations and sendkeys
operations with the help of SENDKEYS concept using
WSCRIPT.SHELL object

Is This Answer Correct ?    0 Yes 2 No

Post New Answer

More QTP Interview Questions

what type of application we can select for automation testing and what is the entry criteria for automation

1 Answers  


Explain how Does Run time data (Parameterization) is handled in QTP?

0 Answers  


Explain about invoking of application?

2 Answers  


How to handle the exceptions using recovery scenario manager in QTP?

0 Answers   Crea, CTS,


How to retrieve the data from database?

6 Answers   Wipro,


we add library file used in test via settings or through "ExecuteFile" command. when we implement framework do we make common library file and load the same for all the test cases execution?

0 Answers  


how to test use the quality control .how to verify the image verification

0 Answers   Wells Fargo,


what are the attributes of QTP?

3 Answers  


What is difference between web object and web items

2 Answers   Patni,


In an Excel sheet take two fields as agentname and password and type some valid agentname and password.call that excel sheet in qtp so that qtp opens the flightreservation window taking into consideration how many records are entered in the excel sheet.For example if 3 records are entered today it will open 3 FR windows,if in near future the records are more than 3 then it will open that number of times.

3 Answers  


Can we write winrunner language i.e TSL in QTP tool?

0 Answers  


Please Clarify if smartidentfication is used at runtime when qtp does not recogonize the objects

3 Answers   Ordain Solutions,


Categories