From 9f338d9f37b404bfe20481c209f3f8cfb8798f04 Mon Sep 17 00:00:00 2001 From: Aleksey2 Meleshko Date: Tue, 14 Mar 2023 21:49:08 +0100 Subject: [PATCH 1/2] [Visualization] Update core package to use cross-platform visualization --- .../Aquality.Appium.Mobile/Aquality.Appium.Mobile.csproj | 2 +- .../Aquality.Appium.Mobile.Tests.csproj | 1 - .../Android/NativeApp/AndroidBasicInteractionsTest.cs | 1 - README.md | 9 ++++++--- 4 files changed, 7 insertions(+), 6 deletions(-) diff --git a/Aquality.Appium.Mobile/src/Aquality.Appium.Mobile/Aquality.Appium.Mobile.csproj b/Aquality.Appium.Mobile/src/Aquality.Appium.Mobile/Aquality.Appium.Mobile.csproj index 4f7d4e1..8debfbc 100644 --- a/Aquality.Appium.Mobile/src/Aquality.Appium.Mobile/Aquality.Appium.Mobile.csproj +++ b/Aquality.Appium.Mobile/src/Aquality.Appium.Mobile/Aquality.Appium.Mobile.csproj @@ -50,7 +50,7 @@ - + diff --git a/Aquality.Appium.Mobile/tests/Aquality.Appium.Mobile.Tests/Aquality.Appium.Mobile.Tests.csproj b/Aquality.Appium.Mobile/tests/Aquality.Appium.Mobile.Tests/Aquality.Appium.Mobile.Tests.csproj index 8eeb0cc..33e6d24 100644 --- a/Aquality.Appium.Mobile/tests/Aquality.Appium.Mobile.Tests/Aquality.Appium.Mobile.Tests.csproj +++ b/Aquality.Appium.Mobile/tests/Aquality.Appium.Mobile.Tests/Aquality.Appium.Mobile.Tests.csproj @@ -14,7 +14,6 @@ runtime; build; native; contentfiles; analyzers; buildtransitive - diff --git a/Aquality.Appium.Mobile/tests/Aquality.Appium.Mobile.Tests/Samples/Android/NativeApp/AndroidBasicInteractionsTest.cs b/Aquality.Appium.Mobile/tests/Aquality.Appium.Mobile.Tests/Samples/Android/NativeApp/AndroidBasicInteractionsTest.cs index 633aa7d..20594f4 100644 --- a/Aquality.Appium.Mobile/tests/Aquality.Appium.Mobile.Tests/Samples/Android/NativeApp/AndroidBasicInteractionsTest.cs +++ b/Aquality.Appium.Mobile/tests/Aquality.Appium.Mobile.Tests/Samples/Android/NativeApp/AndroidBasicInteractionsTest.cs @@ -2,7 +2,6 @@ using Aquality.Appium.Mobile.Elements.Interfaces; using Aquality.Appium.Mobile.Tests.Samples.Android.NativeApp.ApiDemos.Screens; using NUnit.Framework; -using System.Linq; namespace Aquality.Appium.Mobile.Tests.Samples.Android.NativeApp { diff --git a/README.md b/README.md index 1eae8f5..49a9483 100644 --- a/README.md +++ b/README.md @@ -16,7 +16,12 @@ We use interfaces where is possible, so you can implement your own version of ta ### Quick start -1. To start work with this package, simply add the nuget dependency Aquality.Appium.Mobile to your project. +To start the project using Aquality.Appium.Mobile framework, you can [download our template BDD project by this link.](https://github.com/aquality-automation/aquality-appium-mobile-dotnet-template) + +Alternatively, you can follow the steps below: + + +1. Add the nuget dependency Aquality.Appium.Mobile to your project. 2. Configure path to your application at settings.json: - Create a `Resources` folder in your project and copy [settings.json](Aquality.Appium.Mobile/src/Aquality.Appium.Mobile/Resources/settings.json) into it. @@ -172,8 +177,6 @@ namespace Aquality.Appium.Mobile.Template.Screens.Login var loginScreen = AqualityServices.ScreenFactory.GetScreen(); ``` -You can find an example in [aquality-appium-mobile-dotnet-template](https://github.com/aquality-automation/aquality-appium-mobile-dotnet-template) repository. - ### Devices Our library allows you to run tests on different devices and store their settings (like udid, name, etc.) in JSON files. From 9f91725290ca1e6f8bf38680872edc9b6a0d07f4 Mon Sep 17 00:00:00 2001 From: Aleksey2 Meleshko Date: Wed, 15 Mar 2023 11:44:16 +0100 Subject: [PATCH 2/2] Add handled exception message to retry driver start for driver download failures --- .../Aquality.Appium.Mobile/Applications/ApplicationFactory.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Aquality.Appium.Mobile/src/Aquality.Appium.Mobile/Applications/ApplicationFactory.cs b/Aquality.Appium.Mobile/src/Aquality.Appium.Mobile/Applications/ApplicationFactory.cs index 016d1d0..d219bc8 100644 --- a/Aquality.Appium.Mobile/src/Aquality.Appium.Mobile/Applications/ApplicationFactory.cs +++ b/Aquality.Appium.Mobile/src/Aquality.Appium.Mobile/Applications/ApplicationFactory.cs @@ -55,7 +55,8 @@ protected class CustomActionRetrier : ActionRetrier "socket hang up", "stream was destroyed", "invalid or unrecognized response", - "has been expired" + "has been expired", + "unknown server-side error" }; public CustomActionRetrier()