Hello everyone! I’m asking someone for help.
I use a Catalan recorder in monzilla.
I need to find and replace the text on webpage - ad change.
For example: (Find: “HOUSE” and replace with “BOAT”.
I would be very grateful if someone can help me.
Thank you
Peter
@office.autoclinic Here are some links that may help you.
Using functions in Katalon Recorder:
Thanks for your help Piotr.
Did I follow your directions correctly? Please see…
[info] Executing: | storeText | //div[@id='search-results']/ul/li/fl-user-tile/div[3]/button | textFromPage |
[info] Store 'Hire Me' into 'textFromPage'
[info] Executing: | runScript | return ‘${textFromPage}’.split(’ ')[1] | secondWord |
[info] Expand variable 'return ‘${textFromPage}’.split(’ ')[1]' into 'return ‘Hire Me’.split(’ ')[1]'
[info] Executing: | echo | | secondWord |
[info] Time: Fri Jul 10 2020 05:48…
Searching for word match using Groovy:
Replacing word using Groovy:
grylion54:
textFromPage
Hello, thank you very much. I can’t find it in Katalon recorder Command | textFromPage | and | secondWord | . Can you help me please. Is it possible for me to take a screenshot from the site? I can show you exactly what I need.