|Re: Widget <-> View (ID) [message #648549 is a reply to message #648499]
||Thu, 13 January 2011 13:26
| Paul Webster
Registered: July 2009
On 01/13/2011 04:21 AM, PigsAngel wrote:|
> Thanks, I suspected that was the answer.
> This information would be useful for simplifying the writing of GUI test
> cases, but I presume we have to find other ways to solve this.
If you know before hand, you can set IDs on your widgets and use them in
your UI test cases.
i.e. in your viewpart, you create buttons and use
Then when walking your view, you can find "button1" for your tests and
when button 1 is clicked you can check that ID in your tests, etc.
Depending on the size of your app, you might only want to set the data
when in test mode.
Powered by FUDForum
. Page generated in 0.01894 seconds