.net - Is using Xpath necessary when automating Sitecore testing with Webdriver -
i'm building out automated testing framework sitecore. i'm using xpath locate of elements because sitecore generates ids dynamically every time load page. can tedious. there better way this? should using xpath?
thanks!
not sitecore other sites or web applications find web-elements(dom level) changes dynamically, cannot
depend on 1 or specific element locater type identifying them uniquely.you have select locater type wisely. because times
may find class-name or link text more suitable xpath or css.also not single locater useful identify our
web-element, can go sikuli, autoit or other
tool can used web object identification. such objects
can found in web-sites flash contents.answering efficient method quite difficult the
xpath , css 1 can rely on most.
Comments
Post a Comment