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.
Ranorex won't interact with form Submit button on Mobile
-
- Posts: 56
- Joined: Thu Oct 29, 2020 12:47 am
Re: Ranorex won't interact with form Submit button on Mobile
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
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
Pavel Kudrys
Ranorex explorer at Descartes Systems
Please add these details to your questions:
Ranorex explorer at Descartes Systems
Please add these details to your questions:
- Ranorex Snapshot. Learn how to create one >here<
- Ranorex xPath of problematic element(s)
- Ranorex version
- OS version
- HW configuration
-
- Posts: 56
- Joined: Thu Oct 29, 2020 12:47 am
Re: Ranorex won't interact with form Submit button on Mobile
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 amAre 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!
I'm going to try this as well.
-
- Posts: 56
- Joined: Thu Oct 29, 2020 12:47 am
Re: Ranorex won't interact with form Submit button on Mobile
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.McQueeSteveul wrote: ↑Sat Oct 16, 2021 10:00 amjust went the next step fails as the form never is submitted.
Re: Ranorex won't interact with form Submit button on Mobile
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
Pavel Kudrys
Ranorex explorer at Descartes Systems
Please add these details to your questions:
Ranorex explorer at Descartes Systems
Please add these details to your questions:
- Ranorex Snapshot. Learn how to create one >here<
- Ranorex xPath of problematic element(s)
- Ranorex version
- OS version
- HW configuration