To understand the basic selenium operations like invoking the driver, identifying the web element by name and
Question:
To understand the basic selenium operations like invoking the driver, identifying the web element by name and getting the specific attribute of the web element.
Description:
Shopify is a popular online shopping site. The UX team is very particular about the user experience. They don't want to add too many labels at the same time they want to make sure that the user experience is not compromised. Hence they suggested to show the meaningful placeholder text for all text fields. You have been asked to write selenium script to check the placeholder value of the Firstname textbox.
URL:http://webapps.tekstac.com/Shopify/
Test Procedure:
1. Use the template code.
2. Don't make any changes in DriverSetup file.
3. Only in the suggested section add the code to.
4. Invoke the driver using getWebDriver() method defined in DriverSetup()
5. Identify the Firstname textbox using By.name locator, get the placeholder value of the same.
6. Store the placeholder value in the static variable fName.
Smith and Roberson Business Law
ISBN: 978-0538473637
15th Edition
Authors: Richard A. Mann, Barry S. Roberts