Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Methods select and getSelected for ComboBox element don't work. #17

Closed
Aks1389 opened this issue Aug 19, 2016 · 1 comment
Closed

Methods select and getSelected for ComboBox element don't work. #17

Aks1389 opened this issue Aug 19, 2016 · 1 comment

Comments

@Aks1389
Copy link
Contributor

Aks1389 commented Aug 19, 2016

select(any_string) returns

java.lang.RuntimeException: java.lang.RuntimeException: java.lang.AssertionError: 'Value' element for dropdown not defined
    at com.epam.commons.Timer.wait(Timer.java:128)
    at com.epam.commons.Timer.alwaysDoneAction(Timer.java:90)
    at com.epam.jdi.uitests.web.selenium.elements.actions.ActionInvoker.doJAction(ActionInvoker.java:74)
    at com.epam.jdi.uitests.web.selenium.elements.actions.ActionInvoker.doJAction(ActionInvoker.java:70)
    at com.epam.jdi.uitests.web.selenium.elements.actions.ElementsActions.select(ElementsActions.java:150)
    at com.epam.jdi.uitests.web.selenium.elements.complex.Selector.select(Selector.java:50)

getSelected() returns NullPointerException.

@Aks1389 Aks1389 changed the title Methods select and getSelected for ComboBox element doesn't work. Methods select and getSelected for ComboBox element don't work. Aug 19, 2016
@RomanIovlev
Copy link
Collaborator

Can you show your Dropdown description?
Hope you just not specify isSelected for it

RomanIovlev pushed a commit that referenced this issue Oct 12, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants