How To Validate Xpath And CSS Using Browser Tool | Selenium Tutorial

Publicado el: 17 diciembre 2018
en el canal de: Teach Yourself Test Automation
1,429
10

How To Validate XPath And CSS Using Browser Tool | Selenium Toturial http://teachyourselftestautomation.com
Selenium Certification Training: http://bitly.com/2PA8HCA

To validate xpath and Css selector in selenium you make use of the developer tool or browser tool console tab

Why would you want to validate your xpath or css selector

Before you use it in your script you might want to make sure it is correct so it saves you time

When we get round to customizing xpath and css selector this will be the ideal time to check if you came u with a correct xpath or css selector since yu will be doing this yourself and mistakes do happen

Find an element or object on a web page, grab the xpath or css selector you want to validate by inspecting the element or object and copying the xpath or css

Click on the console tab, top menu of the developer or browser tool window, your cursor will begin to blink on the empty box

Within this empty box type your xpath shell structure syntax, you will have to check out by blog day 10 for xpath shell structure validation syntax

Place your xpath within the double speech quotations and hit enter and hoover over result, if the element or object is highlighted when you hoover over the returned code result in the developer tool window then your xpath is correct

Do same with your css selector

How To Validate XPath And CSS Using Browser Tool | Selenium Toturial http://teachyourselftestautomation.com
-------------------------------------------------------------------------------------
#testautomation #teachyourselftestautomation #selenium #webdriver #java
--------------------------------------------------------------------------------------------------------
Follow me @
Facebook:   / kevin.itoe.50  
Google+: https://plus.google.com/u/0/103559195...
Pinterest: https://www.pinterest.co.uk/owasuik/
My Blog: http://teachyourselftestautomation.com/
My YouTube Channel:    / @teachyourselftestautomatio1271  
--------------------------------------------------------------------------------------------------------
My Videos:
   • Install And Configure Java | Selenium Webd...  
   • Eclipse Installation | eclipse software | ...  
   • Java Project Template | Java Projects | My...  
   • Download And Configure Selenium | Selenium...  
   • Basic Selenium Test Script To Invoke Web B...  
   • Selenium Tutorial | WebDriver Browser And ...  
   • Selenium Webdriver Locators | Locators In ...  
   • Find Elements On Web Page With Link Text X...  
   • How To Validate Xpath And CSS Using Browse...  
-------------------------------------------------------------------------------------------------------
What Wikipedia says about selenium: https://en.wikipedia.org/wiki/Seleniu...)


En esta página del sitio puede ver el video en línea How To Validate Xpath And CSS Using Browser Tool | Selenium Tutorial de Duración hora minuto segunda en buena calidad , que subió el usuario Teach Yourself Test Automation 17 diciembre 2018, comparta el enlace con amigos y conocidos, en youtube este video ya ha sido visto 1,429 veces y le gustó 10 a los espectadores. Disfruta viendo!