Skip to main content
Answer

How to use wildcard with IF string condition

  • July 3, 2024
  • 1 reply
  • 274 views

Forum|alt.badge.img+4

Hi,

Can we use wildcard with if string condition to check a string contains a specific word in a web application.

 

 

Thanks

Best answer by DATTA.KOTHAMASU

Hi,

The current IF condition do not support the "contains" functionality. However, you can use the following package from Bot Store, to utilize regex for checking if a string extracted from the web application contains a specific word.
https://botstore.automationanywhere.com/bot/a2019-regular-expression-tools-package
 

Please mark the response as a solution if it helps you.
 

1 reply

DATTA.KOTHAMASU
Navigator | Tier 3
Forum|alt.badge.img+11
  • Navigator | Tier 3
  • Answer
  • July 4, 2024

Hi,

The current IF condition do not support the "contains" functionality. However, you can use the following package from Bot Store, to utilize regex for checking if a string extracted from the web application contains a specific word.
https://botstore.automationanywhere.com/bot/a2019-regular-expression-tools-package
 

Please mark the response as a solution if it helps you.