I have simple C# code that checks for existence of a button on a dialog box. Here's the code with a bunch of debug log statements added:
Code: Select all
Report.Debug("Checkpoint A");
Report.Log(ReportLevel.Info, "Waiting a total of: " + repo.ScribeWorkbench.ScribeWorkbenchDialogTextStrings.SaveChangesTextInfo.SearchTimeout + " for the Save changes dialog. Contact Automation Team if timeout needs to be increased.");
Report.Log(ReportLevel.Info, "Waiting a total of: " + repo.ScribeWorkbench.ScribeWorkbenchDialogTextStrings.SearchTimeout + " for the ScribeWorkbenchDialogTextStrings object. Contact Automation Team if timeout needs to be increased.");
Report.Log(ReportLevel.Info, "Waiting a total of: " + repo.ScribeWorkbench.SearchTimeout + " for the ScribeWorkbench object. Contact Automation Team if timeout needs to be increased.");
Report.Debug("Checkpoint B");
if (repo.ScribeWorkbench.ScribeWorkbenchDialogTextStrings.SaveChangesTextInfo.Exists())
{
Report.Debug("Checkpoint C");
Report.Log(ReportLevel.Info, "The Save changes dialog appeared, clicking No.");
Report.Debug("Checkpoint D");
repo.ScribeWorkbench.No.Click();
Report.Debug("Checkpoint E");
}
else
{
Report.Debug("Checkpoint F");
Report.Log(ReportLevel.Debug, "The Save changes dialog did not appear.");
Report.Debug("Checkpoint G");
}
In 4.1.4 (and 4.1.0) running the same exact code, the time between the 2 points is 65-66 seconds. I attached screenshots of log output for each case.
4.0.x log output: 4.1.x log output: Any idea if this is a known problem?
Thanks
Greg