02-24-2014, 06:31 PM
There are two ways to do it.
1. Try with GetROPRoperty("enabled") or GetROPRoperty("disabled") property. You will succeed 90% time by this.
2. Use error handling mechanism. Try to put some text in your textbox and capture the err.number. If error occurs then err.number will return non zero value, which in turn make your test pass otherwise fail. But keep your test inside error handling part.
1. Try with GetROPRoperty("enabled") or GetROPRoperty("disabled") property. You will succeed 90% time by this.
2. Use error handling mechanism. Try to put some text in your textbox and capture the err.number. If error occurs then err.number will return non zero value, which in turn make your test pass otherwise fail. But keep your test inside error handling part.