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 connect the real time application application with the QTP?

2 Answers  


What is deference between normal QTP testing and descriptive programming?

4 Answers   Polaris,


I want to assign values in a table in my software, in first column i will give values, table is of 4x4 i.e 4 row and 4 columns, i m using VBScript in my automation work. it is a simple table for giving values.

4 Answers   TCS, Wipro,


How to create runtime property for an object?

7 Answers  


WE ARE PLANING TO DESIGN AUTOMATION FRAME WORK. HOW TO CALL CONFIGURATION SCRIPT FILE(.VBS) FROM DRIVE SCRIPT FILE(.VBS)

1 Answers  


I encountered with very strange problem in qtp while writing the script i written the code window"regexpwndclass:=XLMAIN").window"regexpwndtitle:=Open" ).Exit this code was working fine for about 10-15 times i executed the script but after some time qtp started giving the error with the same code the error is "Object doesnt support this method or function window(...).window(..)" then i modified the code with only window"regexpwndtitle:=Open").Exit in place of window"regexpwndclass:=XLMAIN").window"regexpwndtitle:=Open" ).Exit now again its working fine i cannot understand what thing is creating the problem if same code executed successfully in starting for about 10 times then why it is giving the error now can anyone give the reason .

0 Answers  


What is the meaning Work bench?

0 Answers  


Tell me the difference between the Data Driven Frame work and Keyword Driven frame work?

3 Answers   Semantic Space,


I want to do Certification course in QTP. For this I request you to suggest the best Tutorial in PDF format. Hence, if possible, kinldy mail PDF file to my mail-ID: sushmapokhriyal79@gmail.com

0 Answers  


why we use check points , In qtp we use the any check points , what r they , when and why

1 Answers   Polaris,


what are the disadvantages of descriptiveprograming

5 Answers   GE,


in login module login button chage regularly(means login button change to submit button).What is the code for it.

3 Answers  


Categories