SmartBear Connect 2018
Join us at SmartBear Connect 2018 on October 29th & 30th in Boston, MA.
Come meet the team behind your tools – get your ticket today!
Reply
Highlighted
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

Posts: 5,634
Topics: 43
Kudos: 2,491
Solutions: 503
Registered: ‎11-30-2009

Re: TestVisualizer taking screenshots before setText

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
[Community Expert Group]
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.

Extensions available
Community Leaders Program