How to test menu options using qtp

Answer Posted / sudha

Can you specify what exzactly u want to check in menu ?

Mostly we check wheter the menu option is exist or enable:
window("name").winmenu("name").exist(2)
OR
rc = window("name").winmenu("name").GetROProperty
("Enabled")
above command will return TRUE if menu is enabled elase
FALSE

Is This Answer Correct ?    6 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How does quicktest professional (qtp) identifies the object in the application?

665


how to explain a claims and insurance project?

1858


How will you test a keyboard?

696


How to handle Java tree in QTP?

857


please give me the code for doing retesting of gmail login page using functions so the function has to give the value

1634






Explain the concept of how quicktest professional identifies object?

621


Does Low-level recording capture mouse movements?

673


Problem with XML checkpoint in QTP ?

3603


What is a Patch in QTP?

690


What is difference between Recording time object identification and Run time (Execution) time.

1102


In Test Directory, What are the contents in test case designing? if you prepare in excel sheet how u use thrw Test Directory?

1571


What is fragmentation and paging?

1674


in qtp if we record a object and we record the object using virtual wizard then by which way the object is recognized that means recorded

1610


how can you do retesting (datadriven test) using notepad amd by using functions NOTE u should not use datatable methods

1470


How does you pass optional arguments in qtp?

659