Finding a VB6 control using TestStack.White -
i'm using teststack.white read list old app written in vb6. i'm able find reference list teststack.white doesn't see values in list.
when use spy++ or visual ui automation verify pane ids 15, 14, 16, 12, 11, 10, 8, etc columns highlighted , not actual textbox. can see app screenshot.
anyone have suggestions on how can values list?
thanks in advance.
teststack.white.uiitems.panel grid = searchform.get<teststack.white.uiitems.panel>( teststack.white.uiitems.finders.searchcriteria.byautomationid( "7" ) ); foreach ( teststack.white.uiitems.groupbox item in grid.items ) { foreach ( var itemgroupbox in item.items ) // item.items empty { var tmp = itemgroupbox; } }
this screenshot of app.
screenshot of spy++
screenshot of visual ui automation verify
try use item.automationelement.getcurrentpropertyvalue(valuepattern.valueproperty)
do have possibility send screenshot "inspect" application grid cell properties?
Comments
Post a Comment