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
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 |
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 |
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 |
hi friends i have 4 yrs exp in testing and 2 yrsexp in QTP.currently aim working in mnc in north as a permanent employer .iam looking for job in south is there any openings plz let me know my mail id is bjr@aol.in its very urjent
How to pass parameters to Actions Pls anybody can give the answer.. Thanks in advance...
How to capture the text from the application using QTP?
What kinds of security (firewalls, encryptions, passwords, etc.) will be required and what is it expected to do? How can it be tested?
I want to know what are QTP functons and what are VB script functions. What is the difference between them.When we have to use these functions.
what are the cases in which we use XML and accessibility check points.
How to test fly out menu in qtp?
what is exact difference between smoke and sanity testing?
what is vss and cvs what is main difference b/w these two
Can launch two instances of qtp on the same machine?
What is object identification?
How does quicktest professional (qtp) identifies the object in the application?