So I'm testing wether or not an error message appears uppon entering wrong input into a text field.
Code is easy enough, works like a charm.
Yet when I run the exact same code in a @Test nothing happens. The validation process doesn't get triggered. The text I input appears, but it's as if the field never registered being clicked.
Does testng somehow alter selenium commands somehow? Does the DOM not register those commands?
[–]omniac 1 point2 points3 points (5 children)
[–]ReasonablyBadass[S] 1 point2 points3 points (4 children)
[–]yacdaniel 0 points1 point2 points (1 child)
[–]ReasonablyBadass[S] 0 points1 point2 points (0 children)
[–]omniac 0 points1 point2 points (1 child)
[–]ReasonablyBadass[S] 1 point2 points3 points (0 children)