Check for Window

Discuss RoboTask here
Post Reply
userror
Posts: 2
Joined: Fri Jun 09, 2017 8:06 pm

Check for Window

Post by userror »

Hi,
(sorry for my bad English - Google Translation)

I'm need to Check open Three window (or More) of a program

What can I do?

tnx
Oleg
Site Admin
Posts: 3000
Joined: Thu Jan 01, 1970 1:00 am
Contact:

Re: Check for Window

Post by Oleg »

To check many windows there is simple algorithm.
You can use Check for Window and If..Then actions
When you check the window you have to assign the result to some variable. For example variable Result

Algorithm will be such:

Code: Select all

Check for window1
if result then
  Check for window2
  if result then
    Check for window3
    if result then
       // and so on
    end if
  end if
end if

if result then
  // all windows are checked
else
  // the checking is failed
end if
Oleg Yershov
Post Reply