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

hi in real time who will execute the qtp test scripts? my faculty said, in a companty automation testers are written the test scripts and manual testers are execute the test scripts...IS IT RIGHT OR NOT?

2811


what is actually contain test report? can anybody post the test report

1475


What is optional step in qtp? How you can add optional step in qtp?

536


How do you check ticket cost and ticket number in flight application?

591


Hi All, I have QTP installed on my machine but the application under test (AUT) is on remote desktop.My scenarios is like that,it should contain following steps. 1)Automatically it should click on start and then on remote desktop connection. 2)it should enter the IP address and then connect to remote desktop. 3)and then it should be able to record the application in remote machine and then run it also. Can somebody tell me how to record the application which is in remote machine.

1491






Hi all, I am using windows vista, I am in the process of learning QTP. When ever I try to work with insert mode in flight application , i am getting the error of 'Operation must use an update table query, fractional truncation(null) error. Can anyone help me regarding this?

1395


What are the general steps involved in the data driven framework?

561


What is a recovery scenario?

575


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

1384


how to create flat file datasubmission in qtp

1909


hi i am working with vbwindow on qtp.first i am openning qtp whenever open qtp my application not open that time generated error like "Runtime error 0" and fatal error:automation error how to solve this problem pls tell me

1882


How to suppress warnings from the test results page?

605


Can anyone tell me how i used QTP 9.2 use for GIS based S/w with an example?

1690


how to download mercury qtp9.2 ny internet ?

2966


How we can import data from database?

651