Ranorex won't interact with form Submit button on Mobile

Technology specific object identification, supported applications, web technologies, and 3rd party controls.
User avatar
tiffin.filion
Posts: 56
Joined: Thu Oct 29, 2020 12:47 am
Contact:

Ranorex won't interact with form Submit button on Mobile

Post by tiffin.filion » Tue Oct 05, 2021 6:00 pm

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.
You do not have the required permissions to view the files attached to this post.
-- Tiffin --
Senior QA Analyst

User avatar
odklizec
Ranorex Guru
Ranorex Guru
Posts: 7469
Joined: Mon Aug 13, 2012 9:54 am
Location: Zilina, Slovakia

Re: Ranorex won't interact with form Submit button on Mobile

Post by odklizec » Wed Oct 06, 2021 7:48 am

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 ;)
Pavel Kudrys
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

User avatar
tiffin.filion
Posts: 56
Joined: Thu Oct 29, 2020 12:47 am
Contact:

Re: Ranorex won't interact with form Submit button on Mobile

Post by tiffin.filion » Wed Oct 06, 2021 6:01 pm

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.
-- Tiffin --
Senior QA Analyst

User avatar
tiffin.filion
Posts: 56
Joined: Thu Oct 29, 2020 12:47 am
Contact:

Re: Ranorex won't interact with form Submit button on Mobile

Post by tiffin.filion » Mon Oct 18, 2021 5:24 pm

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.
-- Tiffin --
Senior QA Analyst

User avatar
odklizec
Ranorex Guru
Ranorex Guru
Posts: 7469
Joined: Mon Aug 13, 2012 9:54 am
Location: Zilina, Slovakia

Re: Ranorex won't interact with form Submit button on Mobile

Post by odklizec » Mon Oct 18, 2021 5:59 pm

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 Snapshot. Learn how to create one >here<
  • Ranorex xPath of problematic element(s)
  • Ranorex version
  • OS version
  • HW configuration