Skip to main content
Navigator | Tier 3
May 24, 2023
Solved

Regex in Windows

  • May 24, 2023
  • 15 replies
  • 521 views

I have to work with windows whose titles are varying. I know I have to use Regex functions. But unable to get it. Can someone help me please.

Best answer by Padmakumar

HI @SaiRahul02 ,

 

Why don’t you follow the below approach?

  •  Use Currently Active Window and then capture the object.
  •  In case if user wants to run this task in unattended mode and other applications are also open with the current application then we need to use below approach:

Try to activate the currently active window where you need to perform the functions using Windows Actions → Activate Window command and build the code accordingly.​

15 replies

Padmakumar
Premier Pathfinder | Tier 7
Premier Pathfinder | Tier 7
May 24, 2023

HI @SaiRahul02 ,

 

Why don’t you follow the below approach?

  •  Use Currently Active Window and then capture the object.
  •  In case if user wants to run this task in unattended mode and other applications are also open with the current application then we need to use below approach:

Try to activate the currently active window where you need to perform the functions using Windows Actions → Activate Window command and build the code accordingly.​

Even for activating window, we need to give the title of the window right ?

 

 

Not obviously. You can either mention the Window name or can use the Currently Active option.

 

can’t get it

 

 

 

Padmakumar
Navigator | Tier 3
May 24, 2023

HI @SaiRahul02 ,

 

Why don’t you follow the below approach?

  •  Use Currently Active Window and then capture the object.
  •  In case if user wants to run this task in unattended mode and other applications are also open with the current application then we need to use below approach:

Try to activate the currently active window where you need to perform the functions using Windows Actions → Activate Window command and build the code accordingly.​

Even for activating window, we need to give the title of the window right ?

 

 

Not obviously. You can either mention the Window name or can use the Currently Active option.

 

can’t get it

 

 

 

Thank you so much. Will try. And also, when I use ‘Go back’ action for a window in chrome, it is saying that browser is not supported. Why so ? 

Fresher
Padmakumar
Premier Pathfinder | Tier 7
Premier Pathfinder | Tier 7
May 24, 2023

HI @SaiRahul02 ,

 

Why don’t you follow the below approach?

  •  Use Currently Active Window and then capture the object.
  •  In case if user wants to run this task in unattended mode and other applications are also open with the current application then we need to use below approach:

Try to activate the currently active window where you need to perform the functions using Windows Actions → Activate Window command and build the code accordingly.​

Even for activating window, we need to give the title of the window right ?

 

 

Not obviously. You can either mention the Window name or can use the Currently Active option.

 

can’t get it

 

 

 

Thank you so much. Will try. And also, when I use ‘Go back’ action for a window in chrome, it is saying that browser is not supported. Why so ? 


From where are you getting this Go back option? Is it from the portal?

Padmakumar
Navigator | Tier 3
May 24, 2023

HI @SaiRahul02 ,

 

Why don’t you follow the below approach?

  •  Use Currently Active Window and then capture the object.
  •  In case if user wants to run this task in unattended mode and other applications are also open with the current application then we need to use below approach:

Try to activate the currently active window where you need to perform the functions using Windows Actions → Activate Window command and build the code accordingly.​

Even for activating window, we need to give the title of the window right ?

 

 

Not obviously. You can either mention the Window name or can use the Currently Active option.

 

can’t get it

 

 

 

Thank you so much. Will try. And also, when I use ‘Go back’ action for a window in chrome, it is saying that browser is not supported. Why so ? 


From where are you getting this Go back option? Is it from the portal?

I’m talking about separate action ‘Go back’ in windows action items.

Fresher
Navigator | Tier 3
May 24, 2023

HI @SaiRahul02 ,

 

Why don’t you follow the below approach?

  •  Use Currently Active Window and then capture the object.
  •  In case if user wants to run this task in unattended mode and other applications are also open with the current application then we need to use below approach:

Try to activate the currently active window where you need to perform the functions using Windows Actions → Activate Window command and build the code accordingly.​

Even for activating window, we need to give the title of the window right ?

 

 

Not obviously. You can either mention the Window name or can use the Currently Active option.

 

can’t get it

 

 

 

Thank you so much. Will try. And also, when I use ‘Go back’ action for a window in chrome, it is saying that browser is not supported. Why so ? 


From where are you getting this Go back option? Is it from the portal?

I’m talking about separate action ‘Go back’ in windows action items.

In Browser Actions, not in window actions

 

Fresher