Skip to content

Issues with Tizen 6.5 profile #35

@adityaaswani

Description

@adityaaswani

We are trying this package with the Tizen 6.5 profile.

  1. Create a NUI dotnet tizen-6.5 app.
  2. Added the Tizen.Appium nuget package
  3. Added the following code in OnCreate()
    TizenAppium.StartService(AppType.NUI);
  4. 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>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions