How To Write Customized Xpath In Selenium Webdriver | Selenium Webdriver Tutorial http://teachyourselftestautomation.com
We have seen howto use the browser tool to generate your xpath for any element or object on a web page
Why would you want to know how to generate your own Xpath or know how to customise Xpaths?
For one you need to know various methods to generate an xpath and for another reason browser generated xpath are not 100 percent full proof
I have yet to see one that has not worked oin my test script but not ever web page or site are developed with the same amount of care
Check out the syntax for customised xpath @ my blog day 11 How To Write Customized Xpath In Selenium Webdriver
Once you have inspected the element or object you want to create you own xpath for it comes down to substituting tagname, attribute and attribute value from HTML code for that element into yout xpath syntax and you are good to
go
Remember every xpath you generate you can use the developer console tab to validate and check if it's correct before you start using it for scripting
See you tomorrow @ day 12
How To Write Customized Xpath In Selenium Webdriver | selenium webdriver tutorial http://teachyourselftestautomation.com
--------------------------------------------------------------------------------------------------------
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...
• How To Write Customized Xpath In Selenium ...
-------------------------------------------------------------------------------------------------------
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 Write Customized Xpath In Selenium Webdriver | Selenium Webdriver Tutorial de Duración hora minuto segunda en buena calidad , que subió el usuario Teach Yourself Test Automation 18 diciembre 2018, comparta el enlace con amigos y conocidos, en youtube este video ya ha sido visto 471 veces y le gustó 4 a los espectadores. Disfruta viendo!