Skip to content

Commit d0c477a

Browse files
ravirk91rathimayurshahanemaheshAmanPrasad43Maheshkale447
authored
Merge master to official branch (#4444)
* Update codeql-analysis.yml * Rollbacked the changes made for handling the file name length * Modified code to support maxlength only for folder name * Removed the task implementation in unix agent * Fixed issue of special characters from toerh languages are not getting sent to mainframe * Shared Repository Folder View (#4416) * Shared Repository Folder View * enhancement * code rabbit comments handled * code rabbit comments handle --------- Co-authored-by: Ravi Kumar <41137863+ravirk91@users.noreply.github.com> * Master for beta merge (#4429) * Merge master into beta (#4418) * Mobile accessibility issue for ios - fix * added CodeQL WF * Update codeql-analysis.yml * Update codeql-analysis.yml * Update codeql-analysis.yml * Update codeql-analysis.yml * removed macOS build steps * Java Explorer issue fix * Update codeql-analysis.yml excluding unwanted folders and projects * Update README.md updating for triggering security * mobily accessibility locators identification issue fix * codeql related updates * coderabbit comments handled * Fix: GitHub SecurityAlerts 198,199, 200, 201, 202 * its tested and working * Codecy suggestions * CodeRabit Suggestions * CodeRabbit suggestions * CodeRabbit Suggestions * Fix for Git Security Alert 181 * codacy suggestions * RemovedUnusedMethod * Pull all variables except password variables * Removing code that passes Ginger variables to Robot script using temp file * Revert "Removing code that passes Ginger variables to Robot script using temp file" This reverts commit c62b142. * Fixed DBoperations Git Alerts * Build Errors Fixed * Removed Unused GingerExecutionReport folder from Ginger also handled few codacy comments * Code Issues * Enabled only Windows build for CodeQL * added variable option * MSSQL Fix Test * Test Changes * Bar user inputted connection string. * Not using GetConnectionString method * added removing variable value code * code rabbit suggested changes * code rabbit changes * Do not assign the Expression to mValueCalculated if it was failed to evaluate. * Enhancement Excel Action and Refactoring * code refactor * Enhanced the Unit test cases for excel action according to recent enhancements * Codacy issues * Upgraded Magick.NET-Q16-AnyCPU nugget to 14.10.0 * codacy * removed unwanted check * code refactoring * updated ut * codacy and code rabbit comments handled * Pull Address adjustment * serliazation added * Serliazation error fix * updating version updating version * Latest changes for Excel action * workwork book * coderabbit comments * lock object * coder rabbit issue * Handled the file name length while api model configuration, and added length to subfolder creation * resolved the review comment from code rabbit * Handled the issue of value expression getting truncated * fixing the index issue * Update codeql-analysis.yml * Exclude JavaScript from Scanning for security Vulnarabilities * Exclude JavaScript from Scanning for security Vulnarabilities_Master * store to added hidden option * removed code * code refactor * code refactor * Update codeql-analysis.yml * Revert * Bug fixes for excel action * code removed * coderabbit comments * filter issue fix * As stated in bug: modifed error log to "Error" instead of "Warning" * push latest fixes * unit test case change according to enhancement * Latest * Rollbacked the changes made for handling the file name length * Modified code to support maxlength only for folder name * Removed the task implementation in unix agent * Fixed issue of special characters from toerh languages are not getting sent to mainframe * Shared Repository Folder View (#4416) * Shared Repository Folder View * enhancement * code rabbit comments handled * code rabbit comments handle --------- Co-authored-by: Ravi Kumar <41137863+ravirk91@users.noreply.github.com> --------- Co-authored-by: Mahesh Kale <41791819+Maheshkale447@users.noreply.github.com> Co-authored-by: AMAN PRASAD <44187990+AmanPrasad43@users.noreply.github.com> Co-authored-by: makhlaque <mohd.akhlaque@vodafoneziggo.com> Co-authored-by: mohd-amdocs <mohd.akhlaque@amdocs.com> Co-authored-by: Gokul Bothe <gokulbothe39@gmail.com> Co-authored-by: Meni Kadosh <menikadosh1@gmail.com> Co-authored-by: Mayur Rathi <mayurrat@amdocs.com> Co-authored-by: Mayur Rathi <92859083+rathimayur@users.noreply.github.com> Co-authored-by: Gokul Bothe <96767038+GokulBothe99@users.noreply.github.com> Co-authored-by: shahanemahesh <mahesh.shahane@amdocs.com> Co-authored-by: Mahesh Shahane <41142993+shahanemahesh@users.noreply.github.com> * Feature/uft lab phone selection (#4414) * Mobile accessibility issue for ios - fix * added CodeQL WF * Update codeql-analysis.yml * Update codeql-analysis.yml * Update codeql-analysis.yml * Update codeql-analysis.yml * removed macOS build steps * Java Explorer issue fix * Update codeql-analysis.yml excluding unwanted folders and projects * Update README.md updating for triggering security * mobily accessibility locators identification issue fix * codeql related updates * coderabbit comments handled * Fix: GitHub SecurityAlerts 198,199, 200, 201, 202 * its tested and working * Codecy suggestions * CodeRabit Suggestions * CodeRabbit suggestions * CodeRabbit Suggestions * Fix for Git Security Alert 181 * codacy suggestions * RemovedUnusedMethod * Pull all variables except password variables * Removing code that passes Ginger variables to Robot script using temp file * Revert "Removing code that passes Ginger variables to Robot script using temp file" This reverts commit c62b142. * Fixed DBoperations Git Alerts * Build Errors Fixed * added an api call to fetch the current devices in the UFT Mobile Agent configurations * Removed Unused GingerExecutionReport folder from Ginger also handled few codacy comments * Code Issues * Enabled only Windows build for CodeQL * added variable option * MSSQL Fix Test * Test Changes * Bar user inputted connection string. * Not using GetConnectionString method * added removing variable value code * code rabbit suggested changes * code rabbit changes * Do not assign the Expression to mValueCalculated if it was failed to evaluate. * Enhancement Excel Action and Refactoring * code refactor * Enhanced the Unit test cases for excel action according to recent enhancements * Codacy issues * Upgraded Magick.NET-Q16-AnyCPU nugget to 14.10.0 * codacy * removed unwanted check * code refactoring * updated ut * codacy and code rabbit comments handled * Pull Address adjustment * serliazation added * added a button to see the phones when selecting utf device and select from the list * Serliazation error fix * updating version updating version * Latest changes for Excel action * workwork book * coderabbit comments * lock object * coder rabbit issue * Handled the file name length while api model configuration, and added length to subfolder creation * resolved the review comment from code rabbit * Handled the issue of value expression getting truncated * fixing the index issue * Update codeql-analysis.yml * Exclude JavaScript from Scanning for security Vulnarabilities * Exclude JavaScript from Scanning for security Vulnarabilities_Master * store to added hidden option * removed code * code refactor * code refactor * Update codeql-analysis.yml * Revert * Bug fixes for excel action * code removed * coderabbit comments * filter issue fix * As stated in bug: modifed error log to "Error" instead of "Warning" * push latest fixes * unit test case change according to enhancement * Latest * tested and fixed all edge cases of the device selection (wrong or empty fields and switching platform) * Rollbacked the changes made for handling the file name length * Modified code to support maxlength only for folder name * fixed uft devices button * fixed the design and made a filtering for the phone list * fixed phone lab filtering system * Removed the task implementation in unix agent * changed UI from rejects raised * updated the ui design --------- Co-authored-by: Mahesh Kale <41791819+Maheshkale447@users.noreply.github.com> Co-authored-by: AMAN PRASAD <44187990+AmanPrasad43@users.noreply.github.com> Co-authored-by: makhlaque <mohd.akhlaque@vodafoneziggo.com> Co-authored-by: mohd-amdocs <mohd.akhlaque@amdocs.com> Co-authored-by: Gokul Bothe <gokulbothe39@gmail.com> Co-authored-by: Meni Kadosh <menikadosh1@gmail.com> Co-authored-by: Mayur Rathi <mayurrat@amdocs.com> Co-authored-by: Ravi Kumar <41137863+ravirk91@users.noreply.github.com> Co-authored-by: Mayur Rathi <92859083+rathimayur@users.noreply.github.com> Co-authored-by: Gokul Bothe <96767038+GokulBothe99@users.noreply.github.com> Co-authored-by: shahanemahesh <mahesh.shahane@amdocs.com> Co-authored-by: Mahesh Shahane <41142993+shahanemahesh@users.noreply.github.com> * fixed defect number 58085 (#4411) * Mobile accessibility issue for ios - fix * added CodeQL WF * Update codeql-analysis.yml * Update codeql-analysis.yml * Update codeql-analysis.yml * Update codeql-analysis.yml * removed macOS build steps * Java Explorer issue fix * Update codeql-analysis.yml excluding unwanted folders and projects * Update README.md updating for triggering security * mobily accessibility locators identification issue fix * codeql related updates * coderabbit comments handled * Fix: GitHub SecurityAlerts 198,199, 200, 201, 202 * its tested and working * Codecy suggestions * CodeRabit Suggestions * CodeRabbit suggestions * CodeRabbit Suggestions * Fix for Git Security Alert 181 * codacy suggestions * RemovedUnusedMethod * Pull all variables except password variables * Removing code that passes Ginger variables to Robot script using temp file * Revert "Removing code that passes Ginger variables to Robot script using temp file" This reverts commit c62b142. * Fixed DBoperations Git Alerts * Build Errors Fixed * Removed Unused GingerExecutionReport folder from Ginger also handled few codacy comments * Code Issues * Enabled only Windows build for CodeQL * added variable option * MSSQL Fix Test * Test Changes * Bar user inputted connection string. * Not using GetConnectionString method * added removing variable value code * code rabbit suggested changes * code rabbit changes * Do not assign the Expression to mValueCalculated if it was failed to evaluate. * Enhancement Excel Action and Refactoring * code refactor * Enhanced the Unit test cases for excel action according to recent enhancements * Codacy issues * Upgraded Magick.NET-Q16-AnyCPU nugget to 14.10.0 * codacy * removed unwanted check * code refactoring * updated ut * codacy and code rabbit comments handled * Pull Address adjustment * serliazation added * Serliazation error fix * updating version updating version * Latest changes for Excel action * workwork book * coderabbit comments * lock object * coder rabbit issue * Handled the file name length while api model configuration, and added length to subfolder creation * resolved the review comment from code rabbit * Handled the issue of value expression getting truncated * fixing the index issue * Update codeql-analysis.yml * Exclude JavaScript from Scanning for security Vulnarabilities * Exclude JavaScript from Scanning for security Vulnarabilities_Master * store to added hidden option * removed code * code refactor * code refactor * Update codeql-analysis.yml * Revert * Bug fixes for excel action * code removed * coderabbit comments * filter issue fix * As stated in bug: modifed error log to "Error" instead of "Warning" * push latest fixes * unit test case change according to enhancement * Latest * Rollbacked the changes made for handling the file name length * Modified code to support maxlength only for folder name * Removed the task implementation in unix agent * Fixed issue of special characters from toerh languages are not getting sent to mainframe * added the status code number in the json and the output of the rest api call * Rename status code parameter for clarity * Shared Repository Folder View (#4416) * Shared Repository Folder View * enhancement * code rabbit comments handled * code rabbit comments handle --------- Co-authored-by: Ravi Kumar <41137863+ravirk91@users.noreply.github.com> --------- Co-authored-by: Mahesh Kale <41791819+Maheshkale447@users.noreply.github.com> Co-authored-by: AMAN PRASAD <44187990+AmanPrasad43@users.noreply.github.com> Co-authored-by: makhlaque <mohd.akhlaque@vodafoneziggo.com> Co-authored-by: mohd-amdocs <mohd.akhlaque@amdocs.com> Co-authored-by: Gokul Bothe <gokulbothe39@gmail.com> Co-authored-by: Meni Kadosh <menikadosh1@gmail.com> Co-authored-by: Mayur Rathi <mayurrat@amdocs.com> Co-authored-by: Ravi Kumar <41137863+ravirk91@users.noreply.github.com> Co-authored-by: Mayur Rathi <92859083+rathimayur@users.noreply.github.com> Co-authored-by: Gokul Bothe <96767038+GokulBothe99@users.noreply.github.com> Co-authored-by: shahanemahesh <mahesh.shahane@amdocs.com> Co-authored-by: Mahesh Shahane <41142993+shahanemahesh@users.noreply.github.com> * Update version numbers in GingerCoreCommon.csproj * Feature/android tv automation support (#4413) * Mobile accessibility issue for ios - fix * added CodeQL WF * Update codeql-analysis.yml * Update codeql-analysis.yml * Update codeql-analysis.yml * Update codeql-analysis.yml * removed macOS build steps * Java Explorer issue fix * Update codeql-analysis.yml excluding unwanted folders and projects * Update README.md updating for triggering security * mobily accessibility locators identification issue fix * codeql related updates * coderabbit comments handled * Fix: GitHub SecurityAlerts 198,199, 200, 201, 202 * its tested and working * Codecy suggestions * CodeRabit Suggestions * CodeRabbit suggestions * CodeRabbit Suggestions * Fix for Git Security Alert 181 * codacy suggestions * RemovedUnusedMethod * Pull all variables except password variables * Removing code that passes Ginger variables to Robot script using temp file * Revert "Removing code that passes Ginger variables to Robot script using temp file" This reverts commit c62b142. * Fixed DBoperations Git Alerts * Build Errors Fixed * Removed Unused GingerExecutionReport folder from Ginger also handled few codacy comments * Code Issues * Enabled only Windows build for CodeQL * added variable option * MSSQL Fix Test * Test Changes * Bar user inputted connection string. * Not using GetConnectionString method * added removing variable value code * code rabbit suggested changes * code rabbit changes * Do not assign the Expression to mValueCalculated if it was failed to evaluate. * Enhancement Excel Action and Refactoring * code refactor * Enhanced the Unit test cases for excel action according to recent enhancements * Codacy issues * Upgraded Magick.NET-Q16-AnyCPU nugget to 14.10.0 * codacy * removed unwanted check * code refactoring * updated ut * codacy and code rabbit comments handled * Pull Address adjustment * serliazation added * Serliazation error fix * updating version updating version * Latest changes for Excel action * workwork book * coderabbit comments * lock object * coder rabbit issue * Handled the file name length while api model configuration, and added length to subfolder creation * resolved the review comment from code rabbit * Add Android TV support and enhance platform handling Enhanced platform support by introducing Android TV as a new platform type (`ePlatformType.AndroidTV`) alongside Mobile and iOS. Updated platform descriptions to include "Mobile/TV" for better clarity and added new image types for visual representation. UI components now display friendly platform descriptions and improved tooltips. Added ComboBox support for enum descriptions in grids. Extended the Appium driver to support Android TV with specific capabilities, configurations. Improved error handling and fallback mechanisms for driver initialization. Updated `ActMobileDevice` to include Android TV-specific actions and defaulted action descriptions to "Mobile/Tv Device Action." Enhanced `DeviceViewPage` to handle Android TV resolutions and scaling. Added dynamic screen size calculations with fallbacks for Android TV. Updated agent configurations to include Android TV as a selectable driver type and set default configurations for Android TV agents. Refactored code for better maintainability, improved exception handling, and consolidated driver configuration logic. Added new image resources for Android TV. Improved `GenericAppiumDriver` to handle Android TV-specific scenarios, including focused element detection and screenshot scaling. * Handled the issue of value expression getting truncated * fixing the index issue * Update codeql-analysis.yml * Exclude JavaScript from Scanning for security Vulnarabilities * Exclude JavaScript from Scanning for security Vulnarabilities_Master * store to added hidden option * removed code * code refactor * code refactor * Update codeql-analysis.yml * Revert * Bug fixes for excel action * code removed * coderabbit comments * filter issue fix * As stated in bug: modifed error log to "Error" instead of "Warning" * push latest fixes * unit test case change according to enhancement * Latest * Rollbacked the changes made for handling the file name length * Modified code to support maxlength only for folder name * Removed the task implementation in unix agent * Fixed issue of special characters from toerh languages are not getting sent to mainframe * enhancement relted android TV - livespy * enhancement related to android TV * Refactor and enhance platform-specific logic Refactored multiple methods across the codebase to improve maintainability, performance, and platform-specific functionality. Key changes include: - Simplified `timenow` method in `PomAllElementsPage.xaml.cs` with improved user feedback and streamlined logic. - Enhanced `BitmapToBase64` in `PomLearnUtils.cs` with null-checks, fallback mechanisms, and better error handling. - Removed redundant methods `LoadGingerLiveSpyScript` and `GetFocusedElementInfo` in `GenericAppiumDriver.cs`. - Refactored `SimulatePhotoOrBarcode` to update `GingerLiveSpy.js` handling. - Added platform-specific logic for `HighLightElement`, `GetElementAtMousePosition`, `FindElementXmlNodeByXY`, `GetElementAtPoint`, and `GetPointOnAppWindow` in `GenericAppiumDriver.cs` to support Android TV, Android (mobile), iOS, and Web. - Improved shadow DOM support and optimized event handling in `GingerLiveSpy.js`. - Enhanced error handling, logging, and fallback mechanisms across the codebase. These changes improve cross-platform compatibility, user experience, and code maintainability. * Refactor and improve code readability and performance Refactored `ResizeDeviceButtons` and `GetDevicePoint` methods in `DeviceViewPage.xaml.cs` to simplify logic, remove redundant checks, and improve maintainability. Updated `eDeviceSource` enum in `MobileDriverCommon.cs` by removing `LambdaTest` and reassigning `AndroidTV`. Replaced the license header in `GingerLiveSpy.js` with an updated Apache License 2.0 notice. Added a new `ElementFromPoint` method to determine the deepest DOM element at a specific point. Refactored driver configuration logic in `AgentOperations.cs` to improve readability, simplify `DriverConfigParam` processing, enhance error handling, and remove duplicate code. Introduced a new `InitDriverConfigs` method for better organization. --------- Co-authored-by: Mahesh Kale <41791819+Maheshkale447@users.noreply.github.com> Co-authored-by: AMAN PRASAD <44187990+AmanPrasad43@users.noreply.github.com> Co-authored-by: makhlaque <mohd.akhlaque@vodafoneziggo.com> Co-authored-by: mohd-amdocs <mohd.akhlaque@amdocs.com> Co-authored-by: Gokul Bothe <gokulbothe39@gmail.com> Co-authored-by: Meni Kadosh <menikadosh1@gmail.com> Co-authored-by: Mayur Rathi <mayurrat@amdocs.com> Co-authored-by: Ravi Kumar <41137863+ravirk91@users.noreply.github.com> Co-authored-by: Mayur Rathi <92859083+rathimayur@users.noreply.github.com> Co-authored-by: Gokul Bothe <96767038+GokulBothe99@users.noreply.github.com> Co-authored-by: shahanemahesh <mahesh.shahane@amdocs.com> Co-authored-by: Mahesh Shahane <41142993+shahanemahesh@users.noreply.github.com> Co-authored-by: tanushah <tanushah@amdocs.com> * Enhancement/shared repository folder view2 (#4419) * Mobile accessibility issue for ios - fix * added CodeQL WF * Update codeql-analysis.yml * Update codeql-analysis.yml * Update codeql-analysis.yml * Update codeql-analysis.yml * removed macOS build steps * Java Explorer issue fix * Update codeql-analysis.yml excluding unwanted folders and projects * Update README.md updating for triggering security * mobily accessibility locators identification issue fix * codeql related updates * coderabbit comments handled * Fix: GitHub SecurityAlerts 198,199, 200, 201, 202 * its tested and working * Codecy suggestions * CodeRabit Suggestions * CodeRabbit suggestions * CodeRabbit Suggestions * Fix for Git Security Alert 181 * codacy suggestions * RemovedUnusedMethod * Pull all variables except password variables * Removing code that passes Ginger variables to Robot script using temp file * Revert "Removing code that passes Ginger variables to Robot script using temp file" This reverts commit c62b142. * Fixed DBoperations Git Alerts * Build Errors Fixed * Removed Unused GingerExecutionReport folder from Ginger also handled few codacy comments * Code Issues * Enabled only Windows build for CodeQL * added variable option * MSSQL Fix Test * Test Changes * Bar user inputted connection string. * Not using GetConnectionString method * added removing variable value code * code rabbit suggested changes * code rabbit changes * Do not assign the Expression to mValueCalculated if it was failed to evaluate. * Enhancement Excel Action and Refactoring * code refactor * Enhanced the Unit test cases for excel action according to recent enhancements * Codacy issues * Upgraded Magick.NET-Q16-AnyCPU nugget to 14.10.0 * codacy * removed unwanted check * code refactoring * updated ut * codacy and code rabbit comments handled * Pull Address adjustment * serliazation added * Serliazation error fix * updating version updating version * Latest changes for Excel action * workwork book * coderabbit comments * lock object * coder rabbit issue * Handled the file name length while api model configuration, and added length to subfolder creation * resolved the review comment from code rabbit * Handled the issue of value expression getting truncated * fixing the index issue * Update codeql-analysis.yml * Exclude JavaScript from Scanning for security Vulnarabilities * Exclude JavaScript from Scanning for security Vulnarabilities_Master * store to added hidden option * removed code * code refactor * code refactor * Update codeql-analysis.yml * Revert * Bug fixes for excel action * code removed * coderabbit comments * filter issue fix * As stated in bug: modifed error log to "Error" instead of "Warning" * push latest fixes * unit test case change according to enhancement * Latest * Rollbacked the changes made for handling the file name length * Modified code to support maxlength only for folder name * Removed the task implementation in unix agent * Fixed issue of special characters from toerh languages are not getting sent to mainframe * Shared Repository Folder View (#4416) * Shared Repository Folder View * enhancement * code rabbit comments handled * code rabbit comments handle --------- Co-authored-by: Ravi Kumar <41137863+ravirk91@users.noreply.github.com> * folder view fix * merge conflict resolved * merge conflict resolved * enahcnement * code rabbit comments handled --------- Co-authored-by: Mahesh Kale <41791819+Maheshkale447@users.noreply.github.com> Co-authored-by: makhlaque <mohd.akhlaque@vodafoneziggo.com> Co-authored-by: mohd-amdocs <mohd.akhlaque@amdocs.com> Co-authored-by: Gokul Bothe <gokulbothe39@gmail.com> Co-authored-by: Meni Kadosh <menikadosh1@gmail.com> Co-authored-by: Mayur Rathi <mayurrat@amdocs.com> Co-authored-by: Ravi Kumar <41137863+ravirk91@users.noreply.github.com> Co-authored-by: Mayur Rathi <92859083+rathimayur@users.noreply.github.com> Co-authored-by: Gokul Bothe <96767038+GokulBothe99@users.noreply.github.com> Co-authored-by: shahanemahesh <mahesh.shahane@amdocs.com> Co-authored-by: Mahesh Shahane <41142993+shahanemahesh@users.noreply.github.com> * Improve Sikuli SetValue handling and focus logic (#4420) Refactored SetValue to check for empty text before typing and use KeyModifier.NONE for normal input. Now sets an error if the value is empty. Also, SetFocusToSelectedApplicationInstance is now called synchronously instead of asynchronously. * Exclamation mark fix (#4421) * Exclamation mark fix * commit * Improve circular reference handling in JSON schema tools (#4422) Enhanced detection and prevention of circular references and stack overflows in JSON schema-to-object generation. Added try-catch blocks for safer property access, improved stack management, and more robust array/property traversal. Also improved error handling when adding API models to repository folders by logging and fallback to parent folder if needed. * Add tests for circular refs in JsonSchemaFaker, update count (#4423) Add unit tests to SwaggetTests.cs to ensure JsonSchemaFaker handles circular and self-referencing JSON schemas without infinite loops or errors. Import NJsonSchema for schema support. Update assertion for "Add a new pet to the store-JSON" to expect 7 return values instead of 8. * Handled set DS value issue (#4425) * add to BF iicon removal (#4426) * add to BF iicon removal * uncommented code * code rabbit suggestion --------- Co-authored-by: Ravi Kumar <41137863+ravirk91@users.noreply.github.com> * resolved conflicts * resolved conflicts --------- Co-authored-by: Mahesh Kale <41791819+Maheshkale447@users.noreply.github.com> Co-authored-by: AMAN PRASAD <44187990+AmanPrasad43@users.noreply.github.com> Co-authored-by: makhlaque <mohd.akhlaque@vodafoneziggo.com> Co-authored-by: mohd-amdocs <mohd.akhlaque@amdocs.com> Co-authored-by: Gokul Bothe <gokulbothe39@gmail.com> Co-authored-by: Meni Kadosh <menikadosh1@gmail.com> Co-authored-by: Mayur Rathi <mayurrat@amdocs.com> Co-authored-by: Mayur Rathi <92859083+rathimayur@users.noreply.github.com> Co-authored-by: Gokul Bothe <96767038+GokulBothe99@users.noreply.github.com> Co-authored-by: shahanemahesh <mahesh.shahane@amdocs.com> Co-authored-by: Mahesh Shahane <41142993+shahanemahesh@users.noreply.github.com> Co-authored-by: omri1911 <51326278+omri1911@users.noreply.github.com> Co-authored-by: tanushahande2003 <Tanusha.Hande@amdocs.com> Co-authored-by: tanushah <tanushah@amdocs.com> * Prevent Excel formula injection in CSV export (#4431) * Prevent Excel formula injection in CSV export D56006_Added logic to prefix values starting with '=', '+', '-', or '@' with a single quote when exporting BusinessFlow, Activity, Act description, and input parameters to CSV. This ensures spreadsheet applications treat these fields as plain text, preventing misinterpretation as formulas. Also refactored code for clarity using intermediate variables. * Refactor CSV export for clarity and null safety Renamed method parameters and loop variables for clarity and consistency. Updated references to use descriptive names. Added null check for act.Description to prevent exceptions. Improves code readability and robustness. --------- Co-authored-by: tanushah <tanushah@amdocs.com> * added an option to change text color in consoleDriver window * Action Description fix (#4434) * Update to .NET 10, package versions, and minor UI tweaks (#4435) * Update to .NET 10, package versions, and minor UI tweaks Upgraded all projects from .NET 8.0 to .NET 10.0. Updated System.Text.Json to 10.0.2 and System.Drawing.Common to 10.0.2. Added Microsoft.IdentityModel.JsonWebTokens and Microsoft.IdentityModel.Tokens (8.15.0) to support JWT features. Bumped protobuf-net packages to 3.2.56. Improved XAML grid layout in DataSourceExportToExcelPage.xaml and added DesignerSerializationVisibility attributes in SnippingTool.cs. No functional logic changes. * upgrade dotnet version to 10 * push supported dotnet version for Github actions * Fix Dotnet version on Test stage * Fix CLI TestsGithub * Fix Test Dotnet Framework of Github with new version of dotnet * nuget packages updation * Downgrade EPPlus and Excel Interop, update dependencies Downgraded EPPlus to 6.0.4 and Microsoft.Office.Interop.Excel to 15.0.4795.1001 across multiple projects for compatibility. Removed Microsoft.IdentityModel.* and System.IdentityModel.Tokens.Jwt from core projects, and removed SixLabors.ImageSharp from GingerCoreNET. Reformatted System.Globalization entry in GingerCore. These changes address dependency and compatibility issues. --------- Co-authored-by: tanushah <tanushah@amdocs.com> Co-authored-by: Ravi Kumar <41137863+ravirk91@users.noreply.github.com> Co-authored-by: Nadeem Jazmawe <nadeemj@amdocs.com> * Mask API key in UI and update only on user edit (#4436) * Mask API key in UI and update only on user edit Added masking for API key in VRTExternalConfigurationsPage to prevent exposure. The real key is hidden with a generic mask, and only updated if the user changes the field. Existing key is preserved unless explicitly edited. * Addition of validation * updated validation * updated validation rule --------- Co-authored-by: tanushah <tanushah@amdocs.com> * Fix codeql-config.yml file place * Upgrade Github Actions versions * Update license headers to 2026 and add missing headers (#4440) Updated the copyright year in all license headers from 2014-2025 to 2014-2026 across the codebase. Added the standard license header to several files that were previously missing it. No functional code changes were made. Co-authored-by: tanushah <tanushah@amdocs.com> * Register serializer classes earlier; null check in IsReady (#4441) Ensure MyRepositoryItem is registered with the serializer before test solution creation in SolutionRepositoryMultiThreadTest. Remove redundant registration call. Add null check to IsReady property in GingerSocket2Test to prevent possible NullReferenceException. * Downgrade LibGit2Sharp.NativeBinaries to 2.0.278 (#4442) Updated GingerCore.csproj and GingerCoreNET.csproj to use LibGit2Sharp.NativeBinaries version 2.0.278 instead of 2.0.323. No other changes were made. Co-authored-by: tanushah <tanushah@amdocs.com> Co-authored-by: Ravi Kumar <41137863+ravirk91@users.noreply.github.com> * Updated the SSH and Cryptography nuget package to latest (#4432) Co-authored-by: Ravi Kumar <41137863+ravirk91@users.noreply.github.com> * contract update for pipeline run description (#4437) Co-authored-by: Ravi Kumar <41137863+ravirk91@users.noreply.github.com> * Added Code to allow Solution File to be loaded using SolutionRepository and changed version to 2026.3 (#4443) Co-authored-by: Mayur Rathi <mayurrat@amdocs.com> --------- Co-authored-by: Mayur Rathi <92859083+rathimayur@users.noreply.github.com> Co-authored-by: shahanemahesh <mahesh.shahane@amdocs.com> Co-authored-by: Mahesh Shahane <41142993+shahanemahesh@users.noreply.github.com> Co-authored-by: AMAN PRASAD <44187990+AmanPrasad43@users.noreply.github.com> Co-authored-by: Mahesh Kale <41791819+Maheshkale447@users.noreply.github.com> Co-authored-by: makhlaque <mohd.akhlaque@vodafoneziggo.com> Co-authored-by: mohd-amdocs <mohd.akhlaque@amdocs.com> Co-authored-by: Gokul Bothe <gokulbothe39@gmail.com> Co-authored-by: Meni Kadosh <menikadosh1@gmail.com> Co-authored-by: Mayur Rathi <mayurrat@amdocs.com> Co-authored-by: Gokul Bothe <96767038+GokulBothe99@users.noreply.github.com> Co-authored-by: omri1911 <51326278+omri1911@users.noreply.github.com> Co-authored-by: tanushahande2003 <Tanusha.Hande@amdocs.com> Co-authored-by: tanushah <tanushah@amdocs.com> Co-authored-by: Omri Agady <omri@agady.com> Co-authored-by: Nadeem Jazmawe <nadeemj@amdocs.com> Co-authored-by: Nadeem Jazmawe <44744877+NadeemJazmawe@users.noreply.github.com>
1 parent 5632c20 commit d0c477a

2,431 files changed

Lines changed: 8808 additions & 3348 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/Build.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ jobs:
5555
# ------------------------------------------------------------------------------------------------------
5656
# Copy Ginger repo
5757
# ------------------------------------------------------------------------------------------------------
58-
- uses: actions/checkout@v3
58+
- uses: actions/checkout@v6
5959

6060
# ------------------------------------------------------------------------------------------------------
6161
# Update Ginger Version
@@ -93,10 +93,10 @@ jobs:
9393
# ------------------------------------------------------------------------------------------------------
9494
# Install .Net core SDK 8.0.100
9595
# ------------------------------------------------------------------------------------------------------
96-
- name: 'Install .NET 8'
97-
uses: actions/setup-dotnet@v3
96+
- name: 'Install .NET 10'
97+
uses: actions/setup-dotnet@v5
9898
with:
99-
dotnet-version: 8.0.100
99+
dotnet-version: 10.0.103
100100
# ------------------------------------------------------------------------------------------------------
101101
# Install Mono - for Ubuntu as pre-requisite for building Ginger
102102
# ------------------------------------------------------------------------------------------------------
@@ -114,7 +114,7 @@ jobs:
114114
# Install Nuget tool v1.0.5
115115
# ------------------------------------------------------------------------------------------------------
116116
- name: 'Setup Nuget'
117-
uses: Nuget/setup-nuget@v1.0.5
117+
uses: Nuget/setup-nuget@v2.0.1
118118

119119
# ------------------------------------------------------------------------------------------------------
120120
# Restore Ginger solution NuGet packages
@@ -127,7 +127,7 @@ jobs:
127127
# ------------------------------------------------------------------------------------------------------
128128
- name: 'Add msbuild to PATH'
129129
if: runner.os == 'Windows'
130-
uses: microsoft/setup-msbuild@v1.0.2
130+
uses: microsoft/setup-msbuild@v2
131131

132132
- name: 'Build Ginger Windows Solution'
133133
if: runner.os == 'Windows'
@@ -146,7 +146,7 @@ jobs:
146146
- name: Cache static site content - Windows
147147
id: cache_windows
148148
if: runner.os == 'Windows'
149-
uses: actions/cache@v4
149+
uses: actions/cache@v5
150150
with:
151151
path:
152152
./**
@@ -158,7 +158,7 @@ jobs:
158158
- name: Cache static site content - Linux
159159
id: cache_linux
160160
if: runner.os == 'Linux'
161-
uses: actions/cache@v4
161+
uses: actions/cache@v5
162162
with:
163163
path:
164164
./**
@@ -171,7 +171,7 @@ jobs:
171171
- name: Cache static site content - macOS
172172
id: cache_macos
173173
if: runner.os == 'macOS'
174-
uses: actions/cache@v4
174+
uses: actions/cache@v5
175175
with:
176176
path:
177177
./**
File renamed without changes.

.github/workflows/Deploy.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,21 +37,21 @@ jobs:
3737
# ------------------------------------------------------------------------------------------------------
3838
# Copy Ginger repo
3939
# ------------------------------------------------------------------------------------------------------
40-
- uses: actions/checkout@v4
40+
- uses: actions/checkout@v5
4141

4242
# ------------------------------------------------------------------------------------------------------
4343
# Download Windows Installer Artifact
4444
# ------------------------------------------------------------------------------------------------------
4545
- name: Download Windows Installer Artifact
46-
uses: actions/download-artifact@v4
46+
uses: actions/download-artifact@v7
4747
with:
4848
name: WindowsInstaller
4949

5050
# ------------------------------------------------------------------------------------------------------
5151
# Download GingerRuntime_Linux Artifact
5252
# ------------------------------------------------------------------------------------------------------
5353
- name: Restore GingerRuntime_Linux
54-
uses: actions/cache@v4
54+
uses: actions/cache@v5
5555
with:
5656
path: ./GingerRuntime_Linux-root.tar.gz
5757
key: cache-GingerRuntime_Linux-${{ github.run_number }}
@@ -62,7 +62,7 @@ jobs:
6262
# Download GingerRuntime_MacOS Artifact
6363
# ------------------------------------------------------------------------------------------------------
6464
- name: Restore GingerRuntime_MacOS
65-
uses: actions/cache@v4
65+
uses: actions/cache@v5
6666
with:
6767
path: ./GingerRuntime_MacOS-root.tar.gz
6868
key: cache-GingerRuntime_MacOS-${{ github.run_number }}

.github/workflows/Release.yml

Lines changed: 18 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
runs-on: macOS-latest
1212
steps:
1313
- name: Restore static site content
14-
uses: actions/cache@v4
14+
uses: actions/cache@v5
1515
with:
1616
path: ./**
1717
key: cache-site-macos-${{ github.run_number }}
@@ -24,16 +24,16 @@ jobs:
2424
2525
- name: Make Ginger macOS Runtime file executable
2626
run: |
27-
find ./Ginger/GingerRuntime/bin/Release/net8.0/osx-x64/selenium-manager -type f -print0 | xargs -0 chmod +x
27+
find ./Ginger/GingerRuntime/bin/Release/net10.0/osx-x64/selenium-manager -type f -print0 | xargs -0 chmod +x
2828
29-
- uses: sibiraj-s/action-archiver@v1
29+
- uses: sibiraj-s/action-archiver@v1.2.0
3030
with:
31-
path: './Ginger/GingerRuntime/bin/Release/net8.0/osx-x64'
31+
path: './Ginger/GingerRuntime/bin/Release/net10.0/osx-x64'
3232
format: tar
3333
gzip: true
3434
output: ./Runtime/GingerRuntime_MacOS.tar.gz
3535

36-
- uses: sibiraj-s/action-archiver@v1
36+
- uses: sibiraj-s/action-archiver@v1.2.0
3737
with:
3838
path: './Runtime'
3939
format: tar
@@ -42,7 +42,7 @@ jobs:
4242

4343
- name: Cache GingerRuntime_MacOS
4444
id: cache
45-
uses: actions/cache@v4
45+
uses: actions/cache@v5
4646
with:
4747
path:
4848
./GingerRuntime_MacOS-root.tar.gz
@@ -58,7 +58,7 @@ jobs:
5858
runs-on: ubuntu-latest
5959
steps:
6060
- name: Restore static site content
61-
uses: actions/cache@v4
61+
uses: actions/cache@v5
6262
with:
6363
path: ./**
6464
key: cache-site-linux-${{ github.run_number }}
@@ -72,11 +72,11 @@ jobs:
7272
- name: Make Ginger Runtime file executable
7373
run: |
7474
ls -altr
75-
find ./Ginger/GingerRuntime/bin/Release/net8.0/linux-x64/selenium-manager -type f -print0 | xargs -0 chmod +x
75+
find ./Ginger/GingerRuntime/bin/Release/net10.0/linux-x64/selenium-manager -type f -print0 | xargs -0 chmod +x
7676
77-
- uses: sibiraj-s/action-archiver@v1
77+
- uses: sibiraj-s/action-archiver@v1.2.0
7878
with:
79-
path: './Ginger/GingerRuntime/bin/Release/net8.0/linux-x64'
79+
path: './Ginger/GingerRuntime/bin/Release/net10.0/linux-x64'
8080
format: tar
8181
gzip: true
8282
output: ./Runtime/GingerRuntime_Linux.tar.gz
@@ -91,7 +91,7 @@ jobs:
9191
dos2unix -b ./Runtime/gingerInstall.sh
9292
9393
94-
- uses: sibiraj-s/action-archiver@v1
94+
- uses: sibiraj-s/action-archiver@v1.2.0
9595
with:
9696
path: './Runtime'
9797
format: tar
@@ -100,7 +100,7 @@ jobs:
100100

101101
- name: Cache GingerRuntime_Linux
102102
id: cache
103-
uses: actions/cache@v4
103+
uses: actions/cache@v5
104104
with:
105105
path:
106106
./GingerRuntime_Linux-root.tar.gz
@@ -116,21 +116,21 @@ jobs:
116116
runs-on: windows-latest
117117
steps:
118118
- name: Restore static site content
119-
uses: actions/cache@v4
119+
uses: actions/cache@v5
120120
with:
121121
path: ./**
122122
key: cache-site-windows-${{ github.run_number }}
123123
enableCrossOsArchive:
124124
true
125125

126126
- name: 'delete Help\Library'
127-
run: rmdir /s /q Ginger\Ginger\bin\Release\net8.0-windows10.0.17763.0\Help\Library
127+
run: rmdir /s /q Ginger\Ginger\bin\Release\net10.0-windows10.0.17763.0\Help\Library
128128
shell: cmd
129129

130130
- name: 'add help Library'
131131
shell: cmd
132132
run: |
133-
cd Ginger\Ginger\bin\Release\net8.0-windows10.0.17763.0\Help
133+
cd Ginger\Ginger\bin\Release\net10.0-windows10.0.17763.0\Help
134134
git clone https://github.com/Ginger-Automation/Ginger-Web-Help.git
135135
move Ginger-Web-Help\docs .
136136
rename docs Library
@@ -206,7 +206,7 @@ jobs:
206206
- name: Create Signed Directory for dll
207207
if: ${{ github.event.inputs.SSLCert != 'No' }}
208208
run: |
209-
mkdir -p D:\a\Ginger\Ginger\Ginger\Ginger\bin\Release\net8.0-windows10.0.17763.0\dist
209+
mkdir -p D:\a\Ginger\Ginger\Ginger\Ginger\bin\Release\net10.0-windows10.0.17763.0\dist
210210
shell: cmd
211211

212212
- name: Signing using Signtool dll
@@ -216,6 +216,7 @@ jobs:
216216
#recursive: true
217217
#if {% ${{ folder }}='Ginger'%}
218218
run: |
219+
dir "D:\a\Ginger\Ginger\Ginger\Ginger\bin\Release\"
219220
copy D:\a\Ginger\Ginger\Ginger\Ginger\bin\Release\net8.0-windows10.0.17763.0\GingerCore.dll D:\a\Ginger\Ginger\Ginger\Ginger\bin\Release\net8.0-windows10.0.17763.0\dist\GingerCore.dll
220221
copy D:\a\Ginger\Ginger\Ginger\Ginger\bin\Release\net8.0-windows10.0.17763.0\Ginger.dll D:\a\Ginger\Ginger\Ginger\Ginger\bin\Release\net8.0-windows10.0.17763.0\dist\Ginger.dll
221222
copy D:\a\Ginger\Ginger\Ginger\Ginger\bin\Release\net8.0-windows10.0.17763.0\Ginger.ExecuterService.Contracts.dll D:\a\Ginger\Ginger\Ginger\Ginger\bin\Release\net8.0-windows10.0.17763.0\dist\Ginger.ExecuterService.Contracts.dll
@@ -314,7 +315,7 @@ jobs:
314315
#cert-password: ${{ secrets.PEM_PASS }}
315316

316317
- name: Upload Windows Installer
317-
uses: actions/upload-artifact@v4
318+
uses: actions/upload-artifact@v6
318319
with:
319320
name: WindowsInstaller
320321
path: D:/a/Installers

.github/workflows/Test.yml

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
# ------------------------------------------------------------------------------------------------------
2727
- name: Restore static site content -Windows
2828
if: runner.os == 'Windows'
29-
uses: actions/cache@v4
29+
uses: actions/cache@v5
3030
with:
3131
path: ./**
3232
key: cache-site-windows-${{ github.run_number }}
@@ -35,7 +35,7 @@ jobs:
3535

3636
- name: Restore static site content - Linux
3737
if: runner.os == 'Linux'
38-
uses: actions/cache@v4
38+
uses: actions/cache@v5
3939
with:
4040
path: ./**
4141
key: cache-site-linux-${{ github.run_number }}
@@ -44,7 +44,7 @@ jobs:
4444

4545
- name: Restore static site content - macOS
4646
if: runner.os == 'macOS'
47-
uses: actions/cache@v4
47+
uses: actions/cache@v5
4848
with:
4949
path: ./**
5050
key: cache-site-macos-${{ github.run_number }}
@@ -53,12 +53,12 @@ jobs:
5353

5454

5555
# ------------------------------------------------------------------------------------------------------
56-
# Install .Net core SDK 8.0.100
56+
# Install .Net core SDK 10.0.103
5757
# ------------------------------------------------------------------------------------------------------
5858
- name: Setup .NET
59-
uses: actions/setup-dotnet@v3
59+
uses: actions/setup-dotnet@v5
6060
with:
61-
dotnet-version: 8.0.100
61+
dotnet-version: 10.0.103
6262
# ------------------------------------------------------------------------------------------------------
6363
# Install Mono - for Ubuntu as pre-requisite for building Ginger
6464
# ------------------------------------------------------------------------------------------------------
@@ -76,7 +76,7 @@ jobs:
7676
# Install Nuget tool v1.0.5
7777
# ------------------------------------------------------------------------------------------------------
7878
- name: Setup Nuget
79-
uses: Nuget/setup-nuget@v1.0.5
79+
uses: Nuget/setup-nuget@v2.0.1
8080

8181
# ------------------------------------------------------------------------------------------------------
8282
# Restore Ginger solution NuGet packages
@@ -89,7 +89,7 @@ jobs:
8989
# ------------------------------------------------------------------------------------------------------
9090
- name: Add msbuild to PATH
9191
if: ${{github.workflow == 'Ginger Windows Test'}}
92-
uses: microsoft/setup-msbuild@v1.0.2
92+
uses: microsoft/setup-msbuild@v2
9393

9494
- name: Build Ginger Solution
9595
if: ${{github.workflow == 'Ginger Windows Test'}}
@@ -122,6 +122,7 @@ jobs:
122122
if: success() || failure()
123123
run: dotnet test Ginger/GingerAutoPilotTest --configuration ${{ env.BUILD_CONFIGURATION }} --logger trx --results-directory D:\a\TestResults --verbosity=normal
124124

125+
125126
# ------------------------------------------------------------------------------------------------------
126127
# Run .Net Framework tests using powershell and publish the results
127128
# ------------------------------------------------------------------------------------------------------
@@ -170,4 +171,4 @@ jobs:
170171
path: "**/*.trx" # Path to test results
171172
reporter: dotnet-trx # Format of test results
172173

173-
174+

.github/workflows/codeql-analysis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
strategy:
3333
fail-fast: false
3434
matrix:
35-
language: [ 'csharp' ]
35+
language: [ 'csharp', 'javascript' ]
3636
os: [windows-latest]
3737

3838
# ------------------------------------------------------------------------------------------------------
@@ -51,7 +51,7 @@ jobs:
5151
uses: github/codeql-action/init@v3
5252
with:
5353
languages: ${{ matrix.language }}
54-
config-file: ./.github/workflows/codeql-config.yml
54+
config-file: ./.github/workflows/Config/codeql-config.yml
5555

5656
# ------------------------------------------------------------------------------------------------------
5757
# Install .Net core SDK 8.0.100

CLITests.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ Write-Host "-------------------------------------------------------------"
22
Write-Host "- Run CLI Tests -"
33
Write-Host "-------------------------------------------------------------"
44

5-
cd /home/vsts/work/1/s/Ginger/GingerRuntime/bin/Release/net8.0/publish/
5+
cd /home/vsts/work/1/s/Ginger/GingerRuntime/bin/Release/net10.0/publish/
66

77

88
Write-Host "******************************************************************************************************************************"

CLITestsGithub.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ echo "-------------------------------------------------------------"
22
echo "- Run CLI Tests -"
33
echo "-------------------------------------------------------------"
44

5-
cd /home/runner/work/Ginger/Ginger/Ginger/GingerRuntime/bin/Release/net8.0/publish/
5+
cd /home/runner/work/Ginger/Ginger/Ginger/GingerRuntime/bin/Release/net10.0/publish/
66

77
pwd
88
ls -alt

CLITestsGithub.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ echo "-------------------------------------------------------------"
22
echo "- Run CLI Tests -"
33
echo "-------------------------------------------------------------"
44

5-
cd /home/runner/work/Ginger/Ginger/Ginger/GingerRuntime/bin/Release/net8.0/linux-x64/publish/
5+
cd /home/runner/work/Ginger/Ginger/Ginger/GingerRuntime/bin/Release/net10.0/linux-x64/publish/
66
pwd
77
ls -alt
88

Extensions/DotnetDependencies/aspnetcore-runtime-8.0.22-win-x64.exe renamed to Extensions/DotnetDependencies/aspnetcore-runtime-10.0.3-win-x64.exe

10.1 MB
Binary file not shown.

0 commit comments

Comments
 (0)