Not able to pass value in combo box allowing text value as well

6 views
Skip to first unread message

Aniket Bhoir

unread,
May 22, 2018, 1:33:50 AM5/22/18
to Selenium Users
My code is 


                driver.Manage().Timeouts().ImplicitWait = TimeSpan.FromSeconds(8000);
                IWebElement territory = driver.FindElement(By.XPath(".//*[@id='willis_willisterritoryid']/div[1]"));
               territory.Click();
                territory.Clear();
                driver.Manage().Timeouts().ImplicitWait = TimeSpan.FromSeconds(1000);
                territory.SendKeys("I");
            


I have a combo box which allows the user to input text from user and search the list of items from dropdown list. Currently i am able to select the field but not able to send keys.

Appreciate if any one could help me out.
Reply all
Reply to author
Forward
0 new messages