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

What are the types of data tables in qtp?

581


What is the significance of “action 0” in qtp?

561


What are the challenges u faced in testing with crm domain? How u overcome with?

1483


Explain more about the Test Fusion Report of QTP?

603


tell me abt a time when u had to go above &beyind the call of duty to get the job done

1438






How to execute a winrunner script in quicktest professional (qtp)?

513


Name the properties you would use for identifying a browser and page when using descriptive programming?

520


Do you know how to connect database? Can you tell me the procedures?

545


What are the technologies supported by qtp?

557


Hi, how can we check or avoid the memory leakage in QTP9.2?

1698


Can we write winrunner language i.e TSL in QTP tool?

1472


Give me detailed theritical explanation about keyword driven, hybrid framework, environment variables, hybrid frame work

1438


What is contained in the object repository?

611


How will you find the current time of the remote machine using QTP script?

591


Is it possible to use two instances of UFT on the same machine? If not why?

595