Skip to content

Browser test automation, login test scenario example using robotframework, browser library

Notifications You must be signed in to change notification settings

bhanuyadav022/mfa-login-robotframework

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Login Project

This project aims to automate the login functionality of a simple login web application https://seleniumbase.io/realworld/login using robot framework and playwright

Getting Started

  1. Install Robot Framework:

  2. Install Playwright:

  3. Install Dependencies

    • pip install python-dotenv
  4. Set up the project:

    • Clone this repository.

Running the Tests

  1. Configure the test environment:

  2. Run the tests:

    • Open a terminal or command prompt.
    • Navigate to the project directory.
    • Run the tests using the command robot -d results -v ENV:test tests/.

Test Structure

The directory structure is as follows:

  • tests: Contains the test cases
    • login.robot: Contains the test cases for the login functionality.
  • resources: Contains the test keywords, locators, variables.
    • keywords/login.resource: Contains the keywords for logging in and verifying error messages.
    • locators/login_page.resource: Contains the elements locator of login page
    • variables/env_variable.py: Contains environment configuration variables

About

Browser test automation, login test scenario example using robotframework, browser library

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published