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 |
In an interview what r the questions asked in qtp related project? pls any answer this question?
What are SetToProperty, SetRoProperty, GetToProperty scripting?
who is the best faculty in HYD? Nageshwar rao or GC reddy?
does the vb script knowledge is mandatery in testing using QTP
what is exact difference between smoke and sanity testing?
What is the Diff between Image check-point and Bit map Check point?
I would like to do some certifications in QTP. please suggese what kind of certifications can i do. I am currently put up at chennai. So please suggest some reputed centres where these courses are offered.
We developed 100 descriptive programms and put in running, in the midle if any descriptive program is stucked with some error? what will happend weather it will execute the remaining prg's or it will terriminate ?
CAN I CALL A FUNCTION IN ACTION.IF YES PLEASE HELP ME
what is vss and cvs what is main difference b/w these two
what type of automation is follwed in the project?
hi.what is exactly mean by real time frame work? every institute teach Framework is nothing but having 6 to 7 folders..and save repositories functions keywords and scripts? this is enough or not? can we beleive?