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. enter image description here

screenshot of spy++ enter image description here

screenshot of visual ui automation verify enter image description here

try use item.automationelement.getcurrentpropertyvalue(valuepattern.valueproperty)

do have possibility send screenshot "inspect" application grid cell properties?


Comments

Popular posts from this blog

php - failed to open stream: HTTP request failed! HTTP/1.0 400 Bad Request -

java - How to filter a backspace keyboard input -

java - Show Soft Keyboard when EditText Appears -