05-04-2011 09:19 AM
Hi,
I'm trying to integrate TestStand with TestComplete using the ActiveX/COM server adapter. I have the COM setup so that TestStand can call a test in TestComplete and have TestComplete return a string value (true|false) to TestStand.
Now I need to get the TestStand report to display "pass" or "fail" text for this sequence call, based on the return string from TestComplete.
Is there someplace in Expressions or Post Actions that I can state and how:
return value "True" = pass
return value "false" = fail
Thanks.
Solved! Go to Solution.
05-04-2011 10:12 AM
Hi,
Option 1.) Use a String Value Test. The Limits.String would be 'True'. This would be the easiest because you already returning strings from your ActiveX call. You could make your ActiveX calls a String Value Test.
Option 2.) Use a Pass/Fail Step. You could set the returned string to a local variable and then create another Pass/Fail step that would have the Pass/Fail criteria as Locals.StringReturned == 'True'
These are two options that hopefully can get you started....
Thanks,
PH
05-04-2011 01:18 PM
Thank you so much. It works now.