Android Key error #19971
Unanswered
SankaraNarayanan1609
asked this question in
Q&A
Android Key error
#19971
Replies: 1 comment
-
Perhaps you could create a ticket in java-cilent repo. You could check https://github.com/appium/java-client/blob/284918d6fe18ddf13c48e5a833a702dc0dbb9576/src/main/java/io/appium/java_client/android/nativekey/KeyEvent.java#L87 value with break point in debug |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Wiithout android key my codeworks fine but after using it
package Appium;
import io.appium.java_client.AppiumBy;
import io.appium.java_client.android.nativekey.AndroidKey;
import io.appium.java_client.android.nativekey.KeyEvent;
import org.openqa.selenium.DeviceRotation;
import org.testng.Assert;
import org.testng.annotations.Test;
import java.net.MalformedURLException;
import java.net.URISyntaxException;
import java.sql.Driver;
public class Miscellenious extends BaseScript {
@test
public void AppiumTest() throws MalformedURLException, URISyntaxException {
}
Error:
java.lang.IllegalStateException: The key code must be set
Beta Was this translation helpful? Give feedback.
All reactions