Forum Discussion
- Hi William,
TestComplete can work with COM ports directly as described in the Working With COM Ports From Scripts help topic, but I suppose that's not what you need. Could you please clarify your task? - williamleeContributorHi
thanks for your reply. Yes it suit my application. Btw, may I know is there any available event support for the serial port dotnet?
My application is like this.
Two computer is connected together by using serial port, when one PC is sending some message to another PC thru serial cable, another PC is being trigger and goto process message.After finishing process, it continue is original task. Rather than looping for asking any available message, I think whether TC provide any event that same as C# application(DataReceive Event).
thanks - Hi William,
TestComplete does not have any built-in features for COM ports communication - it just allows using a COM object or .NET Framework objects to work with such ports. If you need to integrate your test script with some C# code intensively, you can either create a simple external .NET application and use it as an interface between TC and the COM port or create a Connected application to insert your TestComplete code into a C# application.
Related Content
- 5 years ago
- 9 years ago
- 12 months ago
- 10 months ago
- 4 years ago
Recent Discussions
- 6 days ago
- 14 hours ago
- 23 hours ago