1222tmiller
15 years agoOccasional Contributor
How do I use a custom property on my main form
Delphi 2007, Windows 7, Test Complete 7
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.
Any one have any suggestion?
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.
Any one have any suggestion?