How To Write Customized Xpath In Selenium Webdriver | Selenium Webdriver Tutorial

Опубликовано: 18 Декабрь 2018
на канале: Teach Yourself Test Automation
471
4

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...)


На этой странице сайта вы можете посмотреть видео онлайн How To Write Customized Xpath In Selenium Webdriver | Selenium Webdriver Tutorial длительностью часов минут секунд в хорошем качестве, которое загрузил пользователь Teach Yourself Test Automation 18 Декабрь 2018, поделитесь ссылкой с друзьями и знакомыми, на youtube это видео уже посмотрели 471 раз и оно понравилось 4 зрителям. Приятного просмотра!