Forum Discussion

jsc's avatar
jsc
Regular Contributor
12 years ago

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 ...
  • karkadil's avatar
    12 years ago
    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.