-
-
Save Arpit360/a07ac7a2beffb85cd0cc to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Linq; | |
using NUnit.Framework; | |
using Xamarin.UITest; | |
using Xamarin.UITest.Queries; | |
namespace TestCloudTest1 | |
{ | |
[TestFixture] | |
public class Tests | |
{ | |
IApp app; | |
[SetUp] | |
public void BeforeEachTest() | |
{ | |
DeployAppOnDevice(); | |
} | |
void DeployAppOnDevice() | |
{ | |
string apkPath = Directory.GetParent(Directory.GetCurrentDirectory()).Parent.Parent.FullName; | |
app= ConfigureApp.Android.StartApp(); | |
} | |
[Test] | |
public void AppLaunches() | |
{ | |
app.Screenshot("First screen."); | |
} | |
} | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment