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

wt is the use of multiple questions in QTP

0 Answers   DigiTech,


How to manage a drag drop event in the qtp

3 Answers  


A dialog is diplays " Transaction 254689 has been successfully completed" How to get the transaction ID from the message ?

6 Answers   Virtusa,


How to do Batch run in qtp? provide the steps?

5 Answers  


For which type of project the iterative model is suitable?

0 Answers  






I want to know can we integrate visual source safe tool with QTP and QC for our version controlling process? WE know QTP and QC 10.0 version is having the version control inbuilt in it but I want to know the merits and demerits of the inbuilt version control tool and the visual source safe tool using QTP and QC.

0 Answers   Wipro,


To which environments does quicktest professional (qtp) supports?

0 Answers  


What is Virtual Object? Plz Explain me with an example?

2 Answers   Ordain Solutions,


Does QTP recognize two diff browser's at a time..?if possible how..? Is it possible run scripts on Mozilla which are recorded on IE..?..How..?

12 Answers   IBM, Semantic Space, TCS,


Pls let me know how to find out creation time and index for the web application in descriptive programming?

2 Answers   HP,


hello all i need some good sites or blogs which give info abt vb script with examples n real time scenarios.just like tutorials as i m new to qtp n vbscripting. its urgenttt

2 Answers  


Are You using any frame work? What is that? Explain about that.

4 Answers   Wipro,


Categories