Unable to find text using "Text Exist "Activity

text
studio
search

#1

I’m trying to find keyword “Device” on this page: https://goo.gl/LGtTEk
Screenshot of the page is shown below:

I’m trying to find all the occurrences of word “Device” under column Interventions.

My bot is supposed to give me message “Keyword found” if the word exist and "Keyword doesn’t don’t exist " if there is no occurrence of keyword “device”

My bot is giving me "Keyword doesn’t don’t exist " even if the keyword exists. Please help me solve this issue. An alternate approach to achieve the same result is welcome.

This is my main XML:
Main.xaml (8.3 KB)

Thank you


#2

Hello there,
Use IE it works, :slight_smile:
It’s know issue, Raised before.


"Text Exists"-Activity is not working in FireFox 60
#3

StringExistsInColumn.zip (2.6 KB)

Hi,

Here you can for alternative approach. PFA.

Thanks
Girish


#4

Hey ! It’s unreliable, it tends to only scan the currently visible part of the page, not the entire page. Any Idea how I can force it to scan the whole webpage ?


#5

It’s very ironic that target element has to be in foreground for Text exist (though it works on selector).
Looks like this activity doesn’t suites here then i’d probably go with selecting the entire data from page then use simple string manipulation ScrapedText.ToString.Contains(“your label text”)
try data scraping then filter only Interventions column and in if condition check your Device word.
Try @Girish attachment his already gave you solution file. :slight_smile:


#6

Thanks, man !! Sorry for the late reply … In my case screen scrapping helped :slight_smile: