When calling the VerifyNameOrAutomationIdContains method on either an AppiumWebElement or a WindowsElement, the passed partial compare always returns false even when expecting a true value.
Glancing at the code, it looks like the check is wrong, validating that the partial compare value contains the name or automation ID.
What is the expected behavior?
VerifyNameOrAutomationIdContains returns true if the partial value matches
Describe the bug
When calling the
VerifyNameOrAutomationIdContains
method on either anAppiumWebElement
or aWindowsElement
, the passed partial compare always returns false even when expecting a true value.Glancing at the code, it looks like the check is wrong, validating that the partial compare value contains the name or automation ID.
What is the expected behavior?
VerifyNameOrAutomationIdContains
returns true if the partial value matchesPackage
Windows
Other information
No response