Page 1 of 1

SWT Canvas Objects

Posted: Thu Jul 27, 2017 11:08 am
by tingelcore
Hello,

I have a problem with the Object Spy doesn't find any Objects within a SWT Canvas. There is a Topic on that from 2012 but it's locked and i didn't found a working solution for me in there.

Edit for more Information: On the Canvas there are Elements drawn on runtime. Like some dropdown options and you can create other objects which are shown on the canvas.

Is there a workaround that Objects within a SWT Canvas can be recognized?

Best Regards

Re: SWT Canvas Objects

Posted: Fri Jul 28, 2017 11:32 am
by odklizec
Hi,

I'm afraid, the answer is the same as in 2012. There is not an easy way to access the swt canvas elements. Basically, you will have (somehow) implement accessibility to swt canvas and its elements (inside AUT).

Re: SWT Canvas Objects

Posted: Fri Jul 28, 2017 12:52 pm
by tingelcore
Hi,
thanks for the quick reply. That is what I thought.