Sqe Phase 2
Sqe Phase 2
DESCRIPTION:
Selenium is an open source umbrella testing
project for a variety of tools and libraries for
supporting web browser automation. It provides
tools for playback for authoring manual functional
tests without having the need to learn a test
scripting language.
WEBSITE: OLX.com
Description:
OLX.com is a Dutch-domiciled online market-
place with its consumer brand being
originated as OnLine eXchange. OLX is a
famous website in Pakistan to sale used and
new products. It now offers OLX motors and
OLX Mall as well.
MANUAL TESTING.
TEST CASES:
1- First download Selenium extension and then Open Selenium IDE
Chrome extension.
6- We click on the stop recording button. Our test steps are saved
now we click on the run test button.
3- Now we click on the 3 dots next to test suite case and select
the test cases we need to add in the test suites. We select
our test of login and search in it.
4- Once our tests have been added we only need to click on the
run / execute test button A series of tests consisting of our
added test case executes. And success report is shown.
TEST SUITE 2:
1- For test suite 2 we repeat the initial steps of test suite 1 to
create a new test suite and add test cases. But this time we
add test cases of “Login” “Add to fav” and “chat”.
It is a success .
SCRIPT MODE
CASE: Going to OLX mall on Olx’s website and then browsing mobile
and tablets category.
For automation testing we must install other Libraries, dependencies and IDE
compilers.
SETUP:
1- For this we need to go to www.seleniumdev.com and download JAR
java files libraries and dependencies and Selenium standalone server
JAR file. Version 4.1.4
2- Now we need to install ECLIPSE compiler to script selenium in it.
3- Now we need to select JAVA as the default language for scripting
because we are using JAVA for selenium scripting.
STEPS:
1. Open eclipse IDE
2. Click -> File->New project->Java Empty Project -> Create.
3. Now create a JAVA class.
4- Now Import the downloaded JAR files and selenium server
JAR file in the project repositors by copying and pasting.
Now right click on project repositories pane and select the
batch up option and select the run together option