Jan 10, 2011 at 2:26 PM
Edited Jan 10, 2011 at 3:07 PM
There was a small mistake in your code Throndorin,
firefox.Get<TextBox>(SearchCriteria.ByText("the address field name from UISpy "));
But It doesn't work for the moment :( I test with textBox and combobox because Uispy says it is a combobox.
LocalizedControlType: "combo box"
Name: "Search Bookmarks and History"
Here is what I have : http://img202.imageshack.us/i/screenshotstudiocapturez.png/
I found the name was "Search Bookmarks and History" so I have tried this :
static void Main(string args)
string path = @"C:\Program Files\Mozilla Firefox\firefox.exe";
Application application = Application.Launch(path);
Window firefox = application.GetWindow("Google - Mozilla Firefox"); // title when ff is launched
ComboBox address = firefox.Get<ComboBox>(SearchCriteria.ByText("Search Bookmarks and History")); // in German "Lesezeichen und Chronik durchsuchen"
EDIT : I have this error message http://img171.imageshack.us/i/screenshotstudiocapturef.png/