I have constructed and registered a DCOM test agent as per the Mercury Open Test Architecture Guide. The test agent is recognized, and started. However, i can't
return any BSTR data from the agent to TD. In the TD scheduler's status window first i get the proper sequence of messages - i.e...connecting -..connected. But then the status field is filled with garbage from the periodic get_status calls that TD issues.
Anyone has implementation sample code for the getstatus method that they can share to help me out?
I might as well answer my own question here since not many appear to be doing test agent development for TD. I checked and the Mercury documentation has not been corrected for several years on this item. Unlike the other agent methods, get_status uses a BSTR* pointer and the documentation should read:
I say to my friends at Mercury, your documentation of the Open Test Architecture is anything but open. It is the bare acceptable minimum but far from being good as anyone who tried to develop custom agents will testify. Like everything, this has its own good reasons too. Our dear friends at Mercury would like to sell you on Open System solutions and then get contracted as high priced consultants to implement it - that is what they are really up to in case you have not figured it out yet.