Forum Discussion

PaulF's avatar
PaulF
Occasional Contributor
5 years ago

dynamic function names

Hi Everyone,   TestComplete 14, project in JS   We're currently testing an app on Android and are trying to get ourcode dynamic, so that the Device can become some sort of global variable (execut...
  • BenoitB's avatar
    5 years ago

    Try the so-devil-and-must-be-hidden-because-too-powerful function eval() ...

     

    loginScreenImage = eval("Regions." + loginScreenName);