Skip to content

Added New Introduction files#4216

Merged
Maheshkale447 merged 1 commit into
Releases/Official-Releasefrom
BugFix/NewPOMWizardIntrodution
May 16, 2025
Merged

Added New Introduction files#4216
Maheshkale447 merged 1 commit into
Releases/Official-Releasefrom
BugFix/NewPOMWizardIntrodution

Conversation

@prashelke

@prashelke prashelke commented May 16, 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

    • Added new introduction pages for the "Add POM from Screenshot" and "Update Multiple POM" wizards, providing clearer guidance and improved documentation for these features.
  • Documentation

    • Introduced detailed markdown documentation explaining the usage and workflow for creating Page Object Models from screenshots and updating multiple POMs simultaneously.
  • Chores

    • Updated project configuration to include the new markdown files as embedded resources for proper integration within the application.

@coderabbitai

coderabbitai Bot commented May 16, 2025

Copy link
Copy Markdown
Contributor

Walkthrough

This update introduces two new markdown documentation files for Page Object Model (POM) wizards and updates the introductory content displayed in both the "Add POM From Screenshot" and "Update Multiple POM" wizards to reference these new files. The project file is updated to embed these markdown files as resources.

Changes

File(s) Change Summary
.../POMWizardLib/LearnWizard/AddPOMFromScreenshotWizard.cs Updated the wizard's intro page to use AddPOMScreenshotIntro.md instead of the previous markdown file.
.../POMWizardLib/LearnWizard/AddPOMScreenshotIntro.md Added new markdown file introducing and explaining the "Add POM From Screenshot" feature and usage.
.../POMWizardLib/UpdateMultipleWizard/UpdateMultiplePOMtIntro.md Added new markdown file introducing and explaining the "Update Multiple POM Wizard" feature and usage.
.../POMWizardLib/UpdateMultipleWizard/UpdateMultiplePomWizard.cs Changed the wizard's intro page to use UpdateMultiplePOMtIntro.md instead of the previous markdown file.
.../Ginger.csproj Added the new markdown files as embedded resources and removed them from the "None" item group in the project config.

Poem

In burrows deep, new docs appear,
Wizards now greet with guidance clear.
Screenshots and updates, POMs in tow,
Markdown magic helps you know.
With every hop, the features grow—
A rabbit’s guide to tests that flow!
🐇✨

Note

⚡️ AI Code Reviews for VS Code, Cursor, Windsurf

CodeRabbit now has a plugin for VS Code, Cursor and Windsurf. This brings AI code reviews directly in the code editor. Each commit is reviewed immediately, finding bugs before the PR is raised. Seamless context handoff to your AI code agent ensures that you can easily incorporate review feedback.
Learn more here.


Note

⚡️ Faster reviews with caching

CodeRabbit now supports caching for code and dependencies, helping speed up reviews. This means quicker feedback, reduced wait times, and a smoother review experience overall. Cached data is encrypted and stored securely. This feature will be automatically enabled for all accounts on May 16th. To opt out, configure Review - Disable Cache at either the organization or repository level. If you prefer to disable all data retention across your organization, simply turn off the Data Retention setting under your Organization Settings.
Enjoy the performance boost—your workflow just got faster.

✨ Finishing Touches
  • 📝 Generate Docstrings

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 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.

@prashelke
prashelke requested a review from Maheshkale447 May 16, 2025 09:22

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Actionable comments posted: 2

📜 Review details

Configuration used: CodeRabbit UI
Review profile: ASSERTIVE
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 7d54139 and cf94098.

📒 Files selected for processing (5)
  • Ginger/Ginger/ApplicationModelsLib/POMModels/POMWizardLib/LearnWizard/AddPOMFromScreenshotWizard.cs (1 hunks)
  • Ginger/Ginger/ApplicationModelsLib/POMModels/POMWizardLib/LearnWizard/AddPOMScreenshotIntro.md (1 hunks)
  • Ginger/Ginger/ApplicationModelsLib/POMModels/POMWizardLib/UpdateMultipleWizard/UpdateMultiplePOMtIntro.md (1 hunks)
  • Ginger/Ginger/ApplicationModelsLib/POMModels/POMWizardLib/UpdateMultipleWizard/UpdateMultiplePomWizard.cs (1 hunks)
  • Ginger/Ginger/Ginger.csproj (2 hunks)
🧰 Additional context used
🧬 Code Graph Analysis (1)
Ginger/Ginger/ApplicationModelsLib/POMModels/POMWizardLib/UpdateMultipleWizard/UpdateMultiplePomWizard.cs (1)
Ginger/GingerCoreNET/WizardLib/WizardBase.cs (1)
  • AddPage (137-141)
