コード例 #1
0
 public void TestWaitForObjectToNotExistFail()
 {
     try
     {
         altUnityDriver.WaitForElementToNotBePresent("Capsule", timeout: 1, interval: 0.5f);
         Assert.Fail();
     }
     catch (WaitTimeOutException exception)
     {
         Assert.AreEqual("Element Capsule still found after 1 seconds", exception.Message);
     }
 }