免费视频淫片aa毛片_日韩高清在线亚洲专区vr_日韩大片免费观看视频播放_亚洲欧美国产精品完整版

打開APP
userphoto
未登錄

開通VIP,暢享免費(fèi)電子書等14項(xiàng)超值服

開通VIP
IUIAutomation MS framework automate chrome, FF, IE, ....

The application I am trying to automate has Data Grid View controls and your spy tool is able to identify them, but I am unsure how to loop through all of the rows/columns and put the data into a 2d array.

I will be attempting to code this myself, but I was hoping someone may have already figured this out, or at least have a good idea on how to go about accomplishing this.

Anyways, here is the spy information of the Data Grid View control itself, and the spy information of one of the cells of the Data Grid view control (items that had no value were removed)

Data Grid View:

Mouse position is retrieved 900-402At least we have an element [DataGridView][WindowsForms10.Window.8.app.0.1a6f050_r13_ad1]Having the following values for all properties: Title is: <DataGridView>    Class   := <WindowsForms10.Window.8.app.0.1a6f050_r13_ad1>  controltype:= <UIA_TableControlTypeId>  ,<50036>    , (0000C374)    UIA_AutomationIdPropertyId :=dgvWIPUIA_BoundingRectanglePropertyId :=283;402;1354;372UIA_ClassNamePropertyId :=WindowsForms10.Window.8.app.0.1a6f050_r13_ad1UIA_ControlTypePropertyId :=50036UIA_CulturePropertyId :=0UIA_DockDockPositionPropertyId :=5UIA_ExpandCollapseExpandCollapseStatePropertyId :=3UIA_FrameworkIdPropertyId :=WinFormUIA_GridColumnCountPropertyId :=0UIA_GridItemColumnPropertyId :=0UIA_GridItemColumnSpanPropertyId :=1UIA_GridItemRowPropertyId :=0UIA_GridItemRowSpanPropertyId :=1UIA_GridRowCountPropertyId :=0UIA_HasKeyboardFocusPropertyId :=TrueUIA_IsContentElementPropertyId :=TrueUIA_IsControlElementPropertyId :=TrueUIA_IsDataValidForFormPropertyId :=FalseUIA_IsDockPatternAvailablePropertyId :=FalseUIA_IsEnabledPropertyId :=TrueUIA_IsExpandCollapsePatternAvailablePropertyId :=FalseUIA_IsGridItemPatternAvailablePropertyId :=FalseUIA_IsGridPatternAvailablePropertyId :=FalseUIA_IsInvokePatternAvailablePropertyId :=FalseUIA_IsItemContainerPatternAvailablePropertyId :=FalseUIA_IsKeyboardFocusablePropertyId :=TrueUIA_IsLegacyIAccessiblePatternAvailablePropertyId :=TrueUIA_IsMultipleViewPatternAvailablePropertyId :=FalseUIA_IsOffscreenPropertyId :=FalseUIA_IsPasswordPropertyId :=FalseUIA_IsRangeValuePatternAvailablePropertyId :=FalseUIA_IsRequiredForFormPropertyId :=FalseUIA_IsScrollItemPatternAvailablePropertyId :=FalseUIA_IsScrollPatternAvailablePropertyId :=FalseUIA_IsSelectionItemPatternAvailablePropertyId :=FalseUIA_IsSelectionPatternAvailablePropertyId :=FalseUIA_IsSynchronizedInputPatternAvailablePropertyId :=FalseUIA_IsTableItemPatternAvailablePropertyId :=FalseUIA_IsTablePatternAvailablePropertyId :=FalseUIA_IsTextPatternAvailablePropertyId :=FalseUIA_IsTogglePatternAvailablePropertyId :=FalseUIA_IsTransformPatternAvailablePropertyId :=FalseUIA_IsValuePatternAvailablePropertyId :=FalseUIA_IsVirtualizedItemPatternAvailablePropertyId :=FalseUIA_IsWindowPatternAvailablePropertyId :=FalseUIA_LegacyIAccessibleChildIdPropertyId :=0UIA_LegacyIAccessibleNamePropertyId :=DataGridViewUIA_LegacyIAccessibleRolePropertyId :=24UIA_LegacyIAccessibleStatePropertyId :=1048580UIA_LocalizedControlTypePropertyId :=tableUIA_MultipleViewCurrentViewPropertyId :=0UIA_NamePropertyId :=DataGridViewUIA_NativeWindowHandlePropertyId :=1179694UIA_OrientationPropertyId :=0UIA_ProcessIdPropertyId :=8912UIA_ProviderDescriptionPropertyId :=[pid:148,hwnd:0x12002E Main:Nested [pid:8912,hwnd:0x12002E Main(parent link):Microsoft: MSAA Proxy (unmanaged:uiautomationcore.dll)]; Hwnd(parent link):Microsoft: HWND Proxy (unmanaged:uiautomationcore.dll)]UIA_RangeValueIsReadOnlyPropertyId :=TrueUIA_RangeValueLargeChangePropertyId :=0UIA_RangeValueMaximumPropertyId :=0UIA_RangeValueMinimumPropertyId :=0UIA_RangeValueSmallChangePropertyId :=0UIA_RangeValueValuePropertyId :=0UIA_RuntimeIdPropertyId :=42;1179694UIA_ScrollHorizontallyScrollablePropertyId :=FalseUIA_ScrollHorizontalScrollPercentPropertyId :=0UIA_ScrollHorizontalViewSizePropertyId :=100UIA_ScrollVerticallyScrollablePropertyId :=FalseUIA_ScrollVerticalScrollPercentPropertyId :=0UIA_ScrollVerticalViewSizePropertyId :=100UIA_SelectionCanSelectMultiplePropertyId :=FalseUIA_SelectionIsSelectionRequiredPropertyId :=FalseUIA_SelectionItemIsSelectedPropertyId :=FalseUIA_TableRowOrColumnMajorPropertyId :=2UIA_ToggleToggleStatePropertyId :=2UIA_TransformCanMovePropertyId :=FalseUIA_TransformCanResizePropertyId :=FalseUIA_TransformCanRotatePropertyId :=FalseUIA_ValueIsReadOnlyPropertyId :=TrueUIA_WindowCanMaximizePropertyId :=FalseUIA_WindowCanMinimizePropertyId :=FalseUIA_WindowIsModalPropertyId :=FalseUIA_WindowIsTopmostPropertyId :=FalseUIA_WindowWindowInteractionStatePropertyId :=0UIA_WindowWindowVisualStatePropertyId :=0

