when i try to recognise a winmenu item it does not allow me
to do that but recognises it as window..i am using qtp 9.2
could someone help with this
Answer Posted / pavan
Hi try this,
x = Window("window name").WinMenu("menu name").GetItemProperty("file name", "SubMenuCount")
msgbox x
For Example:
x = Window("Notepad").WinMenu("Menu").GetItemProperty("File", "SubMenuCount")
msgbox x
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What is test object model in quicktest professional?
In qtp, how you can remove the spaces from string?
How software automation specialist enter steps in the Expert View?
Limitations in QTP?
Can anyone pls tell me in realtime (descriptive programming) how will the properties of the object be given to the test team. R they given in an excel sheet and is the same sheet also given to the development team and by whom is this given? Thanks a lot.
Explain how Does Run time data (Parameterization) is handled in QTP?
Differences between quicktest professional (qtp) and winrunner?
Thanks....But can u tell me how i use the QTP for GIS with one Example...
What is the file extension of the code file and object repository file in QTP?
What are the features supported by UFT?
Can any one send me the QTP Basic Coding Samples?
What is the syntax for how to call one script from another?
Can you list some technologies that support qtp?
How to capture dynamic values in load runner and how Each of the captured values are to be written to a text file (c:\temp\LoadRunner1.txt)
WHAT IS THE DIFFERENCE BETWEEN QTP SCRIPT AND VB SCRIPT? HOW MUCH PERCENTAGE WE USE IN QTP SCRIPT REAL TIME AND HOW MUCH PERCEN OF VB SCRIPT,,,,,,,