• 0

Selenium IDE - Verify MaxLength of Textbox


Question

Zimmyantz

Hi Neowinians!

I'm writing some automated tests using Selenium IDE for a website, so far the tool is quite powerful, especially for a Chrome extension. I want to automate the checking of text field character limits on a form. 

I'm thinking it revolves around the Assert command with a locator, but not sure how to get it to look at the limit set in the form control: 

<input class="form-control" onkeypress="return isNumberKey(event) &amp;&amp; limit(this, 10)" type="text" id="Number" name="Number" value="">

Any help is greatly appreciated.

Link to post
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

This topic is now closed to further replies.
  • Recently Browsing   0 members

    No registered users viewing this page.