Page ITreeViewItem.EditPage(Amdocs.Ginger.Common.Context mContext)
        {
            if (mDocumentViewerPage == null)
            {
                //TODO: init and load the correct file editor in BasicTextEditor
                mDocumentViewerPage = new DocumentEditorPage(Path, true);
            }

            return(mDocumentViewerPage);
        }
 Page ITreeViewItem.EditPage(Amdocs.Ginger.Common.Context mContext)
 {
     DSDetails.SaveBackup();//to mark the Data Source as changed
     DSDetails.StartDirtyTracking();
     if (mDataSourceTablePage == null)
     {
         mDataSourceTablePage = new DataSourceTablePage(DSTableDetails);
     }
     return(mDataSourceTablePage);
 }
Exemple #3
0
 Page ITreeViewItem.EditPage(Amdocs.Ginger.Common.Context mContext)
 {
     ProjEnvironment.SaveBackup();//to mark the env as changed
     ProjEnvironment.StartDirtyTracking();
     if (mApplicationPage == null)
     {
         mApplicationPage = new ApplicationPage(EnvApplication, new Context()
         {
             Environment = ProjEnvironment
         });
     }
     return(mApplicationPage);
 }
        public static void CreateActUISwitchWindowAction(string windowTitle, Amdocs.Ginger.Common.Context mContext)
        {
            ActUIElement actUIElement = new ActUIElement()
            {
                Description        = "UI Switch Window - " + windowTitle,
                ElementLocateBy    = eLocateBy.ByTitle,
                ElementLocateValue = windowTitle,
                ElementType        = eElementType.Window,
                ElementAction      = ActUIElement.eElementAction.Switch
            };

            actUIElement.GetOrCreateInputParam(ActUIElement.Fields.SyncTime, "30");

            if (mContext.BusinessFlow != null)
            {
                mContext.BusinessFlow.AddAct(actUIElement, true);
            }
            else
            {
                Reporter.ToUser(eUserMsgKey.RestartAgent);
            }
        }
Exemple #5
0
 Page ITreeViewItem.EditPage(Amdocs.Ginger.Common.Context mContext)
 {
     return(new UIAElementPage(base.UIAElementInfo));
 }
Exemple #6
0
 Page ITreeViewItem.EditPage(Amdocs.Ginger.Common.Context mContext)
 {
     //TODO: currently return the default generic page, later on create for Android
     return(null);
 }
 Page ITreeViewItem.EditPage(Amdocs.Ginger.Common.Context mContext)
 {
     return(null);
 }
Exemple #8
0
 Page ITreeViewItem.EditPage(Amdocs.Ginger.Common.Context mContext)
 {
     //TODO: currently return the default generic page, later on create for Appium elem
     return(new ElementInfoPage(AppiumElementInfo));
 }
Exemple #9
0
 Page ITreeViewItem.EditPage(Amdocs.Ginger.Common.Context mContext)
 {
     return(new DataGridInfoPage((AutomationElement)UIAElementInfo.ElementObject));
 }
Exemple #10
0
 Page ITreeViewItem.EditPage(Amdocs.Ginger.Common.Context mContext)
 {
     //TODO: create Edit page for Window, with action of Swithc Window
     return(null);
 }
Exemple #11
0
 Page ITreeViewItem.EditPage(Amdocs.Ginger.Common.Context mContext)
 {
     //TODO: to load page only once
     mHTMLReportTemplatePage = new HTMLReportTemplatePage(HTMLReportConfiguration);
     return(mHTMLReportTemplatePage);
 }
Exemple #12
0
 Page ITreeViewItem.EditPage(Amdocs.Ginger.Common.Context mContext)
 {
     //Override if needed with specific Element Info Page
     return(null);
 }
Exemple #13
0
 Page ITreeViewItem.EditPage(Amdocs.Ginger.Common.Context mContext)
 {
     mHTMLTablePage = new ActTableEditPage(ElementInfo, mAvailableActions);
     return(mHTMLTablePage);
 }