Dears,
I have one web page where I need to search for keyword than if exist , I will click on it other wise exit .
Just to draw you attention that I have created one workflow which find the word but not able to click on it, here is the workflow :
1- Open desired Site ( Using Browser)
2- Click CTRL+F and write desired word
3- I tried Click Text/ Click Visible Text but didn’t hep
Thanks in Advacne
Srini84
(Srinivas Kadamati)
August 17, 2021, 9:26am
2
@hsendel
If it is a click button, then you can inspect the selector and you can build your selector dynamically to click on the element
Hope this may help you
Thanks
1 Like
Hi @Srini84 , Yes I have created a selector :
But what is next ?
Srini84
(Srinivas Kadamati)
August 17, 2021, 9:31am
4
@hsendel
Use a Element Exist activity and pass the keyword to the selector
Place an If condition, So If the element with the keyword exist you will return as true
Else It will return false
So you can place your activities according to your automation
Hope this may help you
Thanks
1 Like
Thanks @Srini84 , I did that but not able to click that link which contains my word
Srini84
(Srinivas Kadamati)
August 17, 2021, 9:40am
6
@hsendel
Can you check the selector, is it valid?
Also share the selector, if the website is public share the url
Thanks
1 Like
Hi @Srini84 ,
As example , I want to click on word Nature from Google Search result :
Knowing that the Keyword Position is not Changing, only on this place, and I don’t care about the remaining part of the page.
Srini84
(Srinivas Kadamati)
August 17, 2021, 9:54am
8
@hsendel
Check below selector
<html app='chrome.exe' title='Nature*' />
<webctrl aaname='Nature' tag='H3' innertext='Nature' />
So you need to pass your keywords in selector to make stable
Hope this may help you
Thanks
How to add this selector in “Click” Activity to Click desired Link ?
Srini84
(Srinivas Kadamati)
August 17, 2021, 10:11am
10
@hsendel
Copy the selector and in click->Properties, Go to Target->Selector click on that, you will open a selector Editor, paste the selector
Once done You select the Nature, right click and select choose variable, you must have a keyword variable so that it will be dynamic
Hope this may help you
Thanks
hsendel
August 17, 2021, 10:36am
11
Thanks @Srini84 for explaining how to add variable selector, but my question is how to select this link in that position from web page? Thx