private void executeWithRepository(string graphID, string simID, string eventName) { string retrunXML = string.Empty; List <Events> lst = FunctionalityFromRepository.GetExecutedEvents(graphID, simID, eventName, ref retrunXML); if (string.IsNullOrWhiteSpace(retrunXML) == false) { string errorDetail = string.Empty; bool chhk = HelpingFunctions.checkSuccessExecute(retrunXML, ref errorDetail); if (chhk) { MessageBox.Show("Something went wrong , please try later "); } else { string err = HelpingFunctions.updateErrorMsgReplaceIdWithLabels(eveLst, errorDetail); MessageBox.Show(err); //MessageBox.Show(errorDetail); } } else { LoadEvent(lst); checkIsAccepting(); } }
public void ThenSelectChartTypeFromDropdown_(Table table) { ExplicitWaiting.waitForTime(15000); GetValues _type = table.CreateInstance <GetValues>(); HelpingFunctions.SelectChartType(_type.ChartType); }
public void ThenVerifyFileUpload_() { ExplicitWaiting.waitForTime(5000); IWebElement searchElement = BrowserConfig._driver.FindElement(By.XPath(ObjectIdentifiers._removeFileButton)); HelpingFunctions.elementVisible(searchElement); }
public void ThenVerifyMultipleDmaFilesUpload_() { Thread.Sleep(3000); IWebElement dmafileelement = BrowserConfig._driver.FindElement(By.XPath(ObjectIdentifiers._tick1)); HelpingFunctions.elementVisible(dmafileelement); }
public void ThenSelectDeformationModeFromDropdown_(Table table) { ExplicitWaiting.waitForTime(3000); GetValues _deformationType = table.CreateInstance <GetValues>(); HelpingFunctions.SelectDeformationMode(_deformationType.DeformationMode); }
public void ThenVerifyLoadConstitutiveMechanicalModelButtonClicked_() { Thread.Sleep(10000); //IWebElement visualizeModelDataElement = BrowserConfig._driver.FindElement(By.CssSelector(ObjectIdentifiers._visualizeModelCss)); // string color = visualizeModelDataElement.GetCssValue("color"); // Console.WriteLine(color); // Assert.AreEqual(color, "rgba(30, 144, 255, 1)"); IWebElement chartElement = BrowserConfig._driver.FindElement(By.XPath(ObjectIdentifiers._saveChartBtn)); HelpingFunctions.elementVisible(chartElement); }
public void ThenVerifySelectionOfModelName_() { IWebElement saveSelectModelelement = BrowserConfig._driver.FindElement(By.XPath(ObjectIdentifiers._saveSelectedModelsButton)); HelpingFunctions.SaveSelectedModelsVisible(saveSelectModelelement); }
public void ThenSelectModelPhaseFromDropdown_(Table table) { GetValues _model = table.CreateInstance <GetValues>(); HelpingFunctions.SelectModelPhase(_model.ModelPhase); }
public void ThenSelectAdhesiveTypeFromDropdown_(Table table) { GetValues _adhesive = table.CreateInstance <GetValues>(); HelpingFunctions.SelectAdhesiveType(_adhesive.AdhesiveType); }