How to record right click of a context menu and click on the
selection ?
Answer Posted / pramod k sirotia
Very Wrong Amarendra Kothuru
why r u taking such Complicated way.
Well First of all, i am not clear which Context menu you
are talking about, whethere is it Desktop Context menu or
menu for those object those are running on System tray as
notification Area.
BTW, 1)
If you record right click on Context menu for Deskop it
will generate script as below:
Window("Program Manager").WinListView
("SysListView32").Click 1199, 286, micRightBtn
Window("Program Manager").WinObject
("SHELLDLL_DefView").WinMenu
("ContextMenu").Select "Refresh;"
While you are running this Scirpt only one Run Error you
may be getting that is "Object is not visible" which is due
to your QTP Screen may be overlaaping of your perform
action. So please make sure while running these kind of
test, QTP should not be overlapping.
Else your test will be running fine and will show up you
result as per your action.
2) The 2nd thing is the right clik on the object over
Notification area, So i would recommed you to first hide
all those object by system property and record only object
that click you want to record, becuase those are dynamic
objects and therir postion might be change while running
the test.
Hope this will help you to get problem out
Thank you very much!
| Is This Answer Correct ? | 1 Yes | 6 No |
Post New Answer View All Answers
What is the difference between byref and byval in qtp?
Suppose I created one object as virtual object? That object is applicable to that test? Or all the tests?
Can any one say what exact diff between test->parameters, action properties-> parameters. after defining the parameters in test->settings, how can we access those parameters.(i know how to use action prop parameters)
How many types of recording modes in qtp?
Hi. I have completed B.TECH(CS) , But I will go to "SECURITY CONSOLE OPERATING" [C.C CAMERA abservation]. IF interviwer asks " Why you choose this job ?" What we will say? urgent.........................urgent...........
How many scripts did you have?
How to record a qtp script ?
What is action? How many types of actions are there in qtp?
What is active screen?
1--How many functions u develop 2--What is an array 3-- where is ur server 4--U involved in unit testing 5--how ur test the background colour using QTP
what is output value in QTP and how it can be used in automation testing
Hoe can we do retesting using functions please give the code for it using login page
Can UFT be connected to Quality Center? If ‘Yes’ brief the process or steps.
How we can import data from database?
To which environments does quicktest professional supports?