Forum Discussion
Hmm this is not the launching of the app no ? Looks like this is a code snippet after the launching.
Need to find the parent of zBaseForm_UltraFormManager_Dock_Area_Top certainly.
And add before next step the Maximize action
Hi helpdesk,
BenoitB is right - you need to call Maximize or Activate function. As you are using KDT tests, you need to add the Run Code Snippet Operation to the KDT editor and specify where the suggested call. You can find more information in the following articles:
https://support.smartbear.com/testcomplete/docs/keyword-testing/editor/test-steps/about.html
- helpdesk6 years agoOccasional Contributor
Hi,
Thanks for the additional information, I have created a script just to see if i can maximize the window.
I entered this as stated earlier and it will not let me run the script.
var myApp = Sys.Process("NetHealthLite").Window("_BaseForm_UltraFormManager_Dock_Area_Top", "*", 1);
myApp.Activate(); // To be sure the Windows has the focus and accept control action
myApp.Maximize();Im not sure what I am getting wrong, I also tried running the code snippit and that wouldnt work either.
Thanks