Forum Discussion
Hi,
Unfortunately, I don't have good ideas at the moment as .FindChild() works fine for us... The only difference is that we never used Sys.FindChild() but <SomeObject>.FindChild().
Another thing that drove my attention was use of strings as values for boolean properties - i.e. "True" as a value for .Visible boolean property. Not sure that this is a source of the problem though...
- mfoster7112 years agoRegular Contributor
I changed the boolean values to True instead of "True" and that makes no difference.
I normally use <SomeWindow>.FindChild when possible but that is not an option in this case.
Our test application is a robost product that includes dozens of sub-applications. For example: Accounting, Invoicing, Customer, Inventory, etc. are all sub-applications and when you open a sub-application it opens a new process. So, if I need to find the Accounting window I have to use the Sys.Process.Findchild to find the right Window and then I use that object to reference all of the fields in the window. If I tried using the following Sys.Process("AppSuite").FindChild it would only look at the first process and the Accounting window could be any of the multiple processes open.
Related Content
- 9 years ago
- 7 years ago
- 13 years ago
Recent Discussions
- 2 hours ago