jsc
12 years agoRegular Contributor
which command is send when using Aliases.SomeForm.Close()?
Hi all,
can anyone tell me, which command TestComplete uses to close a window when calling "Aliases.SomeForm.Close()" in the script?
I have to reproduce some incorrect behaviour outside of TestComplete and therefore need the function to make a standalone script that shows the problem.
I did not find anything via google or searching the forum.
Best regards,
Joachim
can anyone tell me, which command TestComplete uses to close a window when calling "Aliases.SomeForm.Close()" in the script?
I have to reproduce some incorrect behaviour outside of TestComplete and therefore need the function to make a standalone script that shows the problem.
I did not find anything via google or searching the forum.
Best regards,
Joachim
- If I understand correctly, you have the same version of the TestComplete and you didn't change the scripts, but script works differently on two versions of your Tested Application.
If that is the case, then something was changed in your tested application.
As I said, Close method behaves the same way as if you clicked the close button.
I don't know how your SomeForm is identified in your NameMapping, but the reason may be that in the new application version another window corresponds to this object. But even in this case, something changed in the application, not in TestComplete, and you will probably need to update NameMapping objects according to the changes in your application.