selenium icon indicating copy to clipboard operation
selenium copied to clipboard

Selenium Webdriver - Unable to select drop down in grid, it gets enabled and hide spontaneously

Open techiebuddhas opened this issue 10 years ago • 2 comments

Meta -

OS: Selenium Version: Browser: Browser Version:

Expected Behavior -

Dear all, please help me with this issues, in our web application most of the pages having dropdown’s in grid. While automating such process, it simply clicks the td (cell of the grid) and spontaneously the dropdown displayed and get hide. Because if its getting hide immediate we can’t perform next operation. How can we deal with such issues? So that we can’t proceed further. I just tried with following functions in selenium webdriver.am using java(selenium version 2.52.0) Click Clickandhold Tab keys Double click Enter keys

Please advice? Thanks in advance.

Actual Behavior -

drodpown in the grid enabled and hide spontaneously not able to perform action in the dropdown. after action on action

techiebuddhas avatar Apr 08 '16 04:04 techiebuddhas

You can try with "select":

WebElement identifier = driver.findElement(By.id("id_of_drop_down")); Select select = new Select(identifier); select.selectByVisibleText("visible_text");

mstankovic86 avatar Apr 08 '16 07:04 mstankovic86

This is a question rather than an issue. Please send questions to the selenium user group

For issues please provide a concise reproducible test case and describe what results you are seeing and what results you expect.

See CONTRIBUTING.md

lukeis avatar Apr 08 '16 17:04 lukeis