Nobody
Nobody

Reputation: 11

Validate data driven testing

I got the code for getting the data from excel and den using in selenium.

My problem is that when i give invalid data in the text boxes those are also getting accepted!! But when i checked by entering those invalid data in the same text box its not accepting

Upvotes: 1

Views: 196

Answers (1)

Sergii Pozharov
Sergii Pozharov

Reputation: 17848

Can you provide little bit more details?

Maybe your test boxes have some client-side JavaScript verification which is not triggered when you are setting the values. You can try to use something like sendKeys or trigger the check with JavaScript

Upvotes: 1

Related Questions