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;
            }
        }
示例#2
0
        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;
            }
        }
示例#3
0
        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;
            }
        }
示例#4
0
        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;
            }
        }
示例#5
0
        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;
            }
        }