Question

How to write regex for applications with numbers

  • 4 March 2022
  • 5 replies
  • 20 views

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

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

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

Userlevel 3
Badge +7

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

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

Thanks

Userlevel 3
Badge +7

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

Reply