Naming and comment descriptions

Type Name Description
AutomationElement control The UI Automation element
BaseProdControl control Generic base class for ProdUI Controls
Array Index param index Zero based index
String param  text or searchText  
  extension The extended interface.
  •  BrigeMethods End with “Bridge” as in GetSelectedIndexesBridge
    •  Private bridge methods will have the technology prepended
      • NativeGetSelectedIndexes will be for native method
      • UiaGetSelectedIndexes will be for Automation

 

  • Exceptions
    • will be caught at Bridge-class level. Unless necessary, just propagate up the stack
    • Log as part of class as well as in client code
    • Logging attributes will be on prod functions
  • Verification
    • done in native methods for the most part.
    • Verification exception will be thrown by ValueVerifier class
    • UIA value events are monitored

Random crap:

  • it looks like a control will consist of (generally) 4 files: Public control, Bridge, Native Functions, UIA Pattern(s)

 

 Rework Progress

ProdUI Name public interface Bridge functions (native & UIA) UIA Pattern Helpers Native Functions Unit Tests 
ProdButton 100% 100% invoke/100% Attempt a hotkey?  
ProdCalendar          
ProdCheckbox  100 100  toggle/100  100   
ProdComboBox  100  100 list/value/100  100   
ProdDataGrid          
ProdEdit 100 100  100 100  
ProdList 100 100 select/100 100  
ProdRadio 100   100 select/100  100   
ProdSlider 100   100 RangeValue/100 100   
ProdSlider 100 100 RangeValue/100 100  
ProdTab 100 100 ISingleSelectList/100   100  
ProdText          
ProdWindow  100 100  100  100   

Last edited Oct 6, 2011 at 5:10 PM by hroark, version 20

Comments

No comments yet.