The 1C:Enterprise developers forum

#1
People who like this: 0 Yes / 0 No
Active user
Rating: 6
Joined: Mar 20, 2012
Company: Abaco Soluciones S.A.

Hello.
I'm trying to build a small configuration, which allows to test other configurations. I'm using TestedApplication interface on 8.3 platform. But now I faced with a problem - in 8.3.2 TestedForm object had Close() method, but in 8.3.3 - it doesn't exist. What should I use in 8.3.3 instead of Close() to close a tested form?

 
#2
People who like this: 0 Yes / 0 No
Timofey Bugaevsky
Guest

Joined:
Company:

Try using

Code
WaitForClosing(1);

 
#3
People who like this: 0 Yes / 0 No
Active user
Rating: 6
Joined: Mar 20, 2012
Company: Abaco Soluciones S.A.

It doesn't work. I got an advice that works, but maybe it's not very beautiful:

Code
   TestedForm.Activate();  
   ActiveTestedWindow = TestedApplication.GetActiveWindow();
   ActiveTestedWindow.Close();

 
#4
People who like this: 0 Yes / 0 No
Timofey Bugaevsky
Guest

Joined:
Company:

The current way is to use for child window with the form that you want to close.

Code
TestedClientApplicationWindow.Close()

 
Subscribe
Users browsing this topic (guests: 1, registered: 0, hidden: 0)