How to set value when there is no pattern

Dec 17, 2009 at 6:53 PM


I'm also new to automation but love it so far.

My question is on a windows form table which has 3 columns each can have string characters. When I try a TryGetCurrentPattern on all 3 fields the item which has a default value returns a ValuePattern while the other 2 items which are empty return null for a pattern.

How can I overwrite this and manage to set a Value to these items?

 Any help will be appreciated.



Dec 25, 2009 at 3:47 AM

Seems like you are using UIAutomation directly to do this and not using white UI Items.