Skip to main content
Question

How to write regex for applications with numbers


Forum|alt.badge.img+11

application windowthe application window I want to capture has the above naming (with number which can change) . so I wanna generalize that number using regex or something else in A360

5 replies

Forum|alt.badge.img+6

@sirispandana velagala​ : can't you able to use wildcard * in the title window where ever the number is changing ?


Forum|alt.badge.img+11
  • Author
  • Navigator | Tier 3
  • 22 replies
  • March 4, 2022

I tried 20* kits.... in regex but no luck


Ashwin A.K
Forum|alt.badge.img+8
  • Navigator | Tier 3
  • 2445 replies
  • March 4, 2022

Hi @sirispandana velagala​ ,

 

You don't have to toggle over to Regex, simply pass in a Wildcard directly like so:

 

image 

Could you try and see if that works out for you?

 

Kind Regards,

Ashwin A.K


Forum|alt.badge.img+11
  • Author
  • Navigator | Tier 3
  • 22 replies
  • March 4, 2022

Tried using 20* and surprisingly it worked in the sample bot!

Thanks


Ashwin A.K
Forum|alt.badge.img+8
  • Navigator | Tier 3
  • 2445 replies
  • March 4, 2022

Great!

 

There are instances where the Window Title is not available (desktop applications mostly) in those situations you will have to toggle over to "Active Window".

 

Kind Regards,

Ashwin A.K


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings