Page 1 of 1
Ranorex won't interact with form Submit button on Mobile
Posted: Tue Oct 05, 2021 6:00 pm
by tiffin.filion
We have a test that checks a bunch of forms on the site. When running it on Browserstack on an iPhone, it no longer will interact with the submit button. I don't get any errors for the button itself, just went the next step fails as the form never is submitted.
I have tried changing how we interact with the button, using touch or click, even trying Invoke Action > PerformClick() and nothing seems to interact with the button. Ranorex has no problem finding it, it just won't do anything with it.
The form is used in various parts of the site inside a modal, but there is also a stand-alone page where it exists and none will work. The page URL where the form can be found is:
https://automobiles.honda.com/tools/request-a-quote and I have attached a snapshot of the Submit button for that page's form.
Re: Ranorex won't interact with form Submit button on Mobile
Posted: Wed Oct 06, 2021 7:48 am
by odklizec
Hi,
Are you sure there was everything set in the form, so the Submit button was enabled? I just tried the form, and it seems the Submit button is enabled only if there is selected car dealer and all required inputs are filled! Please add a step in your recording, that will capture the screenshot of Submit button before it's clicked. If the button is bright red, it's OK. If it's "pinkish", something has not been set properly!
Also, I would suggest to change the xpath like this:
/dom[@domain='automobiles.honda.com']//form[#'raqForm']//button[@Innertext~'Submit' and @enabled='true']
This will assure there is selected right button in right state
Re: Ranorex won't interact with form Submit button on Mobile
Posted: Wed Oct 06, 2021 6:01 pm
by tiffin.filion
odklizec wrote: βWed Oct 06, 2021 7:48 am
Are you sure there was everything set in the form, so the Submit button was enabled? I just tried the form, and it seems the Submit button is enabled only if there is selected car dealer and all required inputs are filled! Please add a step in your recording, that will capture the screenshot of Submit button before it's clicked. If the button is bright red, it's OK. If it's "pinkish", something has not been set properly!
In the previous module, I actually have it wait for it to become enabled before moving to the submit one. We have an environment where forms don't work so I have the submit & confirmation separate so we can block it for the environment. But I can definitely add a step to check the image.
odklizec wrote: βWed Oct 06, 2021 7:48 am
Also, I would suggest to change the xpath like this:
/dom[@domain='automobiles.honda.com']//form[#'raqForm']//button[@Innertext~'Submit' and @enabled='true']
This will assure there is selected right button in right state
I'm going to try this as well.
Re: Ranorex won't interact with form Submit button on Mobile
Posted: Mon Oct 18, 2021 5:24 pm
by tiffin.filion
McQueeSteveul wrote: βSat Oct 16, 2021 10:00 am
just went the next step fails as the form never is submitted.
That's exactly what I'm seeing as well. I took a break from it for awhile. But watching the videos of my tests, it's like it just refuses to click the Submit button.
Re: Ranorex won't interact with form Submit button on Mobile
Posted: Mon Oct 18, 2021 5:59 pm
by odklizec
Tiffin, donβt bother to answer to previous poster. He just copied a sentence from your post. I guess we will see more posts like this from him, until he reach the point when he could change his signature with some links