private void ShowSpecficFrameLearnConfigPanel() { if (mAppPlatform.Equals(ePlatformType.Java)) { xSpecificFrameConfigPanel.Visibility = Visibility.Visible; } else { xSpecificFrameConfigPanel.Visibility = Visibility.Collapsed; } }
private void UpdateCustomTemplateList() { if (xCustomRelativeXpathTemplateFrame.xCustomRelativeXpathCofigChkBox.IsChecked == true && (mAppPlatform.Equals(ePlatformType.Web) || mAppPlatform.Equals(ePlatformType.Mobile))) { mWizard.mPomLearnUtils.POM.RelativeXpathTemplateList = new ObservableList<CustomRelativeXpathTemplate>(xCustomRelativeXpathTemplateFrame.RelativeXpathTemplateList.Where(x => x.Status == CustomRelativeXpathTemplate.SyntaxValidationStatus.Passed)); } else { mWizard.mPomLearnUtils.POM.RelativeXpathTemplateList.Clear(); } }
private void UpdateCustomTemplateList() { if (mAppPlatform.Equals(ePlatformType.Web) || mAppPlatform.Equals(ePlatformType.Mobile)) { if (xCustomRelativeXpathTemplateFrame.xCustomRelativeXpathCofigChkBox.IsChecked == true) { mWizard.mPomDeltaUtils.POM.RelativeXpathTemplateList = xCustomRelativeXpathTemplateFrame.RelativeXpathTemplateList; } else { mWizard.mPomDeltaUtils.POM.RelativeXpathTemplateList.Clear(); } } }