public void WizardEvent(WizardEventArgs WizardEventArgs) { switch (WizardEventArgs.EventType) { case EventType.Init: mWizard = (PomDeltaWizard)WizardEventArgs.Wizard; if (mWizard.mPomDeltaUtils.POM.TargetApplicationKey != null) { mAppPlatform = WorkSpace.Instance.Solution.GetTargetApplicationPlatform(mWizard.mPomDeltaUtils.POM.TargetApplicationKey); } SetAutoMapElementTypes(); SetAutoMapElementTypesGridView(); xLearnOnlyMappedElements.BindControl(mWizard.mPomDeltaUtils.PomLearnUtils, nameof(mWizard.mPomDeltaUtils.PomLearnUtils.LearnOnlyMappedElements)); SetElementLocatorsSettingsData(); SetElementLocatorsSettingsGridView(); ShowSpecficFrameLearnConfigPanel(); ShowsCustomRelativePathTemplateConfig(); xAvoidPropertiesAllRadioButton.IsChecked = true; xKeepLocatorsOrderCheckBox.IsChecked = true; break; case EventType.LeavingForNextPage: UpdateCustomTemplateList(); break; } }
public void WizardEvent(WizardEventArgs WizardEventArgs) { switch (WizardEventArgs.EventType) { case EventType.Init: mPomWizard = (PomDeltaWizard)WizardEventArgs.Wizard; break; case EventType.Active: SetDeletedElementsGridView(); DeletedDeltaElementInfos = new ObservableList <DeltaElementInfo>(mPomWizard.mPomDeltaUtils.DeltaViewElements.Where(x => x.DeltaStatus.Equals(eDeltaStatus.Deleted))); xDeletedElementsMappingGrid.DataSourceList = DeletedDeltaElementInfos; break; } }
public void WizardEvent(WizardEventArgs WizardEventArgs) { switch (WizardEventArgs.EventType) { case EventType.Init: mWizard = (PomDeltaWizard)WizardEventArgs.Wizard; break; case EventType.Active: if (!mFirstLearnWasDone) { LearnDelta(); mFirstLearnWasDone = true; } break; } }
public void WizardEvent(WizardEventArgs WizardEventArgs) { switch (WizardEventArgs.EventType) { case EventType.Init: mWizard = (PomDeltaWizard)WizardEventArgs.Wizard; if (mWizard.mPomDeltaUtils.POM.TargetApplicationKey != null) { mAppPlatform = WorkSpace.UserProfile.Solution.GetTargetApplicationPlatform(mWizard.mPomDeltaUtils.POM.TargetApplicationKey); } SetAutoMapElementTypes(); SetAutoMapElementTypesGridView(); SetAutoMapElementLocatorssSection(); SetAutoMapElementLocatorsGridView(); xAvoidPropertiesAllRadioButton.IsChecked = true; xKeepLocatorsOrderCheckBox.IsChecked = true; break; } }
public void WizardEvent(WizardEventArgs WizardEventArgs) { switch (WizardEventArgs.EventType) { case EventType.Init: mWizard = (PomDeltaWizard)WizardEventArgs.Wizard; if (mWizard.mPomDeltaUtils.POM.TargetApplicationKey != null) { mAppPlatform = WorkSpace.Instance.Solution.GetTargetApplicationPlatform(mWizard.mPomDeltaUtils.POM.TargetApplicationKey); } SetAutoMapElementTypes(); SetAutoMapElementTypesGridView(); xLearnOnlyMappedElements.BindControl(mWizard.mPomDeltaUtils.PomLearnUtils, nameof(mWizard.mPomDeltaUtils.PomLearnUtils.LearnOnlyMappedElements)); SetElementLocatorsSettingsData(); SetElementLocatorsSettingsGridView(); xAvoidPropertiesAllRadioButton.IsChecked = true; xKeepLocatorsOrderCheckBox.IsChecked = true; break; } }