TheDeveloperBlog.com

Home | Contact Us

C-Sharp | Java | Python | Swift | GO | WPF | Ruby | Scala | F# | JavaScript | SQL | PHP | Angular | HTML

Selenium IDE-Login Test

Selenium IDE-Login Test with Introduction, features, selenium basic terminology, what is selenium, selenium limitations, selenium vs qtp, tool suite, selenium ide, ide-installation, ide-features, ide-first test case, ide-commands, ide-creating test cases manually, ide-login test etc.

<< Back to SELENIUM

Selenium IDE- Login Test

In this section, you will learn how to create a Login Test case in Selenium IDE.

For our test purpose, we will 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 create a login test on any publically available website.

The following image shows the snapshot of the home page that will appear when we hit the above mentioned URL.


IDE-Login Test

First you have sign-up to get the login credentials. For this test, we have already generated our login credentials. Now, we will generate a test script to create a Login Test in Selenium IDE.

  • Launch Firefox browser.
  • Click on the Selenium icon present on the top 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 case name as "Test Case 1".
  • Click on the "Start Recording" button to start the recording of the test case.

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

IDE-Login Test
  • Now, click on the login button located at the top corner of the website.

IDE-Login Test
  • Fill-in the login credentials and click on the login button. Meanwhile you will get the notifications of the actions performed by IDE at the extreme right corner of your browser.

IDE-Login Test
  • Once you get logged-in, click on the user name section to view your account details.

IDE-Login Test
  • It will redirect you to your account settings page, where you can edit your personal details.

IDE-Login Test
  • Click on the Logout button.
  • Now, go to the IDE and click on Stop Recording button to stop recording the test case.

IDE-Login Test

2. Playing Back

  • Click on the "Run Current Test" button present on the tool bar menu of the IDE. It will execute all of your interactions with the browser and gives you an overall summary of the executed test script.

IDE-Login Test
  • The Log pane displays the overall summary of the executed test scripts.

IDE-Login Test

3. Saving the test suite

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

IDE-Login Test
  • Save the entire test suite as "Login Test".

IDE-Login Test
  • The test suite can be found at the location provided in the above steps.
Next TopicIDE-Commands




Related Links:


Related Links

Adjectives Ado Ai Android Angular Antonyms Apache Articles Asp Autocad Automata Aws Azure Basic Binary Bitcoin Blockchain C Cassandra Change Coa Computer Control Cpp Create Creating C-Sharp Cyber Daa Data Dbms Deletion Devops Difference Discrete Es6 Ethical Examples Features Firebase Flutter Fs Git Go Hbase History Hive Hiveql How Html Idioms Insertion Installing Ios Java Joomla Js Kafka Kali Laravel Logical Machine Matlab Matrix Mongodb Mysql One Opencv Oracle Ordering Os Pandas Php Pig Pl Postgresql Powershell Prepositions Program Python React Ruby Scala Selecting Selenium Sentence Seo Sharepoint Software Spellings Spotting Spring Sql Sqlite Sqoop Svn Swift Synonyms Talend Testng Types Uml Unity Vbnet Verbal Webdriver What Wpf