Skip to content

Per merge#4251

Merged
Maheshkale447 merged 156 commits into
Releases/Official-Releasefrom
master
Jul 14, 2025
Merged

Per merge#4251
Maheshkale447 merged 156 commits into
Releases/Official-Releasefrom
master

Conversation

@Maheshkale447

@Maheshkale447 Maheshkale447 commented Jul 14, 2025

Copy link
Copy Markdown
Contributor

Thank you for your contribution.
Before submitting this PR, please make sure:

  • PR description and commit message should describe the changes done in this PR
  • Verify the PR is pointing to correct branch i.e. Release or Beta branch if the code fix is for specific release , else point it to master
  • Latest Code from master or specific release branch is merged to your branch
  • No unwanted\commented\junk code is included
  • No new warning upon build solution
  • Code Summary\Comments are added to my code which explains what my code is doing
  • Existing unit test cases are passed
  • New Unit tests are added for your development
  • Sanity Tests are successfully executed for New and Existing Functionality
  • Verify that changes are compatible with all relevant browsers and platforms.
  • After creating pull request there should not be any conflicts
  • Resolve all Codacy comments
  • Builds and checks are passed before PR is sent for review
  • Resolve code review comments
  • Update the Help Library document to match any feature changes

Summary by CodeRabbit

  • New Features

    • Introduced GingerPlay integration, including configuration UI, API token management, and health checks.
    • Added support for "Value Expression" as a data mapping type and enhanced variable mapping options.
    • Expanded accessibility testing to support mobile platforms with dedicated rules and reporting.
    • Added new element locator strategies (ByLabel, ByPlaceholder, ByAltText, ByTestID, Chained, etc.) for web and mobile automation.
    • Enhanced Find and Replace functionality with attribute-level editing for folder items.
  • Improvements

    • Enhanced screenshot capturing for mobile automation, including full-page and element-specific screenshots.
    • Improved network log processing and reporting for browser automation.
    • Extended editability of key properties in activities, business flows, agents, variables, and run configurations.
    • Improved error handling and logging across various modules.
    • Updated and streamlined UI layouts for configuration and reporting pages.
  • Bug Fixes

    • Corrected and unified status tracking for Find and Replace operations.
    • Fixed issues in accessibility rule filtering and reporting.
  • Chores

    • Upgraded several dependencies and removed obsolete packages.
    • Added new resource files and updated project configurations for better compatibility.
  • Documentation

    • Updated user messages and tooltips for new features and configuration options.

GokulBothe99 and others added 30 commits May 8, 2025 11:41
…otShowing

BugFix/Branch Name on checkIn page
…ease

master update post 2025.2 official release
…rkingPB-on-Grid-Actions

Changed the Clipboard Get and Set logic.
Issue of UI for Underscore not visible of Tag
…cyActIssue

D48323_Legacy Action Conversion from automate tab fixed
amanpras and others added 23 commits July 10, 2025 13:38
…ment

Added common method to take screen-shot of element for web and mobile…
…PropertitiesEnhacement

POM Enhance Properties and Locator's
…egration

Ginger Play integration Feature
@coderabbitai

coderabbitai Bot commented Jul 14, 2025

Copy link
Copy Markdown
Contributor

Caution

Review failed

The pull request is closed.

Walkthrough

This update introduces GingerPlay integration, enabling configuration and connectivity to GingerPlay services from within the application. It adds a new GingerPlay configuration page, repository item, and endpoint management utilities, and refactors related logic to use these endpoints for reporting, execution, and AI services. Additionally, it introduces new "AllowUserToEdit" attributes for repository fields, expands find-and-replace and mobile accessibility testing features, enhances element locator support, and improves screenshot and unlock handling for mobile devices.

Changes

