| || |
verifying enabled/disabled state of save,save as in excel
I have to verify that the save and save as button is enabled or disabled for notepad as well as for excel using QTP.For excel I am unable to verify the same as qtp is taking the whole excel sheet as an single object.
In the excel sheet the save and saveas are disabled.here i need to verify that whether they are enabled or disabled.
For notepad the script is
Window("Notepad").WinMenu("ContextMenu").Select "File;Save As..."
But for excel
Window("Monthly Territory GSK").Window("File").Click 6,-9
Window("Monthly Territory GSK").Window("File").Click 57,98
here it is taking the whole file as an one object and not considering the save and save as buttons.
Pls help me with the solution