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 |
how to use the QTP choose the data from oracle? e.g. i input the identity card NO. this will be add new record in the database ,and now i want get this record's prime key.
For which type of project the iterative model is suitable?
What is throw object?
How to handle exception when data table is not available in local host system or path is not correct(explain statement with example)
hai,i want to select an option from the right click pop up menu.but the qtp is not recognizing the right click pop up menu as a seperate object.can any one tell me the solution.
In a webtable, lets say there are 10 records and 1 column. let say "image" is available for 1st,2nd and 3rd records and 4th onwards image is not available. How to recognise for that cell image is available or not?
How many types of Parameters are available in QTP? and Pls Explain with example.
i am giving.multiple names like ram,raj,san etc....pls enter & search these names in google pade edit box through script... i told to interviewer, using Ms excel & test easily..but interviwer not happy with that answer?
How to export QTP results to an ".xls" file?
What is the Difference between Environment variable and Globle variable,.. anybody can give me answer..Thanks in advance...
If a object property is changed in the application. where it should be updated in QTP... Pls anybody can give the answer.. Thanks in advance...
IF application is a Java-based application means 2 0r 3 tier application. How the script will be in QTP. pls kindly give some sample script.