Class LogBook
Implements all methods to required to generate the execution log
Inheritance
System.Object
LogBook
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Quark.XA.Core.AutomationProject.CoreUtilities
Assembly: Quark.XA.Core.AutomationProject.dll
Syntax
public class LogBook
Constructors
LogBook()
Declaration
public LogBook()
Methods
AddLog(String, String, String, String)
add to log whenever testcase is pass/fail
Declaration
public void AddLog(string testCaseId, string testCaseName, string testStatus, string testError = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | testCaseId | Id of TestCase in tfs |
| System.String | testCaseName | |
| System.String | testStatus | Status = Pass/Fail |
| System.String | testError |
AddLogResults(String)
add to log for test case status
Declaration
public void AddLogResults(string resultLog)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | resultLog | test case execution details to log in result file |