I was also thinking along those lines: can you use the ID to get to the parent, and then take the n-th child to do something with it?
BR, Wim. 2011/3/14 Matthew Sherborne <[email protected]>: > I think Selenium might have other ways of accessing widgets than just > by ID; what about using CSS selectors. > > Maybe it'd be even better to have it grab menuitem with label=Home > rather than by ID. The human user chooses by label. > > Would be easier than modifying all that c++ source :P > > Also, I have a test suite using Boost unitest that just calls the > widgets by themselves .. I had to use -fno-access-control gcc compiler > option so I could access hidden fields as shown here: > http://stackoverflow.com/questions/860923/unit-testing-with-fno-access-control/4892361#4892361 > > Hope that helps some what. > > Kind Regards, > Matthew Sherborne > > ------------------------------------------------------------------------------ > Colocation vs. Managed Hosting > A question and answer guide to determining the best fit > for your organization - today and in the future. > http://p.sf.net/sfu/internap-sfd2d > _______________________________________________ > witty-interest mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/witty-interest > ------------------------------------------------------------------------------ Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization - today and in the future. http://p.sf.net/sfu/internap-sfd2d _______________________________________________ witty-interest mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/witty-interest
