Posts: 49
Threads: 0
Joined: Nov 2009
Reputation:
0
11-24-2009, 12:02 PM
Hi Anbarasu,
Check the WebEdit("Test")'s 'max length' property is set to 255. If you set a string more that 'max length', QTP will through the error message.
If it is 'max length' is 255, you can't set a string with 256 length.
Posts: 44
Threads: 30
Joined: Aug 2009
Reputation:
0
11-24-2009, 05:45 PM
S... U are rite..
But, how can we verify that the field is not accepting the data which exceeds its max length
On error we can skip this step and proceed to next step.. But how can we capture that "In correct parameter" gets displayed while executing the step (entering max length +1)
Posts: 1,003
Threads: 1
Joined: Jul 2009
Reputation:
5
11-26-2009, 02:54 PM
How would you do it manually ?? I guess the application would throw a error message stating the length is long or something like that...Does it not ?
if you get that message then you can see for the text and determine.
Basanth
Give a fish to a man and you feed him for a day..Teach a man how to fish and you feed him for life.