I am trying to click a menu items in a span as attached in a screenshot. The same below code to find an item by XPath works in selenium but not in telerik testing framework. Can some one tell me why?
--Telerik Code that does not work. Gives null menu.
Element menu = myManager.ActiveBrowser.Find.ByXPath("//span[contains(text(),'some text')]");
myManager.ActiveBrowser.Actions.Click(menu);
---Selenium code that works.
driver.FindElement(By.XPath("//span[contains(text(),'some text')]")).Click();