Search code examples
htmluser-interfacetestingwatindatalist

How do I get a handle on a datalist to access it options


I am writing a UI test and have been using WatiN.core which gives access to buttons, divs and TextFields. However it does not give me access to a datalist. Any ideas ?


Solution

  • DataList is HTML 5 tag, which was introduced after WatiN was released. But with WatiN's ability, we can create the new HTML controls/tags with ease. Please refer this post for better view. Do let me know if this doesn't work.