DataSet.Text
When I set this up the only thing I get is .schema and my output always comes up as undefined even though there are text messages in my log and the if condition is passing. it does not throw an error but the text message always has undefined in my output.
for (var i = 0; i < Num; i++)
{
var LogItem2 = LogsCol.LogItem(i);
var LogData = LogItem2.Data(0);
var Sch = LogData.Scheme;
var LogDataType = Sch.DataType;
if ( LogDataType == ldtText )
{
LogText = LogText + LogData.Txt + "<br />";
}
results when appended as:
Results The Keyword Test Log [Sales_Order_BankWire] item has the following status: Passed
Tests Cases Run: 4
ErrorCount: 0
Warning Count: 0
undefined
I am trying to parse out my messages I am leaving in my test log and put them in my email summary and while I can count the messages and it detects them I can't get the contents.