Open arexms opened 1 year ago
Hi, Any updates on this issue, please?
Unfortunatelly not from my side :/
Hi @arexms @tcspras , I needed to dive into these errors for a chapter in a book that I'm writing about utilizing this method. As the Power Apps homepage has recently changed,it seems to be breaking some of the xpath selectors. The two that were giving me issues were:
I also updated the framework to 4.8 to clear up other errors from the classic pipeline mode and some NuGet packages like Selenium . It's all working for me now following these fixes and they are simple to apply in your own fork. But you're welcome to check out my fork at https://github.com/CesarCalvoCobo/PowerAppsTestAutomation if it could be helpful. The core test logic where the Test Studio tests are applied seems more robust, and the only changes needed are caused by the changes in the power apps homepage.
@CesarCalvoCobo Thank you, this solution worked for me as well! :)
Hi @CesarCalvoCobo . I have used your repo (https://github.com/CesarCalvoCobo/PowerAppsTestAutomation/tree/master) successfully also to get past this issue shown above. I am however now getting an error:
An error occurred during Test Run #1 of 1: System.NullReferenceException: Object reference not set to an instance of an object. at Microsoft.PowerApps.TestAutomation.Api.TestAutomation.ReportResultsToDevOps(JObject jObject, Int32 testRunNumber) in D:\a\1\s\PowerAppsTestAutomation\Microsoft.PowerApps.TestAutomation.Api\Pages\TestAutomation.cs:line 166 at Microsoft.PowerApps.TestAutomation.Tests.TestAutomation.RunTestAutomation() in D:\a\1\s\PowerAppsTestAutomation\Microsoft.PowerApps.TestAutomation.Tests\TestAutomation\RunTestAutomation.cs:line 178
TestAutomation.cs : if (testCaseResults.Success) RunTestAutomation.cs : var testResultCount = appBrowser.TestAutomation.ReportResultsToDevOps(testAutomationResults, testRunCounter);
Honestly, I don't know enough yet to resolve the issue, do you encounter the same issue?
Hello,
I'm trying to automate my canvas app tests I followed instruction from here: https://learn.microsoft.com/en-us/power-apps/maker/canvas-apps/test-studio-classic-pipeline-editor Unfortunatelly I got error during execution of 'Run Power Apps Test Automation Tests via Firefox': (same issue is visible for Chrome)
I verified my credentials few time and it workd. Any hints where the problem is or what shall I check as a next step?