. Get the size of text box
. Try to click-and-change position, after each time you click, you need to have a logic to check wether you click on that word or not (like navigate to another screen?)
cuz you mentioned just
a word so I think you can try but if you can, try to ask your developer whether we can modify if you still wanna cover that test
Point point = element.getLocation(); int x = point.x + (int) (element.getSize().getWidth() * 0.25); int y = point.y + (int) (element.getSize().getHeight() * 0.75); new TouchAction((PerformsTouchActions) webdriver).press(PointOption.point(x, y)) .waitAction(waitOptions(Duration.ofMillis(500))) .release().perform();"
Hi， I have a question, anybody can help me figure it out?
APPIUM is a HTTP server with WebDriver protocol; I supports it should route multiple testcases to the different devices. However I found it couldn't
I started two android emulators and wrote two testcases, then started one appium server, try to ran two testcases at the same time;
It supposed that appium server should route two testcases to two devices respectively， however it routed two testcases to the same device one after the another;
Why did that happens? does the one appium running instance only support one device?
Unable to create a new remote session. Please check the server log for more details. Original error: Could not start Mobile Browser Reason: An unknown server-side error occurred while processing the command. Original error: Cannot start the 'app.com.devrelease' application. Visit https://github.com/appium/appium/blob/master/docs/en/writing-running-appium/android/activity-startup.md for troubleshooting. Original error: Error executing adbExec. Original error: 'Command 'android-sdk/platform-tools/adb -P 5037 -s 66a402b3 shell am start -W -n app.com.devrelease/com.app.activities.SplashActivity -S -a android.intent.action.MAIN -c android.intent.category.LAUNCHER -f 0x10200000' timed out after 20000ms'. Try to increase the 20000ms adb execution timeout represented by 'adbExecTimeout' capability (WARNING: The server did not provide any stacktrace information)
Hi all, i'm running my appium throw browserstack and i get the following error. any one saw this before and can help me?
Hey, you solved this problem?
I am facing this error here running ios app automate on Browserstack.
driver.findElement(MobileBy.AndroidUIAutomator("new UiScrollable(new UiSelector.scrollable(true))"+ ".scrollIntoView(new UiSelector.text(\""+input+"\"))"));}