public void TestCNLMDVHideDefectLabels() { TestCaseExternalID = "CGN-137"; MultiDefectViewerDisplayOption.LoadDisplayOptionsWindow(); MultiDefectViewerDisplayOption.ShowDefectLabels(false, ""); MultiDefectViewerDisplayOption.ApplyAndCloseDisplaySettings(); MultiDefectViewerDisplayOption.LoadDisplayOptionsWindow(); MultiDefectViewerDisplayOption.VerifyShowDefectLabels(false, ""); MultiDefectViewerDisplayOption.ClickOk(); }
public void TestCNLMDVShowDefectLabels() { TestCaseExternalID = "CGN-109"; String[] labels = { "Class", "Symbol", "Severity", "Defect No.", "Box Top", "Box Bottom" }; for (int index = 0; index < labels.Length; index++) { MultiDefectViewerDisplayOption.LoadDisplayOptionsWindow(); MultiDefectViewerDisplayOption.ShowDefectLabels(true, labels[index]); MultiDefectViewerDisplayOption.ApplyAndCloseDisplaySettings(); MultiDefectViewerDisplayOption.LoadDisplayOptionsWindow(); MultiDefectViewerDisplayOption.VerifyShowDefectLabels(true, labels[index]); MultiDefectViewerDisplayOption.ClickOk(); } }