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, Can we open a test in qtp10 which is saved in qtp 9.2?
Explain the difference between call to action and copy action?
How to connect to a database?
This is Ajay i have few douts if anybody know pls give me reply. 1. i have opend 2 gmails i am working with 1 gmail i want to close other gmail by usig script. 2.i have 10 links in a page all of them have same properties& names i want to click on 5link by using script. 3.i have one combobox in that i want to see all the citynames in the combobox and i have to check weather hyderabad is present or not. 4. size of objectrepository. 5.what r problems we get during writing the script. 6.is it possible to compare to excel sheets in qtp if possible wht is the script. 7.example for lowlevelrecording
In an interview, what r the general questions asked in SQL which is realted to testing ?pls give me anwser to this question?
To which environments does quicktest professional supports?
I am using Shared OR, and my collegues are also using Shared OR. How to merge Object Repositories?
hi guys, could you please prepare script for given format ? 1,1,2,3,5,8,13,21,...etc use vbscript for this...?
Hi Small doubt . i am working as Contract employee in XYZ comany thrw ABC Consultancy. so. How i write my resume ? In Professional experience Column. plz send urgent
If the object property is changing very frequently, what was your approach?
How to recognise the webelement and verifying that webelement is enabled?
What are the different types of action?