Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[platform-swt-dev] SWT Tree performance

Hi There,
 
I have a testcase where in expanding a  SWT Tree node at 5th level fails when using a GUI automation tool. For e.g, expanding the node "E" in the sequence
 
A->B->C->D->E .
 
The failure is because the automation tool is timing out before it expands the tree node D. But, if I expand the nodes upto "E"  manually, collapse everything again and then use the automation tool to playback the above case, it works, i.e, the tool can expand the node "E" (after expanding all the preant nodes leading E). Basically, there is no time out if the Tree nodes are expanded and collapsed once.
 
I can't suspect on the automation tool, because it is just calling the method showItem() from org.eclipse.swt.widgets.Tree package to expand (or make the node visible).
 
Could this, taking more time to expand, is an SWT problem? This problem is seen on Linux.
 
Thanks and regards,
Suma.
 
 


Here's a new way to find what you're looking for - Yahoo! Answers
Send FREE SMS to your friend's mobile from Yahoo! Messenger Version 8. Get it NOW

Back to the top