>Hey Chuckles, > >2009/2/6 Chuckles McGregor <[email protected]>: >> good day, >> does anyone have experience with using automated test tools >> with wt? I'm thinking about using a firefox plugin selenium ide but >> the way wt dynamically generates ids I'll have to become an xpath >> expert to use the tool > >You could use WWidget::setId() to set unique id's for widgets which >you wish to verify using the automated test tool.
we've turned off setid() since the generated objects aren't guaranteed to be unique (at this time). I'm using selenium remote control and using python to generate the test cases. In the limited time I've used it (1 script so far) it was pretty easy to figure out how to modify one of the examples to run our app. The hardest part is learning how to use xpath and firefox has a couple of plugins to make it easier. It took me about 15 minutes to get it right. > >However, we have been brainstorming about a better way: by integrating >webkit with Wt (as an option) we would be able to access the DOM >directly from within the same process that runs the Wt application. > >This would allow to do testing entirely in C++, and we could allow >easy access to all the DOM, including rendering information and event >generation, related to a particular widget. this could be pretty handy, I could see using this to generate test scripts as one of the developers has promised the ability to replay within the business logic chuckles > >Regards, >koen > >------------------------------------------------------------------------------ >Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA >-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise >-Strategies to boost innovation and cut costs with open source participation >-Receive a $600 discount off the registration fee with the source code: SFAD >http:// p.sf.net/sfu/XcvMzF8H >_______________________________________________ >witty-interest mailing list >[email protected] >https:// lists.sourceforge.net/lists/listinfo/witty-interest ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ witty-interest mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/witty-interest
