Get text value from ui element

Jul 30, 2010 at 11:31 PM

hi

I have a panel and i want to get the text value from it. Is this possible with white framework? I've only seen example of how to interact or assert control

but not to get values like text from it.

Aug 2, 2010 at 6:41 AM

Hi

 

a panel himself does not have a text value like visible text. but it might contains a textbox or label, or other elements which have visible text elements.

Have use used UIAVerify or UISpy to see what elements are visible?

maybe post the output of panel.LogStructure() or better from the parent element.

 

Throndorin

Aug 6, 2010 at 6:49 PM

Hi

Yes, i see only the panel itself. :(

Aug 6, 2010 at 7:37 PM

If it does not show up in LogStructure() then you wont be able to access from white (as far as I know).  Sorry :(

Aug 9, 2010 at 6:48 AM

hey syslock

 

has you contact to the developer?

 

The should have a look at AutomationPeer.

 

Automation Peer gives you access to Controls.

 

Maybe the new functions in White 2.0 can help you, but I have no experience here.

Custom Commands

 

Throndorin