The user code will report to the log when I run the .rxrec but when the .rxrec is included in a suits .rxtst I get no logging.
What am I doing wrong?
Here is the code. with a number of different variations of attempts to log.
Public Sub CheckIfLoginExists() report.Info("Validation", "Check if Login Exists") Report.Log(ReportLevel.Info, "Validation", "Check if Login Exists", repo.MainTCMenu.Shortcut_BarInfo, New RecordItemIndex(-1)) Report.Log(ReportLevel.Info, "Validation", "Check if Login Exists", repo2.TaskCentreDialogs.Login.SelfInfo, New RecordItemIndex(-1)) If repo2.TaskCentreDialogs.Login.SelfInfo.Exists() Then Report.Log(ReportLevel.Info, "Validation", "Login Exists - Will fill in Login Form.", repo2.TaskCentreDialogs.Login.SelfInfo, New RecordItemIndex(-1)) 'Login.Instance.varPassword = TCPassword 'Login.Start() Else Report.Log(ReportLevel.Info, "Validation", "Login Form Does Not Exist - No Action Required.", repo2.TaskCentreDialogs.Login.SelfInfo, New RecordItemIndex(-1)) End If End Sub
Any help appreciated.