07-09-2013 06:06 AM
I want to use c++ builder just use TS Engine to build a UI interface.
I create a sequence file and use call backs(SequenceFilePostResultListEntry) to call PostUIMessageEx method(Set activeXDataPara is Parameters.Result).
The question is how to get step result by UI side, like numeric test value, test staut("Done"/Pass"/"Fail") etc.
if (!Engine1->IsUIMessageQueueEmpty)
{
UIMsg = Engine1->GetUIMessage();
vMesCode = UIMsg->Event;
if(vMesCode == 10001)
{
sStringData = UIMsg->StringData; //return step name
dNumericData = UIMsg->NumericData; //return 0
//how to analytic ActiveXData? type is IUnknow.
}
UIMsg->Acknowledge();
}
Many thank
07-10-2013 05:03 AM
Update stauts, I found some solution to get ActiveXData and analytic parameters.result.
PropertyObject ProObj = MyContext.AsPropertyObject();
PropertyObject ProObjResult = ProObj.GetPropertyObject("Parameters.Result",0);
The next question is how to get result by engine OnUIMessageEvent? Current is use timer loop.
Any ideas?