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

Why do we go for Qtp? What are the advantages of qtp? Diff between winrunner and Qtp?

3 Answers   Symphony,


How u perform exception handling in QTp,what is other name for ths

1 Answers   Lehman Brothers,


Which method do you use to retrieve data from the WebList object?

1 Answers  


dears, I have one question for QTP.If my software is english and defined objects is english name. But, if my software has support MUI, under this case that my objects in the QTP can't work, because the QTP can't catch the objects name. In this case, is anybody know how to solve this problem? Thanks a lot.

2 Answers   CyberLink,


Write script to fetch the data from global sheet where row number is 3 and parameter is "text"

3 Answers   Accenture, Thomson Reuters,






How do you capture tooltip using QTP?

0 Answers  


Is virtual object supported in low level recording mode?

0 Answers  


How to check the URL using Automation tool QTP

2 Answers  


Can you expect major bugs in Net banking Application?

1 Answers  


banking domain description for software tester for interview

0 Answers   Semantic Space,


Hi, how can we check or avoid the memory leakage in QTP9.2?

0 Answers   Arctern,


I want to configure the OR and library files to a particular QTP test during run time. Note: OR and Library files are located in Quality Center. Is it possible in QTP? Anybody having code?

0 Answers  


Categories