🪛 LanguageTool
Ginger/Ginger/ApplicationModelsLib/POMModels/POMWizardLib/LearnWizard/AddPOMScreenshotIntro.md

[misspelling] ~2-~2: This word is normally spelled as one.
Context: ...reate Page Object Models by uploading a screen-shot of a web page. The feature uses Azure O...

(EN_COMPOUNDS_SCREEN_SHOT)


[misspelling] ~5-~5: This word is normally spelled as one.
Context: ...e Objects Model? To create a POM from a screen-shot, simply upload your web page image to t...

(EN_COMPOUNDS_SCREEN_SHOT)


[uncategorized] ~8-~8: You might be missing the article “the” here.
Context: ... the integrated POM, which contains all necessary locator's and methods for page interact...

(AI_EN_LECTOR_MISSING_DETERMINER_THE)

🪛 markdownlint-cli2 (0.17.2)
Ginger/Ginger/ApplicationModelsLib/POMModels/POMWizardLib/LearnWizard/AddPOMScreenshotIntro.md

1-1: Headings should be surrounded by blank lines
Expected: 1; Actual: 0; Below

(MD022, blanks-around-headings)


1-1: First line in a file should be a top-level heading
null

(MD041, first-line-heading, first-line-h1)


4-4: Headings should be surrounded by blank lines
Expected: 1; Actual: 0; Below

(MD022, blanks-around-headings)


7-7: Headings should be surrounded by blank lines
Expected: 1; Actual: 0; Below

(MD022, blanks-around-headings)


8-8: Files should end with a single newline character
null

(MD047, single-trailing-newline)

🔇 Additional comments (4)
Ginger/Ginger/ApplicationModelsLib/POMModels/POMWizardLib/LearnWizard/AddPOMFromScreenshotWizard.cs (1)

29-29: Consistent resource reference for wizard introduction
The WizardIntroPage call has been correctly updated to use the new AddPOMScreenshotIntro.md. This matches the entry in Ginger.csproj, ensuring the resource will be loaded at runtime.

Ginger/Ginger/Ginger.csproj (2)

40-41: Moved intro markdown entries out of <None>
The removal of AddPOMScreenshotIntro.md and UpdateMultiplePOMtIntro.md from the <None> group prepares them to be embedded.


671-672: Embedded new wizard intro markdown as resources
Adding the two new markdown files under <Resource> ensures they are packaged and accessible to the wizards.

Ginger/Ginger/ApplicationModelsLib/POMModels/POMWizardLib/UpdateMultipleWizard/UpdateMultiplePomWizard.cs (1)

45-45: Updated introduction page to new markdown resource
The WizardIntroPage now points to UpdateMultiplePOMtIntro.md, aligning with the embedded resource configuration. Confirm that the path string (including leading slash) is resolved correctly at runtime.

Comment on lines +1 to +8
### What are Page Objects Models used for?
The Update Multiple POM Wizard is a tool that lets you update several Page Object Models (POMs) at the same time. It helps you keep your object references consistent across all your test run sets and saves you time by updating everything together.

### How to create a Page Objects Model?
First, select your target application in the wizard. Next, choose the POMs you want to update from the filtered list. The wizard will then find all the run sets that use these POMs and update them automatically. After the update, you’ll see the status of each runset as the system verifies the changes in the background.

### How to use Page Objects Model in Execution?
When you create or edit a test action, set 'Locate By' to 'Page Objects Model Element'. Then, select the object you want to use. This method helps you avoid duplicates and reduces the chance of errors when using the same controls in different actions. No newline at end of file

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🧹 Nitpick (assertive)

Improve markdown formatting and terminology consistency

  • Surround each heading with blank lines.
  • Standardize to "Page Object Model" vs. "Page Objects Models".
  • Ensure the file ends with a single trailing newline.

Consider applying:

+ 
### What is a Page Object Model?
 The Update Multiple POM Wizard is a tool that lets you update several Page Object Models (POMs) at the same time. It helps you keep your object references consistent across all your test run sets and saves you time by updating everything together.

### How to create a Page Object Model?
 First, select your target application in the wizard. Next, choose the POMs you want to update from the filtered list. The wizard will then find all the run sets that use these POMs and update them automatically. After the update, you’ll see the status of each run set as the system verifies the changes in the background.

### How to use Page Object Models in execution?
 When you create or edit a test action, set "Locate By" to "Page Objects Model Element". Then, select the object you want to use. This method helps you avoid duplicates and reduces the chance of errors when using the same controls in different actions.
