Ask a Question

Unknown reason for errors in the logs while filling out the userform

Occasional Contributor

Unknown reason for errors in the logs while filling out the userform



I'm using a user form to configure some tests and then run it. It works just fine, but I keep getting this error in the test logs. Could anyone please point to what seems to be wrong or what might be causing this error? 




Here's the snippet I have used for accepting the values in the cxUserName field.


//Username validation
function cxUserName_OnChange(Sender)
Project.Variables.LOGON_ID = Userform.cxUserName.Text;



Thank you


Champion Level 3



It is my guess that OnChange event is triggered too often (for example, for every keypress).

Is it really necessary to (re)assign the value to the project variable for every change in the text field? Why not to do all required assignments on form close when user completed all settings and is ready to proceed?


  /Alex [Community Champion]
[Community Champions] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Champions]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Champion] signature is assigned on quarterly basis and is used with permission by SmartBear Software.
SmartBear Alumni (Retired)

Alex, thank you for your advice!

@Al2 Have you tried following it? What is your result?

Sonya Mihaljova
Community and Education Specialist

Showing results for 
Search instead for 
Did you mean: