In this section we are going to find a number of elements that are on the page. You will need to have Firebug installed for this. We are going to look at how to find the ID of an element using Firefox.
Navigate to http://www.wisdomjobs.com/chapter(Locators) and click on the Firebug icon.
Click on the Select Element icon in Firebug - -.
Move your mouse over the element that you wish to have a look at.
Move your mouse over different elements. As you can see in the following screenshot, firebug will highlight each of the items that you want to see:
What just happened?
Once one has been selected, you can see that the element and all of the different attributes are now visible. We saw that the item became highlighted, or a single color box surrounded it, so that we can see which item is selected. We see this in the previous screenshot.
Now that we are confident on how to find elements and their attributes, let's start using them in Selenium.
Pop quiz - using the Find button
What color is an element bordered with when the Find button is clicked in Selenium IDE?
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.