UI Element gets hidden by keypad in emulator - appium

Using Appium, when I launched the app then firstly splash screen appeared then login screen with a keypad. Forgot password button gets hidden by keypad. In this case, Appium is not able to locate forgot password. Click here.
How can I handle this type of problem?
I have also used the code driver.hideKeyboard();, then I get the error in the console as
org.openqa.selenium.WebDriverException: An unknown server-side error occurred while processing
the command. (Original error: Soft keyboard not present, cannot hide keyboard) (WARNING: The server did not provide any stack trace information)
Command duration or timeout: 118 milliseconds

Related

how to set session time out for content authors in Sitecore 10.2?

Not able to set session time out in Sitecore 10.2.
I have the following settings, but if I leave the browser open for more than 20 minutes with the launchpad displayed, and then click any button After that, when I click on some button, I expected to be forcibly logged out, but I expected that the session timeout would occur when I left the system for more than 20 minutes without logging out, and then clicked some button.
Please let me know if there is a way to force a session timeout logout.

RHEL 8 reboot hangs on rd.break

I’m trying to follow https://linuxconfig.org/redhat-8-recover-root-password to reset a root password on a RHEL8 box.
I successfully select ‘e’ on image ‘4.18.0-240.1.1.el8_3.x86_64’ and arrive at the ‘edit’ screen.
I see a ‘linux’ line, but content ends after “crashkernel=auto”. The “resume=” and other stuff from the tutorial is missing.
I added “ rd.break” right after “crashkernel=auto”, but after Ctrl-X, it hangs indefinitely (I waited up to 30 minutes). I never get the switch_root prompt shown by the tutorial.
Any ideas why it would not get to that prompt?

iOS ASWebAuthenticationSession Voice Over seems to be interrupted by Address Bar

I'm trying to figure out why voice over seems to be interrupting an alert role on a webview. I'm on iOS 15.3 and starting an ASWebAuthenticationSession.
If an error occurs during log in such as, Username and Password are not recognized an error would appear on the html.
<div id="authn-error" name="authn-error" role="alert">
$templateMessages.getMessage($authnMessageKey)
</div>
If all goes well VO reads out the error message but, sometimes it gets interrupted with the address bar.
When the page is loading the voice over moves to the error then shifts focus back to address bar and reads out the "Address ten percent someWebSite.com secure and validated".
Any help is appreciated.

Appium: How to launch an app without login

I have set of multiple test cases. In first test case, I want to login and after that for subsequent test cases I want my driver to start the activity for home screen. But I am getting an error:
java.lang.SecurityException: Permission Denial: starting Intent
Set these capabilities in your android desired capabilities
capabilities.setCapability("appActivity","activityName"); capabilities.setCapability("noReset","true");
For your reference : http://appium.io/docs/en/writing-running-appium/android/activity-startup/

Strange HealthKit Access issue

I'm working on retrieving steps data within HealthKit. The query all works as expected (I'm only retrieving step data) however I'm having a strange issue with the Health Access modal that appears (see screenshot below - this is NOT my app, just an example screenshot taken from the web)
The issue is when the user soft closes the app (i.e. pressing the home to get to springboard) and then goes back into the app. The modal doesn't want to disappear when clicking allow or disallow.
Looking at the log it appears I have this strange error:
Error Domain=com.apple.healthkit Code=5 "(null)"
Any thoughts? If further info is required please let me know.
P.S. Just an addition to this, I notice that when clicking "Don't Allow" (where the "Cancel" is within the screenshot), I get an alert dialogue stating:
"You can turn on health data categories later in the Health app."
Upon clicking "OK" the Health Access screen still does not dismiss.
P.S.S. Not sure if this affect this but when the Health Access screen appears, it does so with the following message in the Log:
Unbalanced calls to begin/end appearance transitions for <UIViewController: 0x1343f4040>.

Resources