Forum Discussion

jusbat's avatar
jusbat
Occasional Contributor
12 years ago

Web Service wsdl URL as variable

Hi all, Hopefully someone will be able to help me. I have a TestComplete project in JScript and I am trying to control the wsdl URL of a web service I have included in my Project. Basica...
  • AlexKaras's avatar
    12 years ago
    Hi Justine,



    I think that instead of:

    ProjectSuite.Variables.Service = eval(testedServiceName);



    you should try this:

    ProjectSuite.Variables.Service = eval('WebServices.' + testedServiceName);



    I.e. evaluated expression should be a string with the value like this (without quotes):

    'WebServices.WS_[IP]'



    Does this help?