-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #17 from browserstack/merge_sdk_to_master
Merge sdk to master
- Loading branch information
Showing
54 changed files
with
362 additions
and
1,916 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
.vs | ||
bin/ | ||
obj | ||
*.err | ||
.DS_Store | ||
log/ |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
using NUnit.Framework; | ||
using OpenQA.Selenium.Remote; | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Collections.Specialized; | ||
using System.Configuration; | ||
using OpenQA.Selenium.Appium.Android; | ||
using OpenQA.Selenium.Chrome; | ||
using OpenQA.Selenium.Appium; | ||
using OpenQA.Selenium.Appium.Enums; | ||
using OpenQA.Selenium.Appium.iOS; | ||
|
||
namespace BrowserStack | ||
{ | ||
public class BrowserStackNUnitTest | ||
{ | ||
protected AndroidDriver<AndroidElement> driver; | ||
public BrowserStackNUnitTest() {} | ||
|
||
[SetUp] | ||
public void Init() | ||
{ | ||
AppiumOptions appiumOptions = new AppiumOptions(); | ||
appiumOptions.AddAdditionalCapability(MobileCapabilityType.DeviceName, "Samsung Galaxy S20"); | ||
appiumOptions.AddAdditionalCapability(MobileCapabilityType.PlatformName, "Android"); | ||
appiumOptions.AddAdditionalCapability(MobileCapabilityType.PlatformVersion, "10"); | ||
driver = new AndroidDriver<AndroidElement>(new Uri("http://127.0.0.1:4723/wd/hub"), appiumOptions); | ||
} | ||
|
||
[TearDown] | ||
public void Cleanup() | ||
{ | ||
driver.Quit(); | ||
} | ||
|
||
} | ||
} |
Binary file not shown.
9 changes: 5 additions & 4 deletions
9
...driver_3_examples/local-test/LocalTest.cs → android/SampleLocalTest.cs
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
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
Binary file not shown.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
|
||
<PropertyGroup> | ||
<TargetFramework>net6.0</TargetFramework> | ||
<RootNamespace>BrowserStack</RootNamespace> | ||
<ImplicitUsings>enable</ImplicitUsings> | ||
<Nullable>enable</Nullable> | ||
|
||
<IsPackable>false</IsPackable> | ||
</PropertyGroup> | ||
|
||
<ItemGroup> | ||
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.1.0" /> | ||
<PackageReference Include="NUnit" Version="3.13.3" /> | ||
<PackageReference Include="NUnit.Analyzers" Version="3.3.0" /> | ||
<PackageReference Include="NUnit3TestAdapter" Version="4.3.1" /> | ||
<PackageReference Include="Appium.WebDriver" Version="4.4.0" /> | ||
<PackageReference Include="BrowserStack.TestAdapter" Version="0.*" /> | ||
</ItemGroup> | ||
|
||
</Project> |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.