![](/images/ajax-loade.gif)
Featured
-
No Featured Found!
Tags
How to capture screenshot in Appium ?
There are many times when we run our testcases there might be the possibility that testcases may fail and when the testcase may fail then the screenshot of the screen should be captured. We should use the following code to capture the screenshot:...
How to send a key event to the device ?
There are two methods we use to send the key events:
sendKeys()
sendKeyEvent(int)
Every keyboard event is associated with an integer value and we have to pass the integer value in the method to perform the desired action.
Suppose if w...
Original error: Could not find a connected Android device.
I tried to run the below piece code and getting the error Exception in thread "main" org.openqa.selenium.SessionNotCreatedException: A new session could not be created.
public class TestCaller {
public static AppiumDriver driver;
...
org.openqa.selenium.SessionNotCreatedException: A new session could not be created. (Original error: Screen did not u...
I tried to run the below piece code and getting the error Exception in thread "main" org.openqa.selenium.SessionNotCreatedException: A new session could not be created.
public class TestCaller {
public static AppiumDriver driver;
...
Cannot instantiate the type AppiumDriver issue
I was trying to open the contacts list of my mobile through the code given below but the piece of code is showing me error when trying to instantiate the Appium driver.
public class TestContactsNativeApp {
public static AppiumDriver driver;...