Great article. Thanks Ali,
I am trying to establish the EasyRepro UI Automation using DevOps. I am just testing one method to start with at the moment. I am constantly getting below error; I have setup the DevOps Parameter exactly as per the 'runsettings' parameters. I am providing same parameters as you mentioned in your post. It's seems it's not moving forward with this error. Just to understand - is AzureKey same as mfaSecretKey?
=====
Test method Microsoft.Dynamics365.UIAutomation.Sample.AzureDevOps.UCI.CreateAccountUCIDevOps.UCIDevOpsCreateAccount threw exception:
System.InvalidOperationException: Something went wrong entering the OTC. Please check the MFA-SecretKey in configuration.
at Microsoft.Dynamics365.UIAutomation.Browser.BrowserCommand`1.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) in D:\a\1\s\Microsoft.Dynamics365.UIAutomation.Browser\BrowserCommand.cs:line 89
at Microsoft.Dynamics365.UIAutomation.Browser.BrowserCommand`1.Execute[T1,T2,T3,T4,T5](IWebDriver driver, T1 p1, T2 p2, T3 p3, T4 p4, T5 p5) in D:\a\1\s\Microsoft.Dynamics365.UIAutomation.Browser\BrowserCommand.cs:line 65
at Microsoft.Dynamics365.UIAutomation.Browser.BrowserPage.Execute[TResult,T1,T2,T3,T4,T5](BrowserCommandOptions options, Func`7 delegate, T1 p1, T2 p2, T3 p3, T4 p4, T5 p5) in D:\a\1\s\Microsoft.Dynamics365.UIAutomation.Browser\BrowserPage.cs:line 242
at Microsoft.Dynamics365.UIAutomation.Api.UCI.WebClient.Login(Uri orgUri, SecureString username, SecureString password, SecureString mfaSecretKey, Action`1 redirectAction) in D:\a\1\s\Microsoft.Dynamics365.UIAutomation.Api.UCI\WebClient.cs:line 142
at Microsoft.Dynamics365.UIAutomation.Api.UCI.OnlineLogin.Login(Uri orgUrl, SecureString username, SecureString password, SecureString mfaSecretKey) in D:\a\1\s\Microsoft.Dynamics365.UIAutomation.Api.UCI\Elements\OnlineLogin.cs:line 40
at Microsoft.Dynamics365.UIAutomation.Sample.AzureDevOps.UCI.CreateAccountUCIDevOps.UCIDevOpsCreateAccount() in D:\a\1\s\Microsoft.Dynamics365.UIAutomation.Sample\AzureDevOps\UCI\CreateAccount.cs:line 42