Files / Area Change Summary
GingerPlay Integration
- GingerPlayConfigurationpage.xaml, .xaml.cs
- GingerPlayConfiguration.cs
- GingerPlayAPITokenManager.cs
- GingerPlayEndPointManager.cs
- GingerPlayAPITokenResponseInfo.cs
- MenusLib/ConfigurationsMenu.cs
- Solution.cs
- GingerCoreCommon/Repository/GingerSolutionRepository.cs
- AddSolutionPage.xaml.cs
- GeneralLib/General.cs
- Ginger.csproj, GingerCoreCommon.csproj, GingerCoreNET.csproj
Adds GingerPlay configuration UI, repository item, endpoint management, token handling, menu integration, and project references.
Reporting & Execution Refactoring
- RunSetConfig.cs
- ExecutionLoggerConfiguration.cs
- RunSetExecutionHistoryToBPMNExporter.cs
- Run/RunListenerLib/CenteralizedExecutionLogger/*
- Run/BusinessFlowRunConfigurationsPage.xaml.cs
- Run/RunListenerLib/CenteralizedExecutionLogger/AccountReportEntitiesDataMapping.cs
- Run/RunListenerLib/CenteralizedExecutionLogger/AccountReportExecutionLogger.cs
- Run/RunListenerLib/CenteralizedExecutionLogger/AccountReportApiHandler.cs
- Run/RunListenerLib/CenteralizedExecutionLogger/AccountReportEntitiesDataMapping.cs
- Run/RunListenerLib/CenteralizedExecutionLogger/AccountReportEntitiesDataMapping.cs
- Run/RunListenerLib/CenteralizedExecutionLogger/AccountReportEntitiesDataMapping.cs
Refactors to use GingerPlay endpoint manager for report, execution, and AI service URLs; updates configuration and backward compatibility logic.
Find & Replace Enhancements
- Functionalities/FindAndReplacePage.xaml, .xaml.cs
- SolutionWindows/TreeViewItems/NewTreeViewItemBase.cs
- SolutionWindows/TreeViewItems/TreeViewItemBase.cs
- SolutionWindows/TreeViewItems/BusinessFlowsFolderTreeItem.cs
- UserControlsLib/UCTreeView/TreeViewItemGenericBase.cs
- Functionalities/FindAndReplaceUtils.cs
- Functionalities/FoundItem.cs
Adds attribute-based find/replace, folder item context, new status tracking, UI and logic for bulk attribute updates, and improves modification tracking.
Mobile Accessibility & Device Enhancements
- Actions/ActionEditPages/ActAccessibilityTestingEditPage.xaml.cs
- Actions/ActionEditPages/ActMobileDeviceEditPage.xaml, .xaml.cs
- ActionsLib/UI/Mobile/ActMobileDevice.cs
- ActionsLib/UI/Web/ActAccessibilityTesting.cs
- Drivers/CoreDrivers/Mobile/Appium/GenericAppiumDriver.cs
- Drivers/CoreDrivers/Mobile/Appium/MobileAccessibilityAnalyzer.cs
- Drivers/CoreDrivers/Mobile/Appium/MobileAccessibilityRuleDataExtensions.cs
- Drivers/DriversWindow/IMobileDriverWindow.cs
Adds mobile accessibility testing, unlock type support, device unlock UI and logic, and accessibility rule filtering for mobile.
Element Locator & Screenshot Improvements
- CoreCommon/UIElement/ElementInfo.cs
- CoreNET/Drivers/CoreDrivers/Web/Selenium/SeleniumDriver.cs
- CoreNET/Drivers/CoreDrivers/Web/Playwright/PlaywrightBrowserTab.cs
- CoreNET/Drivers/CoreDrivers/Web/Playwright/PlaywrightDriver.cs
- CoreNET/Drivers/CoreDrivers/Web/POM/POMLearner.cs
- CoreNET/Drivers/CoreDrivers/Mobile/Appium/GenericAppiumDriver.cs
- CoreNET/GeneralLib/General.cs
- CoreNET/Application Models/Execution/POM/POMExecutionUtils.cs
Adds new locator types (ByLabel, ByPlaceholder, etc.), robust locator generation, screenshot parameter support, and element screenshot cropping.
Repository Attribute Editing
- CoreCommon/Repository/RepositoryItemAttributes.cs
- CoreCommon/Repository/RepositoryItemBase.cs
- CoreCommon/Repository/BusinessFlowLib/*.cs
- CoreCommon/RunLib/Agent.cs
- CoreCommon/VariablesLib/VariableBase.cs
- CoreCommon/External/Configurations/AccessibilityRuleData.cs
- CoreCommon/Repository/Environments/ProjEnvironment.cs
Introduces AllowUserToEdit attribute, applies it to many repository fields, and adds new properties for accessibility rules.
UI/UX & Miscellaneous
- UserControlsLib/UCDataMapping.xaml, .xaml.cs
- UserControlsLib/ImageMakerLib/ImageMakerControl.xaml.cs
- UserControlsLib/ChatBot/ChatbotWindow.xaml.cs
- UserControlsLib/TextEditor/ValueExpression/ValueExpressionEditor.cs, ValueExpressionHighlighting.xshd
- UserConfigLib/UserSettingsPage.xaml, .xaml.cs
- TagsLib/ucTag.xaml, .xaml.cs
- Reports/ExecutionResultsConfiguration.xaml, .xaml.cs
- MainWindow.xaml, .xaml.cs
- AutomatePageLib/NewAutomatePage.xaml.cs
- RunSetPageLib/NewRunSetPage.xaml.cs
UI improvements, GingerPlay logo support, value expression enhancements, tag control update, and removal of enterprise feature toggle from user settings.
Project & Dependency Updates
- Ginger.csproj, GingerCore.csproj, GingerCoreCommon.csproj, GingerCoreNET.csproj, GingerConsoleTest.csproj, GingerCoreCommonTest.csproj
Updates and cleans up NuGet/package references, adds/removes DLL references, and updates assembly versions.
Other Minor Fixes
- GeneralLib/HttpUtilities.cs
- ActionsLib/ActExcel.cs
- Drivers/DriversWindows/MobileDriverWindow.xaml.cs
- Various whitespace and formatting updates
Improves HTTP request robustness, adds error logging, and minor code cleanups.

Sequence Diagram(s)

GingerPlay Configuration and Token Flow

sequenceDiagram
    participant User
    participant GingerPlayConfigurationpage
    participant GingerPlayConfiguration
    participant GingerPlayAPITokenManager
    participant GingerPlayEndPointManager
    participant GingerPlay Service

    User->>GingerPlayConfigurationpage: Open configuration page
    GingerPlayConfigurationpage->>GingerPlayConfiguration: Load or create configuration
    User->>GingerPlayConfigurationpage: Enter config and click "Test Connection"
    GingerPlayConfigurationpage->>GingerPlayAPITokenManager: GetOrValidateToken()
    GingerPlayAPITokenManager->>GingerPlayEndPointManager: GetGenerateTokenUrl()
    GingerPlayAPITokenManager->>GingerPlay Service: POST /token (with credentials)
    GingerPlay Service-->>GingerPlayAPITokenManager: access_token
    GingerPlayAPITokenManager-->>GingerPlayConfigurationpage: Token valid/invalid
    GingerPlayConfigurationpage->>GingerPlayEndPointManager: GetServiceHealthUrl()
    GingerPlayConfigurationpage->>GingerPlay Service: GET /health
    GingerPlay Service-->>GingerPlayConfigurationpage: Health status
    GingerPlayConfigurationpage-->>User: Show connection and health results
Loading

Find & Replace Attribute Update in Folder

sequenceDiagram
    participant User
    participant FolderTreeView
    participant FindAndReplacePage
    participant RepositoryItem
    User->>FolderTreeView: Select folder, choose "Update Attribute value"
    FolderTreeView->>FindAndReplacePage: Open with folder items context
    FindAndReplacePage->>RepositoryItem: Reflect to list editable attributes
    User->>FindAndReplacePage: Edit attribute values, click "Update"
    FindAndReplacePage->>RepositoryItem: Replace attribute via reflection
    FindAndReplacePage-->>User: Show update results/status
Loading

Mobile Accessibility Analysis Flow

sequenceDiagram
    participant User
    participant ActAccessibilityTesting
    participant MobileAccessibilityAnalyzer
    participant AppiumDriver

    User->>ActAccessibilityTesting: Run mobile accessibility test
    ActAccessibilityTesting->>AppiumDriver: Get screenshot, page source
    ActAccessibilityTesting->>MobileAccessibilityAnalyzer: AnalyzeFullPage()
    MobileAccessibilityAnalyzer->>ActAccessibilityTesting: Return issues, report
    ActAccessibilityTesting-->>User: Show accessibility results
Loading

Possibly related PRs

  • Ginger-Automation/Ginger#4246: Implements GingerPlay integration, including configuration UI, repository item, and endpoint management—directly related as part of the same feature set.
  • Ginger-Automation/Ginger#4226: Expands FindAndReplacePage with attribute editing and folder context, overlapping with this PR's find/replace enhancements.
  • Ginger-Automation/Ginger#4231: Adds mobile accessibility support in ActAccessibilityTesting and related analyzer logic, matching the mobile accessibility changes here.

Poem

A hop, a skip, a leap so grand,
GingerPlay now close at hand!
Find and replace—attributes anew,
Mobile screens get tested too.
Unlock with a swipe, a pin, or a code,
Fresh locators help lighten your load.
With every patch, this rabbit's heart glows—
For Ginger's garden, how it grows!

((\
( -.-)
o_(")(")

✨ Finishing Touches
  • 📝 Generate Docstrings
🧪 Generate unit tests
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch master

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Explain this complex logic.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai explain this code block.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and explain its main purpose.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Support

Need help? Create a ticket on our support page for assistance with any issues or questions.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai generate docstrings to generate docstrings for this PR.
  • @coderabbitai generate sequence diagram to generate a sequence diagram of the changes in this PR.
  • @coderabbitai auto-generate unit tests to generate unit tests for this PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai or @coderabbitai title anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

@Maheshkale447
Maheshkale447 merged commit 098327e into Releases/Official-Release Jul 14, 2025
3 checks passed
@coderabbitai coderabbitai Bot mentioned this pull request Nov 17, 2025
15 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants