MaxLength validation in Internet Explorer
Posted: Fri Jul 03, 2015 8:47 am
Hi,
I've had an interesting issue with validation of MaxLength field value when running ranorex test in IE (11) on two different machines. In Firefox (38.0.5) and Chrome (43.0.2357.130) the test runs properly and gets the proper value of the field (150) where in IE it returns an error (does not match the specified value (actual='(null)', expected='150')).
This is the code from the application:
IE:
FF:
Chrome:
The repository item in Ranorex:
Recording item in Ranorex:
I've tried to set value in Match name to lower-case maxlength, but to no avail. This is the only textarea object with this id on the page.
Any tips on how to manage this for IE?
I've had an interesting issue with validation of MaxLength field value when running ranorex test in IE (11) on two different machines. In Firefox (38.0.5) and Chrome (43.0.2357.130) the test runs properly and gets the proper value of the field (150) where in IE it returns an error (does not match the specified value (actual='(null)', expected='150')).
This is the code from the application:
IE:
Code: Select all
<textarea name="note" class="in_popup" id="add_note_text_id" maxlength="150" type="text" value=""></textarea>
Code: Select all
<textarea name="note" class="in_popup" id="add_note_text_id" maxlength="150" type="text" value=""></textarea>
Code: Select all
<textarea id="add_note_text_id" maxlength="150" name="note" type="text" class="in_popup" value=""/>
The repository item in Ranorex:
Recording item in Ranorex:
I've tried to set value in Match name to lower-case maxlength, but to no avail. This is the only textarea object with this id on the page.
Any tips on how to manage this for IE?