bev77
3 years agoNew Contributor
Trying to select a random value from a data source
Hi
I'm running a test whereby I fill out a form that requires first name, last name, email address. I don't want a data loop as I'm only completing the form out once.
I found this post which I thought was going to work.
However when executing the test it fails for the following reason 'Unable to evaluate the operation's "Text" parameter. Error: ReferenceError: Variables is not defined'.
I've set my value in the test as per this post as a code expression
Variables.Names("Name", KeywordTests.addEmployeePage.Variables.CurrentNumber)
I'm new to TestComplete so not sure if I've done something wrong or its not possible to select a one off random value from a data source?
Thanks
Ian