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
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 |
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 |
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 |
I want to learn QTP Online, where can I get quality training?
How to retrieve value (data) from notepad using QTP ?
we are submitting data one form to another form.defaultly it is time period set as 5sec. but it is taken 15sec what to do
what is the Exact Meaning of Environment Variables?
how you update scripts in qtp?
how can i pass a "cript"as a parameter in to a function
Inserting a Call to Action is not importing all columns in Datatable of globalsheet. Why?
what is the smart identification techniqu?what r the different mechanisums used in it?
the build is develeped in Java. is possible to write scripting in vb using QTP ?
How can I import environment from a file on disk?
what is flag=0 in qtp tool.. i am strugglin to use flag function , exactly when it is used , any real time expert pls explain clearly?
what is the difference between modular framework & datadriven framework