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);
 }
예제 #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);
 }
예제 #4
0
        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);
            }
        }
예제 #5
0
 Page ITreeViewItem.EditPage(Amdocs.Ginger.Common.Context mContext)
 {
     return(new UIAElementPage(base.UIAElementInfo));
 }
예제 #6
0
 Page ITreeViewItem.EditPage(Amdocs.Ginger.Common.Context mContext)
 {
     //TODO: currently return the default generic page, later on create for Android
     return(null);
 }
예제 #7
0
 Page ITreeViewItem.EditPage(Amdocs.Ginger.Common.Context mContext)
 {
     return(null);
 }
예제 #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));
 }
예제 #9
0
 Page ITreeViewItem.EditPage(Amdocs.Ginger.Common.Context mContext)
 {
     return(new DataGridInfoPage((AutomationElement)UIAElementInfo.ElementObject));
 }
예제 #10
0
 Page ITreeViewItem.EditPage(Amdocs.Ginger.Common.Context mContext)
 {
     //TODO: create Edit page for Window, with action of Swithc Window
     return(null);
 }
예제 #11
0
 Page ITreeViewItem.EditPage(Amdocs.Ginger.Common.Context mContext)
 {
     //TODO: to load page only once
     mHTMLReportTemplatePage = new HTMLReportTemplatePage(HTMLReportConfiguration);
     return(mHTMLReportTemplatePage);
 }
예제 #12
0
 Page ITreeViewItem.EditPage(Amdocs.Ginger.Common.Context mContext)
 {
     //Override if needed with specific Element Info Page
     return(null);
 }
예제 #13
0
 Page ITreeViewItem.EditPage(Amdocs.Ginger.Common.Context mContext)
 {
     mHTMLTablePage = new ActTableEditPage(ElementInfo, mAvailableActions);
     return(mHTMLTablePage);
 }