How to create Login test suit in Selenium IDE

Last updated on Nov 29 2021
Swaminathan M

Table of Contents

How to create Login test suit in Selenium IDE

In this blog , you’ll find out how to make a Login test suit in Selenium IDE.
For our test purpose, we’ll be testing the login page provided by the Test and Quiz website, present under the URL:https://www.testandquiz.com/
Note: you can sign-up and make a login test on any publically available website.
The following image shows the snapshot of the house page which will appear once we hit the above mentioned URL.

logintest 1
housepage

First you’ve got sign-up to urge the login credentials. For this test, we’ve already generated our login credentials. Now, we’ll generate a test script to make a Login Test in Selenium IDE.
• Launch Firefox browser.
• Click on the Selenium icon present on the highest right corner on your browser.
• It will launch the default interface of Selenium IDE.
• Go to your Firefox browser and open URL:https://www.testandquiz.com/
• Enter the project name as “Login Test”.
• Enter the test suit name as “Test Case 1”.
• Click on the “Start Recording” button to start out the recording of the test suit .

logintest 2
recording

• Go to your Firefox browser and right click on any space within the page and choose the Selenium IDE option.
• Click on Selenium IDE > Assert Title. The Assert Title command makes sure that the page title is correct.

logintest 3
asserttitle

• Now, click on the login button located at the highest corner of the web site .

logintest 4
loginbutton

• Fill-in the login credentials and click on on the login button. Meanwhile you’ll get the notifications of the actions performed by IDE at the acute right corner of your browser.

logintest 5
fillcredentials

• Once you get logged-in, click on the user name section to look at your account details.

logintest 6
accountdetails

• It will redirect you to your account settings page, where you’ll edit your personal details.

logintest 7
settingpage

• Click on the Logout button.
• Now, attend the IDE and click on on Stop Recording button to prevent recording the test suit .

logintest 8
stoprecording

2. Playing Back

• Click on the “Run Current Test” button present on the tool bar menu of the IDE. it’ll execute all of your interactions with the browser and provides you an overall summary of the executed test script.

logintest 9
Run Current Test

• The Log pane displays the general summary of the executed test scripts.

logintest 10
Log pane

3. Saving the test suite

• Click on the save button present on the acute right corner of the menu bar.

logintest 11
save

• Save the whole test suite as “Login Test”.

logintest 12
save Login Test

• The test suite are often found at the situation provided within the above steps.

So, this brings us to the end of blog. This Tecklearn ‘How to create Login Test Case in Selenium IDE’ blog helps you with commonly asked questions if you are looking out for a job in Selenium and Automation Testing. If you wish to learn Selenium and build a career in Automation Testing domain, then check out our interactive, Selenium Certification Training, that comes with 24*7 support to guide you throughout your learning period. Please find the link for course details:
https://www.tecklearn.com/course/selenium-training-certification/

Selenium Certification Training

About the Course

Tecklearn’s Selenium Certification Training enables you to master the complete Selenium suite. The Selenium Training is designed to train developers and manual testers to learn how to automate web applications with a robust framework, and integrate it within the DevOps processes of an organization. This Selenium Certification Training will also help you master important concepts such as TestNG, Selenium IDE, Selenium Grid, Selenium WebDriver, etc. Get hands-on experience on widely used automation frameworks such as Data-Driven Framework, Keyword-Driven Framework, Hybrid Framework, and Behavior Driven Development (BDD) Framework. Throughout this online Instructor-led Selenium Certification Training, you will be working on real-life industry use cases.

Why Should you take Selenium Certification Training?

• The average salary of a Selenium Test Automation Engineer is $94k per year – Indeed.com.
• Automation Testing Market is expected to grow at a Compound Annual Growth Rate (CAGR) of 18.0% in the next three years.
• Global software testing market to reach $50 billion by 2020 – NASSCOM. Selenium tool supports more browsers and languages than any other testing tool.

What you will Learn in this Course?

Getting started with Selenium

• Introduction to Selenium testing
• Significance of automation testing
• Comparison of Manual and Automation Testing
• Installation of Java JDK, JRE and Eclipse

Setting the environment in Eclipse for Selenium

• Java Introduction
• Creating a Java function and executing
• Concepts of Java
• Properties File
• Reading Data from Excel File
• Database Connection
• Hands On

Advantages of Selenium automation testing

• Selenium Features
• Concept of Selenium Integrated Development Environment
• Understanding of the Selenium IDE features
• Addition of Script assertions and general commands
• Deploying the first Selenium Script
• Sample project IDE
• Recording Selenium test case
• Hands On

Selenium Web driver Automation

• Architecture of Selenium Web Driver
• Download and installation
• Creating a Java function using Selenium and execution
• Hands On

Deploying Web Drivers for scripting

• Getting the HTML source of Web Element
• Table and Form Elements
• Firebug extension and Fire Path installation
• Advance User Interactions and Cross Browser Testing
• Hands On

Deep dive into Selenium Web Driver

• Action Commands
• Web Table / Date Picker
• How to Implement Switching Commands in WebDriver
• Alerts
• Frames
• Hands On

Switching Operations in WebDriver using Window

• Selenium Webdriver Wait
• Implicit wait, Explicit wait
• Deploying searching elements using the link text, name, using XPath
• Calendar
• Hands On

Introduction to TestNG Framework

• Introduction to TestNG
• Advantages of TestNG
• Installing TestNG on Eclipse
• Rules to write TestNG
• TestNG Features
• Annotations
• Grouping
• Sequencing: Prioritization and Dependency
• Enable/Disable a test case
• Parameterization: Using Xml file and DataProvider
• Parallel Testing & Cross Browser Testing
• TestNG Report: HTML Report, Console Report, XML Report

JUnit Operations and Test Framework

• Annotations, Methods in JUnit
• Junit Test Suites, ANT Build and JUNIT reporting
• Types of Test Automation Framework
• Module Based Testing Framework
• Data Driven Testing Framework
• Keyword Driven Testing Framework
• Hybrid Driven Testing Framework
• How to implement Testing Framework in Project

Object Repository

• Understanding of Object Repository
• Learning sample scripts using object repository
• Page Object Modelling
• Page Factory

JavaScript Functions

• Autosuggestion
• Headless Browser
• Sikuli
• XPath

Got a question for us? Please mention it in the comments section and we will get back to you.

0 responses on "How to create Login test suit in Selenium IDE"

Leave a Message

Your email address will not be published. Required fields are marked *