I have used the following code to check the button status of the window. If I click to particular link my New button is enabled. till then it is disabled. Even if the button is disabled, I am getting message "PASS"
I think your button is not getting recognized by "@New". Do one thing, with Record mode click on this button & then check how it is recognizing this button for eg. "@New" or "~1" or "~2".
Do the change accordingly..
Thanks for your response. It recognise the object New push button. When I double click that particular ButtonFind("@New") command, Modify Map Details window opens. I click on Find button to check if it recognizes or not, in fact it recognizes.
Do u know any other way to check the status of the push button?