public void EncourageBackup() { CheckDisposed(); // Backup all databases except first (usually only one) SendKeys.SendWait("B%P %S"); bool fRet = m_mainWnd.EncourageBackup(); Assert.IsTrue(fRet, "EncourageBackup returned wrong value when doing backup"); // need more tests for the other possibilities: // Open backup dialog but then close dialog // Open backup dialog and do a restore // Do import without backup // Cancel import }