Forum Discussion

Nawab_Shaikh's avatar
Nawab_Shaikh
Occasional Contributor
9 years ago

Parameterize the Script: Namemapping

I have large number of objects in my suite.

 

Is there a mechinsm like Excute method in Test Complete like in QTP.

So that I can read my DOM from a text file and generate executable objects on the fly.

 

Regards,

Nawab

1 Reply

  • exec()

     

    Sounds like what you want. (You don't say what scripting language you're using)

     

    It will treat whatever string you pass it as code to run.