Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
how to identify non-editable text field
#5
Solved: 11 Years, 3 Months, 4 Weeks ago
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.
Reply


Messages In This Thread
RE: how to identify non-editable text field - by guin.anirban - 02-24-2014, 06:31 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Read text from text file and save it into a variable in qtp arpan 3 12,975 06-19-2013, 08:34 PM
Last Post: arpan
  Need to compare two text files - ignoring some text nelly27281 2 4,584 09-09-2012, 12:09 PM
Last Post: freeboynil
Exclamation How to enter text in webedit field..... Unleash Rajesh 6 23,118 09-01-2011, 02:07 PM
Last Post: SQT
  Cell Editable or Not in JavaTable anshul.grg07 0 2,718 05-18-2011, 01:00 AM
Last Post: anshul.grg07
  Finding specific text in a text string janriis 3 5,520 10-08-2010, 04:00 PM
Last Post: KavitaPriyaCR

Forum Jump:


Users browsing this thread: 1 Guest(s)