+

Committable suggestion skipped: line range outside the PR's diff.

🤖 Prompt for AI Agents
In
Ginger/Ginger/ApplicationModelsLib/POMModels/POMWizardLib/UpdateMultipleWizard/UpdateMultiplePOMtIntro.md
lines 1 to 8, improve markdown formatting by adding blank lines before and after
each heading for better readability. Standardize terminology by replacing all
instances of "Page Objects Models" with "Page Object Model" for consistency.
Finally, ensure the file ends with a single trailing newline character.

Comment on lines +1 to +8
### What are Page Objects Models used for?
POM from Screen-shot allows you to create Page Object Models by uploading a screen-shot of a web page. The feature uses Azure OpenAI to analyze the image, automatically generating HTML structure and element locator's. This is useful for preparing test automation before application deployment or when working with design mock-ups.

### How to create a Page Objects Model?
To create a POM from a screen-shot, simply upload your web page image to the wizard. The Azure OpenAI model will analyze it and generate both HTML preview and code automatically. Next, launch the agent which opens the URL on a browser to learn the elements in the usual way. After reviewing and making any necessary adjustments, save your new POM for immediate use in test automation.

### How to use Page Objects Model in Execution?
Import the POM into your test script and create an instance of the page object. Use the page object's methods to interact with web elements and build your test cases. Run your tests with the integrated POM, which contains all necessary locator's and methods for page interactions. No newline at end of file

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🧹 Nitpick (assertive)

Fix typos and enhance markdown structure

  • Use "screenshot" (one word) instead of "screen-shot".
  • Remove incorrect apostrophe in "locator's".
  • Add blank lines around headings and ensure a trailing newline.

Proposed changes:

+ 
### What are Page Object Models used for?
 POM from screenshot allows you to create Page Object Models by uploading a screenshot of a web page. The feature uses Azure OpenAI to analyze the image, automatically generating HTML structure and element locators. This is useful for preparing test automation before application deployment or when working with design mock-ups.

### How to create a Page Object Model?
 To create a POM from a screenshot, simply upload your web page image to the wizard. The Azure OpenAI model will analyze it and generate both HTML preview and code automatically. Next, launch the agent which opens the URL in a browser to learn the elements in the usual way. After reviewing and making any necessary adjustments, save your new POM for immediate use in test automation.

### How to use Page Object Models in execution?
 Import the POM into your test script and create an instance of the page object. Use the page object's methods to interact with web elements and build your test cases. Run your tests with the integrated POM, which contains all necessary locators and methods for page interactions.
+

Committable suggestion skipped: line range outside the PR's diff.

🧰 Tools
🪛 LanguageTool

[misspelling] ~2-~2: This word is normally spelled as one.
Context: ...reate Page Object Models by uploading a screen-shot of a web page. The feature uses Azure O...

(EN_COMPOUNDS_SCREEN_SHOT)


[misspelling] ~5-~5: This word is normally spelled as one.
Context: ...e Objects Model? To create a POM from a screen-shot, simply upload your web page image to t...

(EN_COMPOUNDS_SCREEN_SHOT)


[uncategorized] ~8-~8: You might be missing the article “the” here.
Context: ... the integrated POM, which contains all necessary locator's and methods for page interact...

(AI_EN_LECTOR_MISSING_DETERMINER_THE)

🪛 markdownlint-cli2 (0.17.2)

1-1: Headings should be surrounded by blank lines
Expected: 1; Actual: 0; Below

(MD022, blanks-around-headings)


1-1: First line in a file should be a top-level heading
null

(MD041, first-line-heading, first-line-h1)


4-4: Headings should be surrounded by blank lines
Expected: 1; Actual: 0; Below

(MD022, blanks-around-headings)


7-7: Headings should be surrounded by blank lines
Expected: 1; Actual: 0; Below

(MD022, blanks-around-headings)


8-8: Files should end with a single newline character
null

(MD047, single-trailing-newline)

🤖 Prompt for AI Agents
In
Ginger/Ginger/ApplicationModelsLib/POMModels/POMWizardLib/LearnWizard/AddPOMScreenshotIntro.md
lines 1 to 8, fix typos by replacing "screen-shot" with "screenshot" and remove
incorrect apostrophes from "locator's". Improve markdown structure by adding
blank lines before and after each heading and ensure the file ends with a
trailing newline.

@Maheshkale447
Maheshkale447 merged commit 47d6e1c into Releases/Official-Release May 16, 2025
@Maheshkale447
Maheshkale447 deleted the BugFix/NewPOMWizardIntrodution branch May 16, 2025 09:28
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.

2 participants