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

How many types of recording modes in qtp?

0 Answers  


How many test scripts are prapare in ur project(HeathCare Insurance).

1 Answers   Virtusa,


What is QTP testing process?

0 Answers  


In your QTP framework, what checkpoints were applied in the script to minimize script failure due to any reason during execution?

1 Answers   ITC Infotech,


what is the difference between testing and debugging?

2 Answers  


X=10,Y=20 you need to swap the numbers without using a third variable?

5 Answers  


what is run-time object in qtp? explain with example?

2 Answers  


can any one make me confirm about a real time employee with better experience in QTP who is providing QTP course individually in Bangalore???

3 Answers  


Can any one tell me about "Mapping Repository Parameter Values" and why we use it....??How to use it???Please, tell the preconditions also...........???? Thanks in Advance

0 Answers  


Why is Client side image is preferred over server side image?

0 Answers  


In QTP can we feed the out of one browser(internet explorer) as an input to the another browser(mozilla firefox)? If yes explain how to do it with an example.

0 Answers   Patni,


Suppose Object name was changed in the application in the second build.I have just modified the name in the Object repository as changes in the Application. Is it possible to accure changes in the script accordingly? If so Suppose I am calling the script through function, Will the changes affect in the script(which is in the function)automatically? If not affected, tell me the solution,How to handle this. How should I change the object property name while using functions

4 Answers   Livetek,


Categories