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); }
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); } }
Page ITreeViewItem.EditPage(Amdocs.Ginger.Common.Context mContext) { return(new UIAElementPage(base.UIAElementInfo)); }
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); }
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)); }
Page ITreeViewItem.EditPage(Amdocs.Ginger.Common.Context mContext) { return(new DataGridInfoPage((AutomationElement)UIAElementInfo.ElementObject)); }
Page ITreeViewItem.EditPage(Amdocs.Ginger.Common.Context mContext) { //TODO: create Edit page for Window, with action of Swithc Window return(null); }
Page ITreeViewItem.EditPage(Amdocs.Ginger.Common.Context mContext) { //TODO: to load page only once mHTMLReportTemplatePage = new HTMLReportTemplatePage(HTMLReportConfiguration); return(mHTMLReportTemplatePage); }
Page ITreeViewItem.EditPage(Amdocs.Ginger.Common.Context mContext) { //Override if needed with specific Element Info Page return(null); }
Page ITreeViewItem.EditPage(Amdocs.Ginger.Common.Context mContext) { mHTMLTablePage = new ActTableEditPage(ElementInfo, mAvailableActions); return(mHTMLTablePage); }