Skip to content

Conversation

@Manuraj-7
Copy link
Contributor

@Manuraj-7 Manuraj-7 commented Apr 14, 2025

This is to add doc for "Code generation" in KaneAI.

Copy link
Collaborator

@Private1647 Private1647 left a comment

Choose a reason for hiding this comment

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

Check comments @Manuraj-7

})
}}
></script>
This is Kane AI's Generate code workplace where you can generate test automation code for App & Web applications in multiple available languages.
Copy link
Collaborator

Choose a reason for hiding this comment

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

Replace with: KaneAI generates automation script is multiple frameworks and languages based on natural language inputs from users. KaneAI is available for desktop web applications as well as native mobile applications currently.

<img loading="lazy" src={require('../assets/images/kane-ai/generate-code-button.png').default} alt="generated-code-listing" className="doc_img"/>
Click the `Generate New Code` button to go to code generation page where you can select desired framework and language.

> By Default a Selenium code in Python is generated for you.
Copy link
Collaborator

Choose a reason for hiding this comment

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

Add this below in Web framework as it is default for web only @Manuraj-7

### Selenium
Selenium is your go-to tool for cross-browser testing, enabling automated testing across different web browsers like Chrome, Firefox, Safari, and Edge. It's perfect for end-to-end testing of web applications. With Kane AI, you can generate Selenium code in:

- **Python**
Copy link
Collaborator

Choose a reason for hiding this comment

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

Highlight default

- **Python**
- **Java**

### Playright
Copy link
Collaborator

Choose a reason for hiding this comment

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

Spelling mistake @Manuraj-7

- **Java**

### Playright
Playwright is a fast and reliable end-to-end testing for complex modern web applications it uses a single API to automate Chromium, Firefox, and WebKit. You can generate Playright code in:
Copy link
Collaborator

Choose a reason for hiding this comment

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

Check spelling of Playwright in last sentence

### Appium
Appium is an open-source automation tool for running scripts and testing native applications and mobile web apps on different platforms like iOS and Android. You can generate Appium code in:

- **Javascript**
Copy link
Collaborator

Choose a reason for hiding this comment

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

Highlight this is partially rolled out.

Appium is an open-source automation tool for running scripts and testing native applications and mobile web apps on different platforms like iOS and Android. You can generate Appium code in:

- **Javascript**
- **Python**
Copy link
Collaborator

Choose a reason for hiding this comment

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

Mention this is default.


- **Javascript**
- **Python**
- **Java** No newline at end of file
Copy link
Collaborator

Choose a reason for hiding this comment

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

Add last statement that currently test runs only work for code generation in Selenium - Python & Appium Python. The support for others will be rolled out shortly. @Manuraj-7

making requested corrections.
### Selenium
Selenium is your go-to tool for cross-browser testing, enabling automated testing across different web browsers like Chrome, Firefox, Safari, and Edge. It's perfect for end-to-end testing of web applications. With Kane AI, you can generate Selenium code in:

- **Python:** For Web devices this is **generated by default**.
Copy link
Collaborator

Choose a reason for hiding this comment

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

Reword this. We don't use words such as "this" in documents.

Mention something like. By default for all web tests authored in KaneAI, an automation script on Selenium Python with PyTest framework is generated. @Manuraj-7

Selenium is your go-to tool for cross-browser testing, enabling automated testing across different web browsers like Chrome, Firefox, Safari, and Edge. It's perfect for end-to-end testing of web applications. With Kane AI, you can generate Selenium code in:

- **Python:** For Web devices this is **generated by default**.
- **Java**
Copy link
Collaborator

Choose a reason for hiding this comment

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

Highlight the framework used for TestNG for Selenium Java @Manuraj-7


- **Javascript**

> **Note:** Cypress inherently doesn't support **Switching Tabs** and **File Upload**, so it wont be available for such test cases.
Copy link
Collaborator

Choose a reason for hiding this comment

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

Instead of such test cases, write it won't be available for test cases which have test steps to switch tab or upload files. @Manuraj-7

Appium is an open-source automation tool for running scripts and testing native applications and mobile web apps on different platforms like IOS and Android. You can generate Appium code in:

- **Javascript**
- **Python:** For mobile devices this is **generated by default**.
Copy link
Collaborator

Choose a reason for hiding this comment

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

Same comment for web default


> Currently this is partially rolledout.

For now test runs only work for code generation in Selenium - Python & Appium Python. The support for others will be rolled out shortly.
Copy link
Collaborator

Choose a reason for hiding this comment

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

Add this in a tip. It's looking like it's hanging in middle.


> Currently this is partially rolledout.

For now test runs only work for code generation in Selenium - Python & Appium Python. The support for others will be rolled out shortly.
Copy link
Collaborator

Choose a reason for hiding this comment

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

Add this in a tip. It's looking like it's hanging in middle.

- **Python:** For mobile devices this is **generated by default**.
- **Java**

> Currently this is partially rolledout.
Copy link
Collaborator

Choose a reason for hiding this comment

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

You have removed JavaScript. We wanted to highlight support for JS is partially rolled out @Manuraj-7

@surishubham surishubham changed the base branch from main to stage April 15, 2025 11:29
@surishubham surishubham changed the base branch from stage to main April 15, 2025 11:30
@surishubham surishubham merged commit fc6a370 into LambdaTest:main Apr 15, 2025
@Manuraj-7 Manuraj-7 deleted the KTM-2583 branch July 1, 2025 18:23
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.

3 participants