Selenium IDE has been installed, so let's take some time to familiarize ourselves with Selenium IDE. This will give us the foundation that we can use in later chapters.
Open up Selenium IDE by going through the tools menu in Mozilla Firefox. The steps are Tools | Selenium IDE. A window will appear. If the menu bar is not available, which is now the default in Firefox, you can launch Selenium IDE via Firefox | Web Developer | Selenium IDE.
Starting from the top, I will explain what each of the items are:
Base URL: This is the URL that the test will start at. All open commands will be relative to the Base URL unless a full path is inserted in the open command.
Speed Slider: This is the slider under the Fast and Slow labels on the screen.
Run all the tests in the IDE.
Run a single test in the IDE.
Pause a test that is currently running.
Step through the test once it has paused.
This is the record button. This will be engaged when the test is recording.
The Command select box has a list of all the commands that are needed to create a test. You can type into it to use the auto complete functionality or use it as a drop down.
The Target text box allows you to input the location of the element that you want to work against.
The Find button, once the target box is populated, can be clicked to highlight the element on the page.
The Value text box is where you place the value that needs to change. For example, if you want your test to type in an input box on the web page, you would put what you want it to type in the value box.
The Test table will keep track of all your commands, targets, and values. It has been structured this way because the original version of Selenium was styled on FIT tests. FIT was created by Ward Cunningham and means Framework for Integrated Testing. The tests were originally designed to be run from HTML files and the IDE keeps this idea for its tests.
If you click the Source tab you will be able to see the HTML that will store the test. Each of the rows will look like:
The area below the Value text box will show the Selenium log while the tests are running. If an item fails, then it will have an [error] entry.
This area will also show help on Selenium Commands when you are working in the Command select box. This can be extremely useful when typing commands into Selenium IDE instead of using the record feature.
The Log tab will show a log of what is happening during the test. The Reference tab gives you documentation on the command that you have highlighted.
Selenium Related Interview Questions
|SILK TEST Interview Questions||QTP Interview Questions|
|JMeter Interview Questions||Automation Testing Interview Questions|
|Software testing Interview Questions||JUnit Interview Questions|
|TestNG Interview Questions||SAP Testing Interview Questions|
|Selenium WebDriver Interview Questions||Selenium IDE Interview Questions|
|QUnit Testing Interview Questions||Performance Testing Interview Questions|
|Hadoop Testing Interview Questions|
Getting Started With Selenium Ide
Overview Of Selenium Webdriver
Working With Webdriver
Getting Started With Selenium Grid
Advanced User Interactions
Working With Html5
Migrating From Remote Control To Webdriver
All rights reserved © 2018 Wisdom IT Services India Pvt. Ltd
Wisdomjobs.com is one of the best job search sites in India.