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

Using Marionette and Html elements #133

Open
tnimni opened this issue Oct 19, 2016 · 3 comments
Open

Using Marionette and Html elements #133

tnimni opened this issue Oct 19, 2016 · 3 comments

Comments

@tnimni
Copy link

tnimni commented Oct 19, 2016

Hi,

I had to upgrade to Marionette since firefox driver is only supported for v47 and below.
ever since I upgraded the test webDriver, Yandex Html Elements stopped working

Any chance to get some help here?

Thanks

@artkoshelev
Copy link
Contributor

What do you mean by stop working? Can you provide some detailed error description and stacktraces?

@tnimni
Copy link
Author

tnimni commented Oct 25, 2016

Hi,

I did a couple more tries,
It works with firefox version 46.0b6 and marionette or firefox driver, but won't work with 47 or above
I'm starting to think it's firefox issue not your code

Regards,

Tsachi

1477391476903   geckodriver INFO    Listening on 127.0.0.1:9311
1477391477282   mozprofile::profile INFO    Using profile path /var/folders/sx/799xnn2d5mb270n4ql0f24380000gn/T/rust_mozprofile.pVVKCk24egxP
1477391477283   geckodriver::marionette INFO    Starting browser /Applications/Firefox.app/Contents/MacOS/firefox-bin
1477391477287   geckodriver::marionette INFO    Connecting to Marionette on localhost:54067
1477391478036   Marionette  INFO    Listening on port 54067
JavaScript warning: http://dev.budgeta.com/assets/vendor.js, line 30028: unreachable code after return statement

java.lang.NullPointerException
    at java.util.Objects.requireNonNull(Objects.java:203)
    at java.util.Optional.<init>(Optional.java:96)
    at java.util.Optional.of(Optional.java:108)
    at ru.yandex.qatools.htmlelements.element.TextInput.getText(TextInput.java:47)
    at ru.yandex.qatools.htmlelements.element.TextInput.getClearCharSequence(TextInput.java:56)
    at com.budgeta.automation.LoginPages.LoginElements.fillLoginForm(LoginElements.java:34)
    at com.budgeta.automation.LoginPages.LoginPage.doLoginSuccess(LoginPage.java:28)
    at com.budgeta.automation.demoTest.doLoginSuccess(demoTest.java:72)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:498)
    at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
    at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
    at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
    at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
    at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
    at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
    at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:76)
    at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
    at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
    at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
    at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
    at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
    at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
    at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
    at org.junit.runner.JUnitCore.run(JUnitCore.java:157)
    at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:117)
    at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:42)
    at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:262)
    at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:84)

@ham1
Copy link
Contributor

ham1 commented Oct 19, 2017

Is this still happening with the latest FF and gecko driver?

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

3 participants