Thanks again Wim, What I understand is, I have to implement my solution to apply differences
1. Retrieve existing model from database 2. Check any differences between the old model and the new model (add, delete, modify) 3. Apply differences using SQL statements I used Ranorex and I came across same problems on a windows application. Actually the reason for this question is exactly what you told about. I'll wait for your blog entry. Regards, Burak 2013/5/13 Wim Dumon <w...@emweb.be>: > > 2013/5/13 Burak Kulakli <kula...@yahoo.co.uk> >> >> Thanks a lot Wim. >> >> About dbo, I need an example about migration scripts. Suppose that I >> have an application running using the class below >> >> class User { >> public: >> std::string name; >> >> template<class Action> >> void persist(Action& a) >> { >> dbo::field(a, name, "name"); >> } >> }; >> >> Then in new version, I've added a new attribute called age >> >> >> class User { >> public: >> std::string name; >> int age; >> >> template<class Action> >> void persist(Action& a) >> { >> dbo::field(a, name, "name"); >> dbo::field(a, age, "age"); >> } >> }; >> >> There is a method called createTables(). Is there (or will be) a >> method to update existing tables (Ex. updateTables)? >> If not, I need an example code how to add age to an existing database >> (need SQL queries I guess) >> > > Indeed, that would be 'alter table add column ...'. > >> >> About tests, I mean a black box user testing, a browser automation. Any >> ideas? >> > > The usual applications can be used. It's a bit more difficult because most > of these programs use the id of a field, and Wt automattically assigns > random id's, so there may be a problem finding the right elements to click > on. We will be publishing information on how to use Selenium IDE in > combination with Wt's object name mechanism soon (probably on the blog), > since this is a returning question. > > BR, > Wim. > > > ------------------------------------------------------------------------------ > Learn Graph Databases - Download FREE O'Reilly Book > "Graph Databases" is the definitive new guide to graph databases and > their applications. This 200-page book is written by three acclaimed > leaders in the field. The early access version is available now. > Download your free book today! http://p.sf.net/sfu/neotech_d2d_may > _______________________________________________ > witty-interest mailing list > witty-interest@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/witty-interest > ------------------------------------------------------------------------------ Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is the definitive new guide to graph databases and their applications. This 200-page book is written by three acclaimed leaders in the field. The early access version is available now. Download your free book today! http://p.sf.net/sfu/neotech_d2d_may _______________________________________________ witty-interest mailing list witty-interest@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/witty-interest