Skip to content

nandagirin/kargo_autotest

Repository files navigation

Login Unit Test

This script is used to test Login functionality in Kargo Technologies website. This script is written in Python using Selenium webdriver.

Stacks

This script uses a number of open source library to work properly:

Installation

This script needs the Stacks mentioned above.

Python

$ apt install python3

or Install it manually via binary file provided in the website.

Selenium

$ pip3 install selenium

or Install it manually via binary file provided in the website.

Geckodriver

Download Geckodriver from the link provided and place it wherever you want in your directory.

self.driver = webdriver.Firefox(executable_path = '')

Place your geckodriver directory inside the above code in the script.

How to Run It?

Use terminal:

$ python3 <name of script>.py

What is being tested?

This scripts test the login functionality by inserting phone number and password and then either clicking login button or pressing enter. After that, the process continue to the logout process by navigating from the home page to profile page, then click logout button.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published