microsoft / PowerAppsTestAutomation

MIT License
63 stars 677 forks source link

Trying run a PowerApps test automated #28

Open carraquico opened 11 months ago

carraquico commented 11 months ago

I'm getting some errors, someone can help?

First when is trying to Run the test I get this : Test run detected DLL(s) which were built for different framework and platform versions. Following DLL(s) do not match current settings, which are .NETFramework,Version=v4.5 framework and X86 platform. Microsoft.PowerApps.TestAutomation.Tests.dll is built for Framework .NETFramework,Version=v4.6 and Platform AnyCPU.

at the end :

[error]Error: The process 'D:\a_tasks\VSTest_ef087383-ee5e-42c7-9a53-ab56c98420f9\3.225.0\Modules\DTAExecutionHost.exe' failed with exit code 1

[error]Vstest failed with error. Check logs for failures. There might be failed tests.

jimiryquai commented 11 months ago

I have the same issue

carraquico commented 11 months ago

You are trying to do that with authenticator or without authenticator ?

jimiryquai commented 11 months ago

I am running in ADO pipeline without authenticator

jimiryquai commented 11 months ago

It also says that iFrame with id of fullscreen-app-host isn't visible so it's like it's logging in and then not finding the app/test run because the iFrame is there: image

carraquico commented 11 months ago

can you send link to test of canvas app? and share .json?

jimiryquai commented 11 months ago
{
  "TestURLs": 
    [
      "https://apps.powerapps.com/play/c2ca5e51-0631-409e-af8f-c6cccddf8cbf?tenantId=92f292bf-d44c-427e-b092-c466178e9&__PATestCaseId=e458db9e-f241-475f-bfa4-f64a9d2f3a25"
    ]
}