Page 1 of 1

Element capability is 99.9 % inputtag then randomly fails with does not support required capability 'inputtag'

Posted: Wed Aug 12, 2020 5:07 pm
by qa-auto
Hi,

I have a script action that has passed more than a 100 times in test runs....

GetValue TagValue $myVar element:TxtROTotalFromCustomer

Suddenly, run it a few minutes ago with zero changes and the action fails with:

Item 'VergentMasterRepository.Base.LoansPage.DivBlock.LoanActionsPanel.MakeAPaymentAction.TxtROTotalFromCustomer' is no InputTag.
The element does not support the required capability 'inputtag'.

-----------------------------------------------------------------
Same browser version, same Ranorex versions.....makes no sense.

Attachments:
- Snapshot of form before any values are entered
- Snapshot of form AFTER values are entered
- shows how the "Total From Customer:" input field auto-populates with the Tender Amount value
- Logs - success and failures
- Screenshots
- script action line and element with Xpath
- element in Spy with Advanced tab values

This is very frustrating - you think your test is stable and reliable, then it fails out of the blue. Wasted an hour on this...

Ideas?

(I also entered a support case.)

Thanks for your help.
Lorinda

Re: Element capability is 99.9 % inputtag then randomly fails with does not support required capability 'inputtag'

Posted: Wed Aug 12, 2020 5:09 pm
by qa-auto
Additional screenshots

Re: Element capability is 99.9 % inputtag then randomly fails with does not support required capability 'inputtag'

Posted: Thu Nov 04, 2021 7:28 am
by TimoL
Seems that this bug still exists in Ranorex. I changed the tag name as proposed here like this: input -> inputtag. But it didn't help - the test failed still randomly every now and then.

But when I simplified the xpath: spantag[xxx]/../..//inputtag[yyy] -> inputtag[yyy], then it didn't fail anymore. In this case it was possible to leave the title of the input field away from the path, because there was just one input in that page.