diff --git a/assets/images/uploads/reqnroll-cloud-execution.webp b/assets/images/uploads/reqnroll-cloud-execution.webp new file mode 100644 index 000000000..a59d8e3e7 Binary files /dev/null and b/assets/images/uploads/reqnroll-cloud-execution.webp differ diff --git a/assets/images/uploads/reqnroll-mobile-step1.webp b/assets/images/uploads/reqnroll-mobile-step1.webp new file mode 100644 index 000000000..7457ffbe7 Binary files /dev/null and b/assets/images/uploads/reqnroll-mobile-step1.webp differ diff --git a/assets/images/uploads/reqnroll-mobile-step4.1.webp b/assets/images/uploads/reqnroll-mobile-step4.1.webp new file mode 100644 index 000000000..fad00e1ab Binary files /dev/null and b/assets/images/uploads/reqnroll-mobile-step4.1.webp differ diff --git a/assets/images/uploads/reqnroll-mobile-step4.webp b/assets/images/uploads/reqnroll-mobile-step4.webp new file mode 100644 index 000000000..aa6423192 Binary files /dev/null and b/assets/images/uploads/reqnroll-mobile-step4.webp differ diff --git a/assets/images/uploads/reqnroll-mobile-step5.webp b/assets/images/uploads/reqnroll-mobile-step5.webp new file mode 100644 index 000000000..a5435162e Binary files /dev/null and b/assets/images/uploads/reqnroll-mobile-step5.webp differ diff --git a/assets/images/uploads/reqnroll-mobile-step6.webp b/assets/images/uploads/reqnroll-mobile-step6.webp new file mode 100644 index 000000000..e573a12bf Binary files /dev/null and b/assets/images/uploads/reqnroll-mobile-step6.webp differ diff --git a/assets/images/uploads/reqnroll-mobile-step7.1.webp b/assets/images/uploads/reqnroll-mobile-step7.1.webp new file mode 100644 index 000000000..f572b2f54 Binary files /dev/null and b/assets/images/uploads/reqnroll-mobile-step7.1.webp differ diff --git a/assets/images/uploads/reqnroll-mobile-step7.2.webp b/assets/images/uploads/reqnroll-mobile-step7.2.webp new file mode 100644 index 000000000..701a4338b Binary files /dev/null and b/assets/images/uploads/reqnroll-mobile-step7.2.webp differ diff --git a/assets/images/uploads/reqnroll-mobile-step7.webp b/assets/images/uploads/reqnroll-mobile-step7.webp new file mode 100644 index 000000000..f5f3ca15f Binary files /dev/null and b/assets/images/uploads/reqnroll-mobile-step7.webp differ diff --git a/assets/images/uploads/reqnroll-mobile-step8.webp b/assets/images/uploads/reqnroll-mobile-step8.webp new file mode 100644 index 000000000..f73a5a5bb Binary files /dev/null and b/assets/images/uploads/reqnroll-mobile-step8.webp differ diff --git a/assets/images/uploads/reqnroll-step4.webp b/assets/images/uploads/reqnroll-step4.webp new file mode 100644 index 000000000..be66d743c Binary files /dev/null and b/assets/images/uploads/reqnroll-step4.webp differ diff --git a/assets/images/uploads/reqnroll-step5.webp b/assets/images/uploads/reqnroll-step5.webp new file mode 100644 index 000000000..223c13281 Binary files /dev/null and b/assets/images/uploads/reqnroll-step5.webp differ diff --git a/assets/images/uploads/reqnroll-step6.0.webp b/assets/images/uploads/reqnroll-step6.0.webp new file mode 100644 index 000000000..d4da68191 Binary files /dev/null and b/assets/images/uploads/reqnroll-step6.0.webp differ diff --git a/assets/images/uploads/reqnroll-step6.webp b/assets/images/uploads/reqnroll-step6.webp new file mode 100644 index 000000000..215ec5f90 Binary files /dev/null and b/assets/images/uploads/reqnroll-step6.webp differ diff --git a/assets/images/uploads/reqnroll-step7.1.webp b/assets/images/uploads/reqnroll-step7.1.webp new file mode 100644 index 000000000..23ecfec87 Binary files /dev/null and b/assets/images/uploads/reqnroll-step7.1.webp differ diff --git a/assets/images/uploads/reqnroll-step7.webp b/assets/images/uploads/reqnroll-step7.webp new file mode 100644 index 000000000..1cf49f91e Binary files /dev/null and b/assets/images/uploads/reqnroll-step7.webp differ diff --git a/assets/images/uploads/reqnroll-virtual-environment.webp b/assets/images/uploads/reqnroll-virtual-environment.webp new file mode 100644 index 000000000..7457ffbe7 Binary files /dev/null and b/assets/images/uploads/reqnroll-virtual-environment.webp differ diff --git a/docs/playwright-ios-guide.md b/docs/playwright-ios-guide.md index 16edda813..741ce1c00 100644 --- a/docs/playwright-ios-guide.md +++ b/docs/playwright-ios-guide.md @@ -53,7 +53,7 @@ Playwright test automation on real iOS devices is now supported on LambdaTest. T This guide will cover the basics of getting started with Playwright testing on iOS devices on the LambdaTest platform. -> Playwright testing on real iOS and Android devices is supported on Playwright **v1.53.2** +> Testing with Playwright on real iOS and Android devices is currently supported with Playwright **v1.53.2** ## Prerequisites **Step 1:** Clone the LambdaTest-Playwright repository on your system using the following command. diff --git a/docs/reqnroll-with-selenium.md b/docs/reqnroll-with-selenium.md new file mode 100644 index 000000000..fb7a16b0d --- /dev/null +++ b/docs/reqnroll-with-selenium.md @@ -0,0 +1,321 @@ +--- +id: reqnroll-with-selenium-appium +title: Reqnroll With Selenium Grid +hide_title: true +sidebar_label: Reqnroll +description: Now you can run your automation scripts using Selenium with Reqnroll on LambdaTest online grid of 10000+ real desktop browsers and real operating systems. +keywords: + - reqnroll + - reqnroll selenium + - reqnroll appium + - reqnroll tutorial + - c# selenium + - c# automation testing + - selenium webdriver c# + - selenium c# testing tutorial + - c# selenium framework +url: https://www.lambdatest.com/support/docs/reqnroll-automation-with-selenium-appium-on-lambdatest/ +site_name: LambdaTest +slug: reqnroll-automation-with-selenium-appium-on-lambdatest/ +--- + +import CodeBlock from '@theme/CodeBlock'; +import {YOUR_LAMBDATEST_USERNAME, YOUR_LAMBDATEST_ACCESS_KEY} from "@site/src/component/keys"; + + + +# Reqnroll with Selenium and Appium: Tutorial to Run Your First Test on LambdaTest +*** + +In this topic, you will learn how to configure and run your web and mobile automation testing scripts on [LambdaTest Selenium cloud grid](https://www.lambdatest.com/selenium-automation) and [LambdaTest Appium cloud grid](https://www.lambdatest.com/appium-mobile-testing) using **Reqnroll**. + +## Objective +*** + +By the end of this topic, you will be able to: + +1. Set up an environment for testing your hosted web pages using **Reqnroll** framework with **Selenium**. +2. Understand and configure the core capabilities required for your Selenium test suite. +3. Run test cases in parallel using **Reqnroll** with **Selenium** to reduce build times. +4. Test your locally hosted pages on LambdaTest platform. +5. Explore advanced features of LambdaTest. + +>**Note:** All the code samples in this documentation can be found in the [LambdaTest's Repository on GitHub](https://github.com/LambdaTest/reqnroll-automation-sample/). You can either download or clone the repository to quickly run your tests. + +## Prerequisites For Running Reqnroll Selenium +*** +>**Note:** This tutorial is specifically for Windows users using **Microsoft Visual Studio**. + +Before you can start performing **Reqnroll** automation testing with **Selenium**, you would need to: + +* Download and Install **Selenium WebDriver** from the [official website](https://www.selenium.dev/downloads/). +* Make sure you work with latest version of **Reqnroll**. +* **.Net** framework to deliver guidelines while developing a range of application using C#. +* Download [Selenium WebDriver Language Binding](https://www.selenium.dev/downloads/) for C# and extract them to appropriate folder. A [.NET Core SDK](https://dotnet.microsoft.com/en-us/download) of 2.1 or greater version. +* You would also need LambdaTest tunnel binary file for testing your locally hosted or privately hosted projects. + + +## Web Automation Testing with Reqnroll + + + +**Step 1:** Create a virtual environment by triggering the virtualenv venv command on the terminal. + +```bash +virtualenv venv +``` + +

