Hi Erkang,
You have to convert the string value to the preferred case ( Lowercase or uppercase functions) before the xpath retrieves the activity
It depends on the database case-sensitive behavior will be; see the documentation
Case-Sensitive Database Behavior
As Stella already mentioned if you need specific behavior that the database doesn't do for you, you can format it in the preferred format