Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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

how to write scripts in QTP?

4 Answers   Ordain Solutions,


What scripting language is QTP of?

1 Answers  


How you know that a test case is a regression test case

1 Answers  


wht is the difference between action and functio?

3 Answers  


how will u choose a tool for test automation ?

1 Answers  


How to open an application through scripting?

11 Answers  


How many types of recording modes in qtp? Describe each type with an example where we use them?

0 Answers  


Why u don’t like recording the script and writing the script

3 Answers   Wipro,


what is the difference between DATA TABLE and DATA SET?

2 Answers   Accenture,


What are FAST and NORMAL modes in qtp ? Why r these modes intended for ?

3 Answers   IBM,


How many ways we can parameterize data in QTP?

1 Answers   Crea,


how to do the batch testing in test director using manual testing procedure?

0 Answers  


Categories