Test scenario:
1. Visit the [example test URL] : 2. Scroll to the bottom of the page and observe the Facebook comment module. 3. Without signing into Facebook, click 'Comment using' button and select 'Facebook' from the dropdown menu.
To verify: Check if the error message label 'Please fill out this field' is displayed and if the comment box border color changes.
I'm struggling to determine the xpath/css of the 'Please fill out this field' error label and the color of the comment box.
Is it possible to automate testing of this scenario with Selenium WebDriver? Any help or guidance would be greatly appreciated... Note: This is the actual Facebook API implemented on our project website.
Questions:
1. How can I identify the xpath/css of this element? 2. Can I automate testing of this scenario using Selenium? 3. What are the different ways we can approach testing this?
I am currently using Selenium WebDriver 2.0 with Java. I have attempted to capture the locat!