Ask a Question

Is it possible to host webservices using my testcomplete

srinivasachary
Occasional Contributor

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 5
AlexanderM
Staff


Hello Srinivasachary,





TestComplete can't host a web service, it does not implement web server functionality.

However, TestComplete can call methods of web services - see the "Functional Testing of Web Services" help topic:

http://www.automatedqa.com/support/viewarticle/?aid=2588


-----

Alexander
Customer Care Manager
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,
AlexanderM
Staff


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.
-----

Alexander
Customer Care Manager
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
Community Hero

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.)
Regards,
  /Alex [Community Hero]
____
[Community Heroes] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Heroes]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Hero] signature is used with permission by SmartBear Software.
https://community.smartbear.com/t5/custom/page/page-id/hall-of-fame
================================
cancel
Showing results for 
Search instead for 
Did you mean: