I am trying to use DRT to run acceptance tests.
Since this is an acceptance test, I need to change the location to open the tested page. But of course, after I did this, my test script disappeared.
I tried to use iFrames as a workaround, but Dart does not provide any means to get the contents of the iFrame. This means that you can load the tested page in an iframe, but you cannot get its html.
I checked all DRT tests in the Dart repository: http://code.google.com/p/dart/source/browse/#svn%2Fbranches%2Fbleeding_edge%2Fdart%2Ftests%2Fhtml
but it seems that not one of them changes location.
Can I use DRT to run acceptance tests? Is there a workaround that I haven't thought about?
source share