Difference between revisions of "PKC Login Test Script"

From PKC
Jump to navigation Jump to search
Line 11: Line 11:
==Get the .side file==
==Get the .side file==
.side file is the Selenium IDE file, consist of testing file. You can get it from PKC's Gitea Repository [https://git.pkc.pub/admin/pkc-login-test-script here], or you can clone using below command [Linux or Mac]
.side file is the Selenium IDE file, consist of testing file. You can get it from PKC's Gitea Repository [https://git.pkc.pub/admin/pkc-login-test-script here], or you can clone using below command [Linux or Mac]
  https://git.pkc.pub/admin/pkc-login-test-script.git
  git clone https://git.pkc.pub/admin/pkc-login-test-script.git


==Open the .side file from Selenium IDE==
==Open the .side file from Selenium IDE==
==Run the testing script==
==Run the testing script==

Revision as of 17:29, 31 August 2022

Testing Procedure of PKC

Basic Idea is to standardize the testing method using front end process, which are the process that is visible by end user. To automate the process, we need some kind of automation standard that can run web-based script. Most common and mature software that enable such process is Selenium. As we write this documentation, Selenium IDE is available on Chrome and Firefox browser. Before we can proceed, please see Pre-Requisite section below.

Pre-Requisite

Installing Selenium IDE

For Chrome user, please go here
and for Firefox user, please go here
and for Edge user, please go here
at the moment, those three browsers are the only supported browser by Selenium IDE. Please follow the installation procedure for each browser, and ensure you have successfully installed Selenium IDE

Get the .side file

.side file is the Selenium IDE file, consist of testing file. You can get it from PKC's Gitea Repository here, or you can clone using below command [Linux or Mac]

git clone https://git.pkc.pub/admin/pkc-login-test-script.git

Open the .side file from Selenium IDE

Run the testing script