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...)
Auf dieser Seite können Sie das Online-Video How To Validate Xpath And CSS Using Browser Tool | Selenium Tutorial mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer Teach Yourself Test Automation 17 Dezember 2018 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 1,429 Mal angesehen und es wurde von 10 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!