mindtrove Collecting ideas since 1980

13Mar/091

Tidbit: doh.robot initialization

The doh.robot module for Dojo clicks a special text field inserted into the top-left of the test page during its initialization. If you obscure this magic field, the robot hangs.

If you're writing your test cases separate from the page under test (always a good idea), dojo.robotx craftily hides the iframe containing the page to test until the robot is ready. If you're not using dojo.robotx (my constraint), you must be careful to avoid that magic text box in a similar fashion.

Comments (1) Trackbacks (0)
  1. WOW thank you so much…I have been trying to figure out for days why sometimes the robot will start and other times it wont. I have posted on the dojo forums (and found other clueless people there asking the same question) as well as the chatroom but this is the first time I have see any explanation.
    Seriously I am overjoyed right now! Once again thanks for this great tidbit.


Leave a comment


No trackbacks yet.