상속: CustomProviderBase, IRawElementProviderFragmentRoot
예제 #1
0
 public virtual void FixtureSetUp()
 {
     simpleProvider     = new CustomProviderSimple();
     simpleProvider2    = new CustomProviderSimple(FakeHandle);
     childProvider      = new CustomProviderFragment(null);
     rootProvider       = new CustomProviderRoot(childProvider);
     childProvider.Root = rootProvider;
     simple             = AutomationElement.FromLocalProvider(simpleProvider);
     simple2            = AutomationElement.FromLocalProvider(simpleProvider2);
     child = AutomationElement.FromLocalProvider(childProvider);
     root  = AutomationElement.FromLocalProvider(rootProvider);
 }
예제 #2
0
		public virtual void FixtureSetUp ()
		{
			simpleProvider = new CustomProviderSimple ();
			simpleProvider2 = new CustomProviderSimple (FakeHandle);
			childProvider = new CustomProviderFragment (null);
			rootProvider = new CustomProviderRoot (childProvider);
			childProvider.Root = rootProvider;
			simple = AutomationElement.FromLocalProvider (simpleProvider);
			simple2 = AutomationElement.FromLocalProvider (simpleProvider2);
			child = AutomationElement.FromLocalProvider(childProvider);
			root = AutomationElement.FromLocalProvider(rootProvider);
		}