Support > Forums > OpenBots Studio > Issue in identifying window name or an object exists in a web application with If command

Issue in identifying window name or an object exists in a web application with If command

Duleeka Madushani

  • Reporter
  • Calender Icon June 17,2022 at 12:47 PM

Hi Team,

We are in the process of doing an automation on a web application and we have tried to check the respective windows with the conditional statements using If Command. However, we have identified an issue when finding the respective window name or an object exists in a web application with the IF Command as it failed to recognize the window objects accordingly.

Looking forward your assistance in finding a solution for the same.

Thank you.

This forum has 317 topics, 687 replies, and was last updated 4 months ago by Nataly Alvarado...

Rushabh Arbat

  • Participant
  • Calender Icon June 22,2022 at 4:07 PM

Hi Duleeka,

yes, we can included wildcard option for dynamically changing windows . For Ex :- we can gives parameter value like "Notepa" to Window Name inside the If commands

Rushabh Arbat

  • Participant
  • Calender Icon June 22,2022 at 3:59 PM

Hi Duleekam,

yes, we can included wildcard option for dynamically changing windows . For Ex :- we can gives parameter value like "Notepa" to Window Name inside the If commands

Duleeka Madushani

  • Participant
  • Calender Icon June 22,2022 at 8:33 AM

Hi Team,

Thank you for the support

As per the suggested solution of "If condition - Window Name Exist" command in finding the required window, can we also included wildcard option for dynamically changing windows.

Thank you.

Rushabh Arbat

  • Participant
  • Calender Icon June 21,2022 at 3:38 PM

Hi Duleekam, Thank you for sharing the query. yes, we have two different commands to do this

  1. Native Browser Element Exists command which returns a Boolean and you can use as a input of If command.
  2. Wait for Window To Exist from Window UI automation commands, this command checks specific window name only, not elements.

Also, you can check if a window exist or not by using -If commands. Choose condition Option - Builder then if condition - Window Name Exist and provide -parameter value to Window Name

You are not authorized to reply, please click here to login and add your reply to this topic.