mVermaat / Crm.Specflow

D365 Extension for SpecFlow allows you to automatically test your Dynamics 365 CE implementation. It provides a broad set of SpecFlow steps to help you create your scripts very rapidly. It leverages the EasyRepro library from Microsoft for the User Interface related tests.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Save failed. Save Buttton is not available

Wouter131 opened this issue · comments

Since this week the step

[Given(@"a ([^\s]+) named (.*) with the following values")]

Fails with: [12] Save failed. Save Buttton is not available -> Save Buttton is not available

I see that the aria-label of the Save button is changed to: "Save (CTRL+S)" (this was "Save")

The easyRepro method '_app.App.Entity.Save();' fails.

Stack Trace:
Vermaat.Crm.Specflow.TestExecutionException: [12] Save failed. Save Buttton is not available ---> System.InvalidOperationException: Save Buttton is not available
<>c__DisplayClass42_0.b__0()
SeleniumExtensions.WaitUntil(ISearchContext driver, Func2 searchFunc, Nullable1 timeout, Action1 successCallback, Action failureCallback) SeleniumExtensions.WaitUntilAvailable(ISearchContext driver, By by, Nullable1 timeout, Action1 successCallback, Action failureCallback) SeleniumExtensions.WaitUntilAvailable(ISearchContext driver, By by, Nullable1 timeout, Action1 successCallback, String exceptionMessage) <>c.<Save>b__98_0(IWebDriver driver) DelegateBrowserCommand1.ExecuteCommand(IWebDriver driver, Object[] params)
BrowserCommand1.Execute[T1,T2,T3,T4,T5,T6,T7,T8,T9](IWebDriver driver, T1 p1, T2 p2, T3 p3, T4 p4, T5 p5, T6 p6, T7 p7, T8 p8, T9 p9) BrowserPage.Execute[TResult](BrowserCommandOptions options, Func2 delegate)
WebClient.Save(Int32 thinkTime)
Entity.Save()
FormData.Save(Boolean saveIfDuplicate) line 71
--- Einde van intern uitzonderingsstackpad ---
FormData.Save(Boolean saveIfDuplicate) line 75
CreateRecordCommand.ExecuteBrowser() line 37
BrowserCommandFunc1.Execute(CommandAction commandAction) line 29 CommandProcessor.Execute[TResult](ICommandFunc1 command, CommandAction commandAction) line 60
CommandProcessor.Execute[TResult](ICommandFunc`1 command) line 47
GeneralSteps.GivenEntityWithValues(String entityName, String alias, Table criteria) line 40
lambda_method(Closure , IContextManager , String , String , Table )
BindingInvoker.InvokeBinding(IBinding binding, IContextManager contextManager, Object[] arguments, ITestTracer testTracer, TimeSpan& duration)
TestExecutionEngine.ExecuteStepMatch(BindingMatch match, Object[] arguments, TimeSpan& duration)
RunnerTestExecutionEngine.ExecuteStepMatch(BindingMatch match, Object[] arguments, TimeSpan& duration)
TestExecutionEngine.ExecuteStep(IContextManager contextManager, StepInstance stepInstance)
TestExecutionEngine.OnAfterLastStep()
RunnerTestExecutionEngine.OnAfterLastStep()
TestRunner.CollectScenarioErrors()
ContactsFeature.ScenarioCleanup()
ContactsFeature.SearchForContact_BasedOnPostalCode() line 107
StaticOrInstanceMethodExecutor.ExecuteInternal(ITestThreadExecutionContext testThreadExecutionContext)
StaticOrInstanceMethodExecutor.Execute(ITestThreadExecutionContext testThreadExecutionContext)
TestNodeTask.Execute()