Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Actions Migration #3977

Closed
wants to merge 4 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Ginger/GingerCore/Actions/ActSendKeys.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#region License
#region License
/*
Copyright © 2014-2024 European Support Limited

Expand Down Expand Up @@ -318,4 +318,4 @@ UIAuto.AutomationElement GetWindow(string LocValCal) //*******
}
}

}
}
142 changes: 0 additions & 142 deletions Ginger/GingerCore/Animations/Animations.cs

This file was deleted.

37 changes: 6 additions & 31 deletions Ginger/GingerCore/GingerCore.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,12 @@
<PlatformTarget>AnyCPU</PlatformTarget>
</PropertyGroup>
<ItemGroup>
<EmbeddedResource Remove="Actions\REST\**" />
<EmbeddedResource Remove="Actions\WebServices\**" />
<EmbeddedResource Remove="Environments\**" />
<EmbeddedResource Remove="Plugins\**" />
<None Remove="Actions\REST\**" />
<None Remove="Actions\WebServices\**" />
<None Remove="Environments\**" />
<None Remove="Plugins\**" />
</ItemGroup>
Expand Down Expand Up @@ -193,43 +197,19 @@
</Page>
</ItemGroup>
<ItemGroup>
<Compile Include="Actions\ActCreatePDFChart.cs" />
<Compile Include="Actions\ActSendKeys.cs" />
<Compile Include="Actions\ActSikuli.cs" />
<Compile Include="Actions\RobotFramework\ActRobot.cs" />
<Compile Include="Actions\RobotFramework\RobotTestCase.cs" />
<Compile Include="Actions\RobotFramework\GingerParam.cs" />
<Compile Include="Actions\Common\ActMedia.cs" />
<Compile Include="Actions\Common\ActBattery.cs" />
<Compile Include="Actions\Common\ActPhone.cs" />
<Compile Include="Actions\Common\ActDevice.cs" />
<Compile Include="Actions\ActDemoPage.cs" />
<Compile Include="Actions\Common\ElementConfigControl.cs" />
<Compile Include="Actions\JSON\ActJSONTagValidation.cs" />
<Compile Include="Actions\ActImage.cs" />
<Compile Include="Actions\ActLowLevelClicks.cs" />
<Compile Include="Actions\ActCreatePDFChart.cs" />
<Compile Include="Actions\ActActivateRow.cs" />
<Compile Include="Actions\ActGetMsgboxText.cs" />
<Compile Include="Actions\ActConsoleCommand.cs" />
<Compile Include="Actions\ActFunction.cs" />
<Compile Include="Actions\ActASCFControl.cs" />
<Compile Include="Actions\ActLaunchJavaWSApplication.cs" />
<Compile Include="Actions\ActGenerateFileFromTemplate.cs" />
<Compile Include="Actions\ActionFlowControl.cs" />
<Compile Include="Actions\ActPBControl.cs" />
<Compile Include="Actions\ActCompareImgs.cs" />
<Compile Include="Actions\ActSendKeys.cs" />
<Compile Include="Actions\ActSetConfig.cs" />
<Compile Include="Actions\ActMenuItem.cs" />
<Compile Include="Actions\ActTextSpeech.cs" />
<Compile Include="Actions\ActWindow.cs" />
<Compile Include="Actions\Common\ActDeviceButton.cs" />
<Compile Include="Actions\ASCF\ActASCFBrowserElement.cs" />
<Compile Include="Actions\Java\ActJavaElement.cs" />
<Compile Include="Actions\Java\ActJavaEXE.cs" />
<Compile Include="Actions\ActTableElement.cs" />
<Compile Include="Actions\MainFrame\ActMainframeGetDetails.cs" />
<Compile Include="Actions\MainFrame\ActMainframeSendKey.cs" />
<Compile Include="Actions\MainFrame\ActMainframeSetText.cs" />
<Compile Include="Actions\ScreenCapture\LocatorImageCaptureWindow.xaml.cs">
<DependentUpon>LocatorImageCaptureWindow.xaml</DependentUpon>
</Compile>
Expand All @@ -238,7 +218,6 @@
</Compile>
<Compile Include="Actions\ScreenCapture\SnippingTool.Designer.cs" />
<Compile Include="Actions\UIAutomation\UIAElementInfo.cs" />
<Compile Include="Actions\Windows\ActWindowsControl.cs" />
<Compile Include="Actions\ScreenCapture\ScreenCaptureWindow.xaml.cs">
<DependentUpon>ScreenCaptureWindow.xaml</DependentUpon>
</Compile>
Expand Down Expand Up @@ -296,17 +275,14 @@
<Compile Include="GeneralLib\ComboEnumItem.cs" />
<Compile Include="GeneralLib\ComboGroupedEnumItem.cs" />
<Compile Include="GeneralLib\ComboItem.cs" />
<Compile Include="GeneralLib\CommonLib.cs" />
<Compile Include="GeneralLib\FrameControlExtensions.cs" />
<Compile Include="GeneralLib\JSONHelper.cs" />
<Compile Include="Extensions\Screenshot.cs" />
<Compile Include="DataSource\AccessDataSource.cs" />
<Compile Include="GeneralLib\ComboBoxWindow.xaml.cs">
<DependentUpon>ComboBoxWindow.xaml</DependentUpon>
</Compile>
<Compile Include="GeneralLib\MarshalExtension.cs" />
<Compile Include="GeneralLib\ProcessExtension.cs" />
<Compile Include="GingerOCR\GingerOcrOperations.cs" />
<Compile Include="Helpers\HTMLHelper.cs" />
<Compile Include="Properties\Resources.Designer.cs">
<AutoGen>True</AutoGen>
Expand All @@ -320,7 +296,6 @@
<Compile Include="UserControls\ucTextDicResource.xaml.cs">
<DependentUpon>ucTextDicResource.xaml</DependentUpon>
</Compile>
<Compile Include="Animations\Animations.cs" />
<Compile Include="DragDrop\VisualDrag.xaml.cs">
<DependentUpon>VisualDrag.xaml</DependentUpon>
</Compile>
Expand Down
File renamed without changes.
File renamed without changes.
14 changes: 13 additions & 1 deletion Ginger/GingerCoreNET/GingerCoreNET.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,16 @@
</ItemGroup>

<ItemGroup>

<PackageReference Include="System.Speech" Version="8.0.0" />
<PackageReference Include="Tabula">
<Version>0.1.2</Version>
</PackageReference>
<PackageReference Include="Tesseract">
<Version>4.1.1</Version>
</PackageReference>
<PackageReference Include="Freeware.Pdf2Png">
<Version>1.0.1</Version>
</PackageReference>
Comment on lines +229 to +238
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue

Consider cross-platform compatibility and standardize package version format.

  1. System.Speech is Windows-specific and may impact cross-platform compatibility. Consider using a cross-platform alternative like Microsoft.CognitiveServices.Speech.
  2. Package version formats are inconsistent:

Apply this diff to standardize version format:

-  <PackageReference Include="System.Speech" Version="8.0.0" />
-  <PackageReference Include="Tabula">
-    <Version>0.1.2</Version>
-  </PackageReference>
+  <PackageReference Include="Tabula" Version="0.1.2" />

Committable suggestion was skipped due to low confidence.

<PackageReference Include="Appium.WebDriver" Version="5.1.0" />

<PackageReference Include="Azure.Identity" Version="1.12.0" />
Expand Down Expand Up @@ -412,6 +421,9 @@
<Reference Include="OctaneStdSDK">
<HintPath>DLLS\OctaneStdSDK.dll</HintPath>
</Reference>
<Reference Include="Open3270">
<HintPath>..\Ginger\DLLs\Open3270.dll</HintPath>
</Reference>
<Reference Include="Octane_Repository">
<HintPath>DLLS\Octane_Repository.dll</HintPath>
</Reference>
Expand Down
Loading