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:
Friday Windows 11 preview builds are here. Insiders in the Experimental (formerly Dev) and Beta Channel can download builds 26300.8697 and 26220.8690.
My Windows11 device on the Preview Channel just got 26220.8728. My guess is this build is a nightly update from 26220.8690.
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) && limit(this, 10)" type="text" id="Number" name="Number" value="">
Any help is greatly appreciated.
Link to comment
https://www.neowin.net/forum/topic/1394090-selenium-ide-verify-maxlength-of-textbox/Share on other sites
0 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now