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

Wat is the command used to add an object(properties) to an object repository?

2 Answers   Virtusa,


How did u write macros?What is the main importance of VB macros in testing environment?

1 Answers  


In what occasion we can specify global sheet and action sheet?

0 Answers  


How to convert non-reusable action into reusable action in QTP?(i know by default QTP will take it as a non-reuable action )(Chandana) plz urgent?

4 Answers   Wipro,


I'm facing this problem while automating my application..its a web based apps.. In my application there are few webtables are displaying in the page.In the different cells there are links and action buttons.Problem is there is link in different web tables corresponding to one name.Hence the properties of the objects(say a link) are same except the x,y co ordinate of the object.So my script is not able to distinguish between the two links present in different cells of web tables with same name.Kindly help on this..

3 Answers  


Explain script generated after applying database check point?

2 Answers  


WHAT IS OBJECT REPROSITORY?

4 Answers   BirlaSoft,


why text area checkpoints cannot used for web applications

0 Answers  


How many types of actions are there in quicktest professional (qtp)?

0 Answers  


Can we test the Word Document using QTP Tool? We should test the page size,page set up, paragraph indentation and spacing, font size of the the character int the page.

1 Answers  


Syntax for how to call one script from another and Syntax to call one "Action" in another?

1 Answers   Crea,


What are they Advantages and Disadvantages in QTP 9.2?

1 Answers   Infotech,


Categories