Forum Discussion

srinivasachary's avatar
srinivasachary
Occasional Contributor
15 years ago

Is it possible to host webservices using my testcomplete

Hello All,



Kindly let me know, if it is possible to host webservices using the script ( VBscript, JavaScript, C#).



or




is there a way for the webservice hosted by IIS to talk to the script in TestComplete6?



Thanks in Advance,

Srinivasachary.

5 Replies

  • srinivasachary's avatar
    srinivasachary
    Occasional Contributor
    Thank Alex for your reply.



    Yes I have seen the help for Testing Webservices in Test Complete. 



    I am trying to create a host for webservice that is able to talk to my script in TestComplete. Since I need to integrate my testcomplete scripts with Windows Workflow (WWF)( Automation Framework I am using) . For that I need to develop a script. Do you have any solutions to this. I appreciate if you can give me any other solutions.





    Thank you,

    Srinivasachary,

  • Hello Srinivasachary,





    Sorry, we don't have anything like this. I can try to suggest something if you describe your task in detail:

    How exactly do you need to integrate the script into your framework?

    Do you need to run the scripts from another program?

    That is, I need to know what exact functionality/behavior you need from TestComplete's side.
  • srinivasachary's avatar
    srinivasachary
    Occasional Contributor
    Hello Alex,



    Here are my questions.


    1. Can TestComplete scripts be compiled into a library (.dll) to be invoked directly in a standard C# application (.exe)?


    2. I want to run the TC scripts from C# code. How? 



    Please give suggest me is it possible?



    Thanks,

    Srinivasachary.


  • AlexKaras's avatar
    AlexKaras
    Champion Level 3
    Hi Srinivasachary,



    > Can TestComplete scripts be compiled into a library (.dll) [...]

    No, this is not possible.



    > I want to run the TC scripts from C# code. How?

    Have a look at "Connected Applications", "Creating Connected Applications in C#" and related help topic. (TestComplete/TestExecute must be installed on the machine running the test anyway.)