Quality Testing

Quality is delighting customers

Hi All,

 

 

There is OK button during execution it is changed to Cancel button. Using QTP how do you handle this situation?

 

As per my knowledge we can use smart object identifiaction or Regular expressions or Descriptive Programming

 

is ther any other way to identify?

 

 

Regards

Sirisha

Views: 105

Reply to This

Replies to This Discussion

Use descriptive programming to identify the required object using x and y coordinates
Use descriptive programming! Let me know if any syntax related assistance is required.
Also spy the object and try to use html id propery of the button instead of name!

Happy Automation Testing!


Regards,
Shirish
In this scenario, dont add the Name of the button to the OR but add only the window id. and try to get the name of the button at the run time using getRoProperty. If the getRoproperty returns "OK" then click the same :)

V V K

RSS

TTWT Magazine


Advertisement

Advertisement

Advertisement

Advertisement

© 2020   Created by Quality Testing.   Powered by

Badges  |  Report an Issue  |  Terms of Service