java-client icon indicating copy to clipboard operation
java-client copied to clipboard

java.lang.AssertionError: expected [*****] but found [∗∗∗∗∗]

Open geeethub opened this issue 5 years ago • 1 comments

The problem

In my app after tapping on a specific area certain values are hidden (*****).In my test case I have to check whether after tapping the values are getting hidden or not. I am trying to assert the asterisk strings but the assertion is failing. I tried string normalisation, trim , toString but still facing the same issue. I also tried to do convert latter string to superscript but I am not sure how can I achieve that in Java How can I get through this?

Environment

  • Appium version (or git revision) that exhibits the issue:Appium 1.18.1
  • Desktop OS/version used to run Appium:Catalina
  • Mobile platform/version under test:Android
  • Real device or emulator/simulator:Real device
  • Appium CLI or Appium.app|exe:Appium CLI

geeethub avatar Oct 05 '20 08:10 geeethub

any update on this??

geeethub avatar Oct 12 '20 06:10 geeethub