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
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
ppr
(Peter Preuss)
August 11, 2022, 9:44am
4
It seems that unfortunately the regex inline RegexOptions are not supported for regex selectors
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 depending on the words typed.
Thanks
Shyam
@Shyam_Pragash
You need to use casesensitive:innertext='false' also
Refer the screenshot
1 Like
ppr
(Peter Preuss)
August 11, 2022, 10:41am
7
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
system
(system)
Closed
August 14, 2022, 11:31am
10
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.