Contributions
Re: I want to get the contents of the log during the test.
Thank you npaisley. I can now get values from the log during the test. def LogTableDataExample(): # # Obtains a collection of logs LogsCol = Project.Logs # # Obtains the first log item LogItem = LogsCol.LogItem[0] # # Obtains the first dataset DataSet = LogItem.Data[0] # # Obtains the total number of rows in the dataset Num = DataSet.RowCount Log.Message(Num) Row = DataSet.Rows[0] #DataC = Row.ChildRow[0] # # Obtains the message of the current row Val = Row.ValueByName["Message"] Log.Message(Val) I have another problem. Row = DataSet.Rows[0] I can get the message of the log using the code above. But I don't know if the message in that Row is error or normal. Can I know the status of that Row? Row.Status This code is impossible326Views0likes0Comments