Questions tagged [java-client]

134 questions
0
votes
0 answers

java.lang.NoClassDefFoundError: org/elasticsearch/http/AbstractHttpServerTransport

I am getting java.lang.NoClassDefFoundError: when trying to establish elasticsearch client. I know its mainly because of JAR version mismatch / if any JAR is missing, but i have searched for long and i dont know what I am missing. List of…
Bhavik Patel
  • 1,044
  • 1
  • 15
  • 33
0
votes
1 answer

Java client PressKey Method works fine, but the key is not pressed in Mobile?

I have this below snippet of code in my automation framework public void settings() { try { //((AndroidDriver) Driver).pressKeyCode(AndroidKeyCode.SETTINGS); ((AndroidDriver) Driver).pressKey(new…
krishnakumar
  • 173
  • 3
  • 15
0
votes
1 answer

How to maintain session between server and client when each servle end?

i have develop servlet server and javaclient and want to know how to maintain session keep connecting. now, my javaclient will call my servlet and then server will return data back to client. after client process the data and then it will call the…
stockjoe
  • 1
  • 1
0
votes
1 answer

How to load a drools rule externally

I have a drl file and a .class file in a folder. drl contains rule which is built on class attributes. Now through a java program i want to invoke this rule on some input. I am clueless here . please look at code below class file import…
amarzeet
  • 63
  • 2
  • 11
0
votes
1 answer

How to communicate between pods of the same service on the same k8s cluster using k8s-java-client?

I have a kubernetes cluster that has many services on it. How can I make one pod publish a message, and receive it from another siblings pods (pods of the same service), using kubernetes-java-client. Until now, I didn't find a way to do the job…
0
votes
1 answer

Keyboard enter key not working in appium java-client 6.0.0-BETA2

i'm trying automate the search scenario, i mean pass one text to input field and hit enter button of keyboard. so far, i tried below:…
Jagadeesh
  • 358
  • 5
  • 17
0
votes
1 answer

Unexpected value returned when checking a property value for Android apps

Recently I updated my appium version to 1.11.1 and after I did a basic validation like checking clickable elements state in a new screen layout of my Android app (in which previously I reviewed all items were "clickable=false" through the UI…
0
votes
1 answer

How do I send a Message to all Clients on a multithreaded Server?

I have written a simple multithreaded Server on which the two Clients can send Messages to the Server an the Server a Message to all the Clients at once. But I can't get it to work as intended. I already tried it by putting a List of all…
user9885271
0
votes
1 answer

Can't click on element in a cell that is not displayed in Appium - IOS using Java-Client

I'm trying to create automation E2E testing for an SDK we build. We decided to test the SDK with a test app that will call the commands in a table that will test all SDK capabilities. I was stuck for a while, Not understanding why some click events…
Erez
  • 1,933
  • 5
  • 29
  • 56
0
votes
1 answer

Appium code not working after updating java-client and selenium version

I have a piece of code that works fine with java-client(5.0.0-BETA6) and selenium-java version 3.3.1. But when i upgraded to java-client version 6.1.0 and selenium-java version 3.14.0, the code started throwing errors. Need help in fixing the…
vaibhav misra
  • 135
  • 6
  • 19
0
votes
2 answers

ClassCastException on using Appium TouchActions

Im trying to perform tap action using Appium TouchActions class, but it throws exceptions. Please provide your solution. import io.appium.java_client.android.AndroidDriver; import…
0
votes
2 answers

Unable to hit Key combination after "java_client" update

I am working on Appium Desktop(Version 1.6.2 (1.6.2)) Recently, I have updated "java_client-4.0.0" to "java_client-6.1.0" and I am facing several issue. One is that I am not able to enter Key Values in Capital case (i.e. "A"). As all the Key Stroke…
Ashish
  • 185
  • 1
  • 2
  • 17
0
votes
1 answer

Appioum: Unable to create AndroidDriver with (URL,Capabilties)

I'm trying to create an Appium framework and I stuck with creating of android driver. The server (Appium REST http interface listener started on 0.0.0.0:4723) has started, but on the client side, the driver creation keeps failing. below are the…
picstand
  • 141
  • 2
  • 13
0
votes
1 answer

Appium: Unable to clear and sendKey in pre-filled textbox value in Android 7.0 or above

How to clear pre-filled text box value using java in appium? I have tried all possible solution available on Internet but not works for me. I have used .clear() and .sendKey() both method and it's working fine in Android 6.0 and below version. but…
BhavinD.
  • 435
  • 5
  • 18
0
votes
1 answer

Why is there a message missing? How can is fix it?

I am absolutely new to RIAK KV. I actually learn it in the university and have to write some Java Code to store 5000 datasets in an RIAK Cluster. So I started to code: package main; import java.io.File; import java.io.FileNotFoundException; import…
Elmar B.
  • 750
  • 4
  • 14
1 2 3
8 9