Data Grid View Cell:

Mouse position is retrieved 400-461At least we have an element [OrderNo Row 0][]Having the following values for all properties: Title is: <OrderNo Row 0>   Class   := <>   controltype:= <UIA_CustomControlTypeId> ,<50025>    , (0000C369)    UIA_BoundingRectanglePropertyId :=361;448;70;22UIA_ControlTypePropertyId :=50025UIA_CulturePropertyId :=0UIA_DockDockPositionPropertyId :=5UIA_ExpandCollapseExpandCollapseStatePropertyId :=3UIA_GridColumnCountPropertyId :=0UIA_GridItemColumnPropertyId :=0UIA_GridItemColumnSpanPropertyId :=1UIA_GridItemRowPropertyId :=0UIA_GridItemRowSpanPropertyId :=1UIA_GridRowCountPropertyId :=0UIA_HasKeyboardFocusPropertyId :=TrueUIA_HelpTextPropertyId :=DataGridViewTextBoxCell(DataGridViewCell)UIA_IsContentElementPropertyId :=TrueUIA_IsControlElementPropertyId :=TrueUIA_IsDataValidForFormPropertyId :=FalseUIA_IsDockPatternAvailablePropertyId :=FalseUIA_IsEnabledPropertyId :=TrueUIA_IsExpandCollapsePatternAvailablePropertyId :=FalseUIA_IsGridItemPatternAvailablePropertyId :=FalseUIA_IsGridPatternAvailablePropertyId :=FalseUIA_IsInvokePatternAvailablePropertyId :=FalseUIA_IsItemContainerPatternAvailablePropertyId :=FalseUIA_IsKeyboardFocusablePropertyId :=TrueUIA_IsLegacyIAccessiblePatternAvailablePropertyId :=TrueUIA_IsMultipleViewPatternAvailablePropertyId :=FalseUIA_IsOffscreenPropertyId :=FalseUIA_IsPasswordPropertyId :=FalseUIA_IsRangeValuePatternAvailablePropertyId :=FalseUIA_IsRequiredForFormPropertyId :=FalseUIA_IsScrollItemPatternAvailablePropertyId :=FalseUIA_IsScrollPatternAvailablePropertyId :=FalseUIA_IsSelectionItemPatternAvailablePropertyId :=FalseUIA_IsSelectionPatternAvailablePropertyId :=FalseUIA_IsSynchronizedInputPatternAvailablePropertyId :=FalseUIA_IsTableItemPatternAvailablePropertyId :=FalseUIA_IsTablePatternAvailablePropertyId :=FalseUIA_IsTextPatternAvailablePropertyId :=FalseUIA_IsTogglePatternAvailablePropertyId :=FalseUIA_IsTransformPatternAvailablePropertyId :=FalseUIA_IsValuePatternAvailablePropertyId :=FalseUIA_IsVirtualizedItemPatternAvailablePropertyId :=FalseUIA_IsWindowPatternAvailablePropertyId :=FalseUIA_LegacyIAccessibleChildIdPropertyId :=0UIA_LegacyIAccessibleHelpPropertyId :=DataGridViewTextBoxCell(DataGridViewCell)UIA_LegacyIAccessibleNamePropertyId :=OrderNo Row 0UIA_LegacyIAccessibleRolePropertyId :=29UIA_LegacyIAccessibleStatePropertyId :=3145734UIA_LegacyIAccessibleValuePropertyId :=580902UIA_MultipleViewCurrentViewPropertyId :=0UIA_NamePropertyId :=OrderNo Row 0UIA_NativeWindowHandlePropertyId :=0UIA_OrientationPropertyId :=0UIA_ProcessIdPropertyId :=8012UIA_ProviderDescriptionPropertyId :=[pid:8012,hwnd:0x0 Main(parent link):Microsoft: MSAA Proxy (unmanaged:uiautomationcore.dll)]UIA_RangeValueIsReadOnlyPropertyId :=TrueUIA_RangeValueLargeChangePropertyId :=0UIA_RangeValueMaximumPropertyId :=0UIA_RangeValueMinimumPropertyId :=0UIA_RangeValueSmallChangePropertyId :=0UIA_RangeValueValuePropertyId :=0UIA_ScrollHorizontallyScrollablePropertyId :=FalseUIA_ScrollHorizontalScrollPercentPropertyId :=0UIA_ScrollHorizontalViewSizePropertyId :=100UIA_ScrollVerticallyScrollablePropertyId :=FalseUIA_ScrollVerticalScrollPercentPropertyId :=0UIA_ScrollVerticalViewSizePropertyId :=100UIA_SelectionCanSelectMultiplePropertyId :=FalseUIA_SelectionIsSelectionRequiredPropertyId :=FalseUIA_SelectionItemIsSelectedPropertyId :=FalseUIA_TableRowOrColumnMajorPropertyId :=2UIA_ToggleToggleStatePropertyId :=2UIA_TransformCanMovePropertyId :=FalseUIA_TransformCanResizePropertyId :=FalseUIA_TransformCanRotatePropertyId :=FalseUIA_ValueIsReadOnlyPropertyId :=TrueUIA_WindowCanMaximizePropertyId :=FalseUIA_WindowCanMinimizePropertyId :=FalseUIA_WindowIsModalPropertyId :=FalseUIA_WindowIsTopmostPropertyId :=FalseUIA_WindowWindowInteractionStatePropertyId :=0UIA_WindowWindowVisualStatePropertyId :=0
本站僅提供存儲(chǔ)服務(wù),所有內(nèi)容均由用戶發(fā)布,如發(fā)現(xiàn)有害或侵權(quán)內(nèi)容,請(qǐng)點(diǎn)擊舉報(bào)。
打開APP,閱讀全文并永久保存 查看更多類似文章
猜你喜歡
類似文章
ios開發(fā)視圖布局(View Layout)效果源碼分享
Twitter image Downloader
DEV gridview 捕獲行雙擊事件
extjs根據(jù)條件控制grid列顯示
[C#]關(guān)于外掛漢化的一些思考(API函數(shù)FindWindow,FindWindowEx,SendMessage)
切圖命名
更多類似文章 >>
生活服務(wù)
分享 收藏 導(dǎo)長(zhǎng)圖 關(guān)注 下載文章
綁定賬號(hào)成功
后續(xù)可登錄賬號(hào)暢享VIP特權(quán)!
如果VIP功能使用有故障,
可點(diǎn)擊這里聯(lián)系客服!

聯(lián)系客服