Example #1
0
        public TextTest()
        {
            frame = GetFrame ("gtktextview.py");

            Accessible textView = FindByRole (frame, Role.Text);
            Assert.IsNotNull (textView, "Couldn't find the TextView");
            text = textView.QueryText ();
            Assert.IsNotNull (text, "textView.QueryText");
            editableText = textView.QueryEditableText ();
            Assert.IsNotNull (editableText, "textView.QueryEditableText");
        }
Example #2
0
		public ValueSource (Element element)
		{
			accessible = element.Accessible;
			text = accessible.QueryText ();
			editableText = accessible.QueryEditableText ();
		}
Example #3
0
 public void Init()
 {
     frame = GetFrame ("DocumentTest.exe", "DocumentTest");
     et = frame.QueryEditableText ();
     Assert.IsNotNull (et, "frame.QueryEditableText");
 }