Special characters during the validation process for WEBApp

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements

Welcome Idira to LIVEcommunity!

Our community just got stronger! Explore new identity security resources, connect with experts, and discover more ways to learn and collaborate.

Meet Idira

Special characters during the validation process for WEBApp

L2 Linker

I created CPM Plugin. As a last step, I need to put the validation for password rotation. After changing the password, the message appears on the screen. However, the message includes the special character. So, I got this error although the password changed.

 

How can I solve the validation problem?

 

13.09.2023 05:25:14.895 | Info -> AttributeTypeBase :: Find -> Element 'Das Passwort wurde ge�ndert' was not found using type 'TEXT'.

1 accepted solution

Accepted Solutions

L7 Applicator

I see two possible solutions:

  • Use the the text-search, but search only for part of the text. If you think that this message would still work and be unique, you can search for just the text "Das Password wurde ge".
  • I haven't tried this, but with the Xpath selector, there is also an option to search for text in an element... like this:

//*[contains(text(), "Das Passwort wurde geändert")] > (Validation)(SearchBy=Xpath)

 

Edit: Added a word.

View solution in original post

2 REPLIES 2

L7 Applicator

I see two possible solutions:

  • Use the the text-search, but search only for part of the text. If you think that this message would still work and be unique, you can search for just the text "Das Password wurde ge".
  • I haven't tried this, but with the Xpath selector, there is also an option to search for text in an element... like this:

//*[contains(text(), "Das Passwort wurde geändert")] > (Validation)(SearchBy=Xpath)

 

Edit: Added a word.

It works, thank you 🙂

  • 1 accepted solution
  • 251 Views
  • 2 replies
  • 0 Likes
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!