Comparing AI Coding Assistants
In the rapidly evolving landscape of AI-powered coding assistants, developers are presented with a variety of options. But which tool truly stands out?
I’ve encountered this problem where you won’t be able to proceed with a search while automating some Android apps with Appium, and I’ve found different solutions to overcome this. So I’m gonna lay them down here, they may be helpful for anyone finding himself with this problem.
First case, this is the standard solution. Here you simply input the text and send the Enter key:
driver.click(searchField);
driver.sendKeys(textValue);
driver.pressKey(new KeyEvent(AndroidKey.ENTER));
Second case. Here we append a line break at the end of the text we want to search. In most cases this will trigger the search. I find this to be simple and working most of the times:
driver.click(searchField);
driver.sendKeys(textValue + "\n");
Third case. The most rare one, is when the app specifically waits for a special kind of event, the EditorAction
driver.click(searchField);
driver.sendKeys(textValue);
driver.executeScript("mobile:performEditorAction", ImmutableMap.of("action", "search"));
I hope this can be helpful to anyone facing this issue. If I find another way in the future I will add it to the list.
In the rapidly evolving landscape of AI-powered coding assistants, developers are presented with a variety of options. But which tool truly stands out?
While testing your app, its common that you want to test it under different locales as part of your automation strategy. Lets see how to do it.
So what can I say that hasn’t been said about 2020? That it has been a great year so far! Wait, what? Yes, in retrospective and very selfishly it has been a ...
If appium can’t retrieve the element hierarchy on an iOS app for whatever reason, try one of these methods:
Here’s a little useful snippet I found to wait for a node to be present in the selenium grid’s console.
If appium can’t retrieve the element hierarchy on an iOS app for whatever reason, try one of these methods:
For a month and two weeks now, I’ve been having less and less time to do much beside changing diapers. If I can squeeze a bit of time into my hobbies, I have...
So I’ve been using Linux here and there for many many years, but never used it as a daily driver. On my current work, we use Linux machines a lot, both physi...