JackRostron / UIAutomation

OS X UIAutomation
2 stars 0 forks source link

Null Values Shown as 'rect' #4

Open MarkBrazier opened 10 years ago

MarkBrazier commented 10 years ago

Where an element has a value of 'null' it is shown as 'rect' in the output. See the attached screenshot for examples. Please correct this.

screen shot 2014-06-16 at 10 32 40

JackRostron commented 10 years ago

By the look of it, if it doesn't have a name set it doesn't have the "name" key on that entry.

UIWindow: rect{blah} UINavigationBar: name:Tag History rect:{blah}

This might actually make it easier to highlight missing attributes since if an entry doesn't have a "name" key then we can highlight an entry in red immediately

SamDKBerry commented 10 years ago

I think the issue is that were not showing anything because there isn't anything to show and rect is the next word in the string. Maybe we should have a clearer seperator between the elements values.

On 16 June 2014 02:42, Jack Rostron notifications@github.com wrote:

By the look of it, if it doesn't have a name set it doesn't have the "name" key on that entry.

UIWindow: rect{blah} UINavigationBar: name:Tag History rect:{blah}

This might actually make it easier to highlight missing attributes since if an entry doesn't have a "name" key then we can highlight an entry in red immediately

— Reply to this email directly or view it on GitHub https://github.com/JackRostron/UIAutomation/issues/4#issuecomment-46159037 .

JackRostron commented 10 years ago

So if we add columns to the listTree - something like this

SamDKBerry commented 10 years ago

As long as the table header doesn't scroll I think thats a good solution. Although we will still need a way to show indents which might not work in a table.

On 16 June 2014 22:23, Jack Rostron notifications@github.com wrote:

So if we add columns to the listTree - something like this http://www.noodlesoft.com/blog/wp-content/uploads/2009/10/row-spanning-table.png

— Reply to this email directly or view it on GitHub https://github.com/JackRostron/UIAutomation/issues/4#issuecomment-46268483 .

JackRostron commented 10 years ago

Might need a play to get it looking right with the collapsing/expanding but the header should remain static