Solved
Forum Discussion
Marsha_R
Champion Level 3
What you have in the testenvironment variable is a string and you need it to be an object.
In vbscript I would use
set testenvironment = "Aliases.browser." + testenvironment
or maybe
testenvironment = eval("Aliases.browser." + testenvironment)
blbdt36
9 years agoContributor
Thanks for the response!
That's what my developer said, too.
For JScript, it looks like this
Aliases.browser[testenvironment].Wait(1000);
Related Content
Recent Discussions
- 2 days agovladd1