Solved
Forum Discussion
Marsha_R
9 years agoChampion 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)
- blbdt369 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 agoGane195