-
Notifications
You must be signed in to change notification settings - Fork 11
Description
We are trying this package with the Tizen 6.5 profile.
- Create a NUI dotnet tizen-6.5 app.
- Added the Tizen.Appium nuget package
- Added the following code in OnCreate()
TizenAppium.StartService(AppType.NUI); - Run the app on 6.5 emulator.
Getting the following exception.
Exception has occurred: CLR/System.NotSupportedException
An unhandled exception of type 'System.NotSupportedException' occurred in Tizen.Appium.dll: 'Use StartService(IAppAdapter adapter) instead on tizen40 TFM.'
at Tizen.Appium.TizenAppium.StartService(AppType type)
at nuiapp65.Program.OnCreate() in /home/aswani/tes-appium/nuiapp65/nuiapp65/nuiapp65.cs:line 13
at Tizen.NUI.NUICoreBackend.OnInitialized(Object source, NUIApplicationInitEventArgs e)
at Tizen.NUI.Application.OnApplicationInit(IntPtr data)
at Tizen.NUI.Application.MainLoop()
at Tizen.NUI.NUICoreBackend.Run(String[] args)
at Tizen.Applications.CoreApplication.Run(String[] args)
at Tizen.NUI.NUIApplication.Run(String[] args)
at nuiapp65.Program.Main(String[] args) in /home/aswani/tes-appium/nuiapp65/nuiapp65/nuiapp65.cs:line 48
Following is the csproj file
<Project Sdk="Tizen.NET.Sdk/1.1.7"> <PropertyGroup> <OutputType>Exe</OutputType> <TargetFramework>tizen90</TargetFramework> </PropertyGroup> <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> <DebugType>portable</DebugType> </PropertyGroup> <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> <DebugType>None</DebugType> </PropertyGroup> <ItemGroup> <Folder Include="lib\"/> <Folder Include="res\"/> </ItemGroup> <ItemGroup> <PackageReference Include="Tizen.Appium" Version="1.0.0-preview3"/> </ItemGroup> </Project>