My first test I am trying to write is for the login screen. Want to test some different scenarios. Once the main form is shown, the system goes off and does a lot of stuff. I need for the test script to wait for all the initialization stuff to complete before closing the window.
We have some things that run in OnShow and a custom AfterShow event. So I added a property InitializationComplete.
So I tried to add a wait based on MainForm.InitializationComplete = true.
It errors out as not being able to find the new property. Every attempt to use the wizard to find the main form object so I can select the custom property InitializationComplete fails.
So what I want to do is show the login screen, fill in the appropriate info, try to login, wait until IsConnected is = true.
Even though the WaitProperty is the last line for the login screen object, it runs first. So nothing happens.
If I take this line out, for some reason the next line works fine, even though there is no create page step. It doesn't respond to the "True" happening, so do I need to wrap it around a while? What would the syntax for that be?