+cmd +

+ + + +**Step 2:** Navigate the newly created virtual environment by triggering the source venv/bin/activate command on the terminal. + +```bash +source venv/bin/activate +``` + + +**Step 3:** You can fetch the LambdaTest Credentials from the [LambdaTest Profile Section](https://accounts.lambdatest.com/security/username-accesskey). + +Update the LambdaTest Credentials - [LT_USERNAME](https://github.com/hjsblogger/reqnroll-web-mobile-automation/blob/main/selenium_4/Makefile#L17) and [LT_ACCESS_KEY](https://github.com/hjsblogger/reqnroll-web-mobile-automation/blob/main/selenium_4/Makefile#L18) in Makefile. + +Alternatively, you can also export the environment variables LT_USERNAME and LT_ACCESS_KEY by triggering the following commands on the terminal: + +**For macOS:** +```bash +export LT_USERNAME=LT_USERNAME +export LT_ACCESS_KEY=LT_ACCESS_KEY +``` + +**For Linux:** +```bash +export LT_USERNAME=LT_USERNAME +export LT_ACCESS_KEY=LT_ACCESS_KEY +``` +**For Windows:** + +```bash +set LT_USERNAME=LT_USERNAME +set LT_ACCESS_KEY=LT_ACCESS_KEY +``` +**Step 4:** Run the make clean command on the terminal to clean the temporary files. + +```bash +make clean +``` +

+cmd +

+ +**Step 5:** Trigger the command `make build` on the terminal to build the automation project + + +```bash +make build +``` +

+cmd +

+ +**Step 6:** **Execution** + +Trigger the command `make reqnroll-automation-test` to run the Reqnroll tests on the LambdaTest platform + + +

+cmd +

+ +

+cmd +

+ +**Step 7:** **Execution** + +Navigate to the [LambdaTest Automation Dashboard](https://automation.lambdatest.com/) to check the status of the test execution: + +

+cmd +

+ +As seen below, all the scenarios that are a part of respective *.feature(s)* files successfully executed on LambdaTest. + +

+cmd +

+ +

+cmd +

+ +## Mobile App Automation Testing with Reqnroll + + + +**Step 1:** Create a virtual environment by triggering the *virtualenv venv* command on the terminal + + +```bash +virtualenv venv +``` +

+cmd +

+ +**Step 2** + +Navigate the newly created virtual environment by triggering the source *venv/bin/activate* command on the terminal + +```bash +source venv/bin/activate +``` + +**Step 3** + +You can fetch the LambdaTest Credentials from the [LambdaTest Profile Section](https://accounts.lambdatest.com/security/username-accesskey) section. + +Update the LambdaTest Credentials - [LT_USERNAME](https://github.com/hjsblogger/reqnroll-web-mobile-automation/blob/main/appium/Makefile#L17) and [LT_ACCESS_KEY](https://github.com/hjsblogger/reqnroll-web-mobile-automation/blob/main/appium/Makefile#L18) in Makefile. + +Alternatively, you can also export the environment variables *LT_USERNAME* and *LT_ACCESS_KEY* by triggering the following commands on the terminal: + +**For macOS:** +```bash +export LT_USERNAME=LT_USERNAME +export LT_ACCESS_KEY=LT_ACCESS_KEY +``` +**For Linux:** + +```bash +export LT_USERNAME=LT_USERNAME +export LT_ACCESS_KEY=LT_ACCESS_KEY +``` + +**For Windows:** + +```bash +set LT_USERNAME=LT_USERNAME +set LT_ACCESS_KEY=LT_ACCESS_KEY +``` + +**Step 4** + +For the testing, we are using the [Proverbial App (apk)](https://prod-mobile-artefacts.lambdatest.com/assets/docs/proverbial_android.apk) from LambdaTest. The app needs to be uploaded to the LambdaTest cloud storage. Run the below command for uploading the app to the cloud: + +Note: Please replace the LT_USERNAME and LT_ACCESS_KEY with the actual LambdaTest credentials that are available in the [LambdaTest Profile Section](https://accounts.lambdatest.com/security/username-accesskey) section. + +```bash +curl -u "LT_USERNAME:LT_ACCESS_KEY" -X POST "https://manual-api.lambdatest.com/app/upload/realDevice" -F "url=https://prod-mobile-artefacts.lambdatest.com/assets/docs/proverbial_android.apk" -F "name=proverbial-android" -F "custom_id=sampleName" -F "storage=url" -F "visibility=individual" +``` + +If the command execution is successful, you would see a APP ID in the command output: + +

+cmd +

+ + +You would also see the app named 'proverbial-android' in the [App Live App Dashboard](https://applive.lambdatest.com/app). + +

+cmd +

+ +Now that the app is available for testing, let's execute the other make commands + +**Step 5** + +Run the *make clean* command on the terminal to clean the temporary files + +```bash +make clean +``` +

+cmd +

+ +**Step 6** + +Trigger the command *make build* on the terminal to build the automation project + +```bash +make build +``` +

+cmd +

+ + +**Step 7** + +Trigger the command make `reqnroll-automation-test` to run the Reqnroll tests on the LambdaTest platform + +

+cmd +

+ +

+cmd +

+ +

+cmd +

+ +**Step 8** + +Navigate to the [LambdaTest Automation Dashboard](https://automation.lambdatest.com/) to check the status of the test execution. As seen below, all the scenarios that are a part of respective .feature(s) files successfully executed on LambdaTest. + +

+cmd +

+ + +## Additional Links +*** +* [Advanced Configuration for Capabilities](https://www.lambdatest.com/support/docs/selenium-automation-capabilities/) +* [How to test locally hosted apps](https://www.lambdatest.com/support/docs/testing-locally-hosted-pages/) +* [How to integrate LambdaTest with CI/CD](https://www.lambdatest.com/support/docs/integrations-with-ci-cd-tools/) + + + \ No newline at end of file