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 |
can anyone tell me how to search a word/line in a document and to paste it in another file? Thanks in advance.
Hi, Am trying to download QTP 8.2 version.its not supporting Windows Vista.Can you please help me out from this.Which QTP version supports this. Thanks in Advance.
What is the difference between run time object and test object?
In QTP, while launching qtp application from startup.. we find Advanced Keyword-Driven Testing caption.. wht is that...Anybody can pls explain it. Thanks in Advance
what are the metrics in general we use in testing.
explain virtual object? in detailed? pls any one explain me?
before launching qtp, we need to close all the open browsers u dont know what are all the browsers either it might be ie,mozilla etc and u dont know how many brosers are open.... u need to close all these before launching qtp.. can anyone plz temme d solution...
how to test one edit box using Java addin for Web Applications? write script?
Few basic questions on commonly used Excel VBA functions.
Explain script generated after applying database check point?
What is checkpoint in qtp?
Can we write winrunner language i.e TSL in QTP tool?