예제 #1
0
        public void ContextActionsIconImageSource()
        {
            RunningApp.ActivateContextMenu("ListViewItem");
            RunningApp.WaitForElement("coffee.png");
            RunningApp.DismissContextMenu();

            RunningApp.WaitForElement("ColorBox");
            RunningApp.Screenshot("Box should be red");
            RunningApp.Tap("ColorBox");
            RunningApp.Screenshot("Box should be yellow");
        }
예제 #2
0
 public void Bugzilla31330Test()
 {
     RunningApp.WaitForElement(c => c.Marked("Something 2"));
     RunningApp.ActivateContextMenu("Something 1");
     RunningApp.WaitForElement(c => c.Marked("Delete"));
     RunningApp.Tap(c => c.Marked("Delete"));
     RunningApp.DismissContextMenu();
     RunningApp.Tap(c => c.Marked("Something 2"));
     RunningApp.ActivateContextMenu("Something 2");
     RunningApp.WaitForElement(c => c.Marked("Delete"));
     RunningApp.Tap(c => c.Marked("Delete"));
     RunningApp.WaitForNoElement(c => c.Marked("Something 2"));
 }