Login Register

doh.robot

dijit.robot / Java problems, writing untit tests

Hello there,

I was hoping to implement the dojo robot feature to write (automated) tests, but I having problems running the java applet. With firefox I only getting a blank page. My test page is loaded, but the frame is always invisible (set in css style,tested with firebug).

My status bar says 'Applet DOHRobot notinitised'. If i copy the url used (firebug), I can download the applet just fine. I have javascript and java enabled.

The strange thing is that IE will load the applet without any problems but the page stays invisible....

doh.robot, Part 2: Automating Acceptance Tests and User Stories

Learn how to write acceptance tests and test "user stories" with your applications using the new doh.robot module, dijit.robotx, for Dojo 1.2, without modifying your application code or even upgrading your version of Dojo.

How dojox.robot.recorder captures mouse move actions?

Hi,

Im new to doh.robot. I have used dojox.robot.recorder to record the events in my testpage. But I found that,

1. If my element has an id, recorder captures the event using the id like doh.robot.mouseMoveAt('myElementsId',...)

2. But when my element does not have an id, then recorder uses document.getElementByTagName over an index to get my element. Ex: doh.robot.mouseMoveAt(function(){ return document.getElementsByTagName('SPAN')[122]; }, ...)

using dojox.robot.recorder with Doh runner and robot

We are using doh.robot api to perform UI testing for our application.We came across following issues

1) When dojox.robot.recorder was used to record the events performed on my application which is available inside the iframe of the runner.html, the recorder was not able to identify the elements in my application using their dom ids(for eg: mouseMoveAt funtion).

Moreover i would like to have the test files separated from the application.

please throw us some light in this context as we are new to doh.

doh.robot

Hi,

I am trying few things with doh.robot. And have few problems. I must say that the first time I heard about dojo was two days ago, when I buped into doh.robot during a websearch.
My dojo version is the latest svn checkout.

I have tried the following code that is based on the example dojo provides:

Target link

Syndicate content