Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 1 of 1 total
Thread DevExpress TestCafe
Fri, Dec 19 2014 8:41 AMPermanent Link

Matthew Jones

Has anyone tried the DevExpress TestCafe tool? It is an "in browser"
scripting tool to note UI clicks etc so you can check that a web
interface does what it should. I've just given it a whizz over my web
shop code, and apart from having to make some changes, it worked okay.
I recorded a test to buy something using Chrome, then saved it, and
then ran it in IE and it worked. The only thing I'd say would be nice
is if the scripts you make could be edited in the pretty UI again - it
leaves you with a load of javascript to edit, which is not half as nice
as the UI. I wonder if they are working on that...

Anyway, for the money it might be a good way of testing UI code.

Oh, the change I had to make was to name my EWB components
consistently. My grid is made up from a load of labels etc copied from
a template. I just named them "AutoLabel1", "AutoLabel2" etc, but the
number was not consistent. Also each row was not unique, and I want to
be able to have the test click a particular product to purchase, not
just the third down, so the labels are now "Auto-productname-1" and
consistently numbered (it used to be a global just incrementing all the
time). Didn't take long to change, and now works fine.

Only other thing was the combo box - the drop down bit has the same
name for each, so you have to click on the text itself and then it
identifies by name.

Would be interested to hear if anyone else has experience of this - I'm
on day one of the 30 day trial.


--

Matthew Jones
Image