Ask a Question

TestVisualizer taking screenshots before setText

Novari-QA
Frequent Contributor

TestVisualizer taking screenshots before setText

Does anyone else find this annoying. When looking at the pictures of the test visualizer, when ever I settext it takes photos before actually setting the text. so it puts a big red bar around the input text field but doesn't show that the text was entered.

 

"The text 'Novari' was entered in the text editor." - But the photo doesn't show anything being entered.

 image.png

1 REPLY 1
tristaanogre
Esteemed Contributor

Have you confirmed that the text is actually set?  

Also... SetText is good for rapid entry... but it doesn't always trigger events on controls.  I've found this ESPECIALLY with login forms... usually the code on login forms do not allow "SetText" to enter the password since it violates the security of password fields.  So... the error you have in your screenshot MAY be due to either the "OnExit" event or something not getting fired OR "SetText" actually preventing data entry.  Try replacing "SetText" with "Keys".


Robert Martin
[Hall of Fame]
Please consider giving a Kudo if I write good stuff
----

Why automate?  I do automated testing because there's only so much a human being can do and remain healthy.  Sleep is a requirement.  So, while people sleep, automation that I create does what I've described above in order to make sure that nothing gets past the final defense of the testing group.
I love good food, good books, good friends, and good fun.

Mysterious Gremlin Master
Vegas Thrill Rider
Extensions available
cancel
Showing results for 
Search instead for 
Did you mean: