Using Selenium WebDriver (.Net) I’m able to get to a tabstip (MS Control), and I’m able to send Key events to it (Left, Right) and navigate through it.
Is there any way of obtaining the names of the tabs?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
This can be done by creating your own TabStrip and Tab elements that implement IWebElement.
The first one takes an IWebDriver as a parameter to the constructor, from which it can get access to the source HTML, find (using string.IndexOf) the TabStip, convert it to an XDocument and reading all the necessary info from it.
You can then access it using a new ByEx, constructed with a new TabStrip on a specified frame.