Elements do not necessarily have ID attributes on all of them. Elements can have names that we can use to locate them.In the Target text box this would look like name = Element. Follow the given example to see how it would work:
Open Selenium IDE.
Navigate to http ://www.wisdomjobs.com/chapter(Locators)and click on the Firebug icon.
Find any element that you want to interact with and in the Target textbox of Selenium IDE, place the value of its name attribute.For example, use but2 as in the following screen shot against http://book.the automatedtester.co.uk/ chapter(Locators).
Type the command click into the Command selectbox.
Play your script.
What just happened?
Your test will have executed the step successfully. Since the test is using the name of the element, if that element were to be moved around,it would find the item without any issue.
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.