I am writing code in Visual Basic 2010 to create manual test cases with design steps using the OTA API for QC v11. I have discovered a difference in behavior if I use early binding vs. late binding for the API DLL.
The code behaving differently is
objTest.Field("TS_DESCRIPTION") = "Text"
If I use early binding (add a reference to the OTAClient.dll into my project) then the code stores the text into the specified database field.
If I use late binding (objTDConnection = CreateObject("TDApiOle80.TDConnection") ) the line of code does nothing. It throws no errors or exceptions. The text is not stored in the specified field.
Yes, I am executing the Post method for the Test object to make sure the changes are updated to the database.
Has anybody else encountered this? Thanks in advance.
(Opinions and information contained in this post are wholly my own and do not reflect the opinions of my employer.)