![]() |
How to raise an exception handling for an edit box without using On error resume next - Printable Version +- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums) +-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP) +--- Forum: UFT / QTP Regular Expressions (https://www.learnqtp.com/forums/Forum-UFT-QTP-Regular-Expressions) +--- Thread: How to raise an exception handling for an edit box without using On error resume next (/Thread-How-to-raise-an-exception-handling-for-an-edit-box-without-using-On-error-resume-next) |
How to raise an exception handling for an edit box without using On error resume next - syedabu - 10-06-2008 Can anyone send me a piece of code that handles all the exception for an edit box. For example, if the edit box is disabled then it should have been handled If the data entering is out of range and a pop up comes for that then it should also be handled RE: How to raise an exception handling for an edit box without using On error resume next - VENKATAREDDY_M - 10-06-2008 Hi, Here we can do two things. You can create one exception for Object State and one for popup Else Write a Function to handle both and call while exception Hope you got it -VENKATA REDDY RE: How to raise an exception handling for an edit box without using On error resume next - syedabu - 10-06-2008 Thanks for it...but i need some piece of code to take a look on how you handled those things. If possible can u pls send it across. |