TheDeveloperBlog.com

Home | Contact Us

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

Selenium IDE-First Test Case

Selenium IDE-First Test Case 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- First Test Case

In this section, you will learn how to create a basic test case in Selenium ide.

The entire test script creation process in Selenium IDE can be classified into three steps:

  1. Recording (recording user interactions with the browser)
  2. Playing back (executing the recorded script)
  3. Saving the test suite

Now, we will see the implementation of the above three steps.

1. Recording

  • Launch Firefox browser.
  • Click on the Selenium icon present on the top right corner on your browser.

IDE-First Test Case
  • It will launch the default interface of Selenium IDE.

IDE-First Test Case
  • Rename the project as "Demo Test".
  • Rename the test case as "javaTpoint_test".

IDE-First Test Case
  • Click on the "Start Recording" Button present on the top right corner on the IDE to start recording the test case.

IDE-First Test Case
  • Go to your Firefox browser and open URL:www.google.com
  • It will redirect you to the Google search engine page.
  • Type "Java Tutorials" in the Google search box.

IDE-First Test Case

IDE-First Test Case
  • It will redirect you to the javaTpoint's Java tutorial web page. Meanwhile, you will get the notifications of the actions performed by the IDE at the extreme right corner of your web browser.
  • Now, go the IDE and click on the "Stop Recording" button to stop recording your actions further.

IDE-First Test Case
  • The Test Editor box now contains the list of all of your interactions with the browser.

IDE-First Test Case

Now, we will proceed to the next step which includes executing the recorded script.

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-First Test Case
  • The Log pane displays the overall summary of the executed test scripts.

IDE-First Test Case

3. Saving the test suite

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

IDE-First Test Case
  • Save the entire test suite as "Demo Test".

IDE-First Test Case
  • The test suite can be found at the location provided in the above steps. Notice that the test script is saved in .side format.

IDE-First Test Case
Next TopicIDE-Login Test




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