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

Answers were Sorted based on User's Feedback



when i try to recognise a winmenu item it does not allow me to do that but recognises it as window..

Answer / amit kumar upadhayay

Hi buddy,
Please create a repository with the below object properties.

Name:- <Name of the menu>
Class:- WinMenu

menuobjtype:- <it should be the location of the menu in
terms of number>

Type,Value=None

Regards,
Amit Kumar Upadhayay

Is This Answer Correct ?    1 Yes 0 No

when i try to recognise a winmenu item it does not allow me to do that but recognises it as window..

Answer / 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

when i try to recognise a winmenu item it does not allow me to do that but recognises it as window..

Answer / suresh chand

sorry to post a question where answer is expected..but i
dint find option to make a comment.

i have a scenario where the count of items in winmenu is
required..there are no properties other than "menuobjtype"
related to winmenu..so please help me in getting the count
of items present in a winmenu..

thanks in advance

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More QTP Interview Questions

What are the Disadvantages of shared object repository?

0 Answers  


how to test a java project throughqtp?while testing a vb project we generally do vb scripting. but while testing java project do we use java script .plz some one can send me the manual for it my email roy_samata@yahoo.com thanks in advance

1 Answers  


Hello Everyone, In QTP we have one option Data Driver wizard that comes in Tools -> Data Driver. so, please tell me abtout the use of Add Value and Parameterize options available in Data Driver wizard. And also the concept of value, constants, Parameterized displayed in the wizard. Please explain by giving the example. Thanks in advance, Gaytri

2 Answers  


suppose i have one datatable in my datatable in 2 nd row 3rd column one link is ther i need to validate that link how do u do this?(wipro)

4 Answers   Fidelity, Wipro,


what is profile tool?

0 Answers   ITC Infotech, TCS,






what is output parameters in qtp?explain? 2)

2 Answers   Span Infotech, TCS,


Hi All. Can you please explaing what is checkpoint? How it Will Work? what is meaning of "check checkpoint ("proprtname").how it will compate with expected value? Thanks in Advance............... Lakshmi

3 Answers   ITC Infotech, TCS,


what is Smart identification

1 Answers   Wipro,


Hi Friends, Im planning to do certifcation in mercury Automation Tool QTP.But I Didnt get any clear details regarding course syllabus, fees, where to approach, and which certification would be useful for the experienced testers? can any one send me the details?

0 Answers  


what is synchronization point, synchronization method, wait property method? with examples.. plz explain this in brief

3 Answers  


CAN SOME ONE TELL ME ABOUT QTP FRAMEWORK? I AM SUPPOSED TO GIVE THE QTP FRAMEWORK THIS WEEK SO PLEASE HELP

2 Answers  


How do u connect database through QTP tell me both Ms Access and SQL

2 Answers   Livetek,


Categories