In-case Sensitive letter matching

Hi,

i having one logical issue in my projects,

Typing the some text into search list, if any words are match with the text (Without case Sensitive). click the corresponding icons.

my code:

Variable passed in the click and check app activity.

from the search list

image

with case senitive words i can able like type word : Like in Search list : Like
incase words type : Like in Search list : like --for this condition unable to click the icons.

anyone tell me how to fix this issue.

Thanks
Shyam

Hi @Shyam_Pragash

You can try this approach

1 Like

Hi @kumar.varun2

I will try and Update you…

Thanks
Shyam

It seems that unfortunately the regex inline RegexOptions are not supported for regex selectors
grafik

A test with the approach suggested from @kumar.varun2 was working in our Quick RnD

As an alternate workaround we can do:

  • find children for the LI elements
  • filtering for the specific LI element with a casen insensitive condition or any other logic
  • using the found case sensitive value within the selector

Hi @kumar.varun2

i got element not found error

if words is available click the icons image depending on the words typed.

Thanks
Shyam

@Shyam_Pragash

You need to use casesensitive:innertext='false' also

Refer the screenshot

1 Like

we also would recommend following strategy for selectors:

  • make the selector as simple as possible
  • make the selector as specific as possible

using aaname and innertext is redundand. Focus on innertext and remove aaname

Hi @kumar.varun2

i tried both type…

Same issue still exists…

Thanks
Shyam

Hi @kumar.varun2

Thanks :slight_smile:

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.