How to find the existence of Child windows
I have a scenario where I need to find the presence of ChildWindow.I have the declaration as follows.
window JavaMainWin ImpWindow
window JavaJFCChildWin window1
window JavaJFCChileWin window2
My scenario is to find the presence of Childwindows say panels in Main window say board which means I need to write the script to verify the the panels in board.
Please help me how to verify the child windows called as panels in the main window which is called as board.
Re: How to find the existence of Child windows
if (ImpWindow.window1.Exists() && ImpWindow.window1.Exists()) do_whatever_you_like()
else raise 1, "Panels not found"