internal PopupPage CompareProducts(IWebDriver driver) { ReportHelper.TestStepInfo("Comparing products in compare list.."); CompareButton.Click(); ReportHelper.TestStepInfo("New window pops up.."); driver.SwitchTo().Window(driver.WindowHandles.Last()); ReportHelper.TestStepInfo("Window switch Success..."); return(new PopupPage(driver)); }
void ReleaseDesignerOutlets() { if (CompareButton != null) { CompareButton.Dispose(); CompareButton = null; } if (CompareRadioMatrix != null) { CompareRadioMatrix.Dispose(); CompareRadioMatrix = null; } if (DetailsView != null) { DetailsView.Dispose(); DetailsView = null; } if (FederationNodeView != null) { FederationNodeView.Dispose(); FederationNodeView = null; } if (FederationViewMessage != null) { FederationViewMessage.Dispose(); FederationViewMessage = null; } if (NodesTableView != null) { NodesTableView.Dispose(); NodesTableView = null; } if (SchemaViewTitle != null) { SchemaViewTitle.Dispose(); SchemaViewTitle = null; } if (ViewObjectClassDiffButton != null) { ViewObjectClassDiffButton.Dispose(); ViewObjectClassDiffButton = null; } if (ViewAttributeTypeDiffButton != null) { ViewAttributeTypeDiffButton.Dispose(); ViewAttributeTypeDiffButton = null; } }
void ReleaseDesignerOutlets() { if (CompareButton != null) { CompareButton.Dispose(); CompareButton = null; } if (FirstWordTextField != null) { FirstWordTextField.Dispose(); FirstWordTextField = null; } if (ResultLabel != null) { ResultLabel.Dispose(); ResultLabel = null; } if (SecondWordTextField != null) { SecondWordTextField.Dispose(); SecondWordTextField = null; } }
public void ClickCompareButton() { CompareButton.Click(); }