PDA

View Full Version : UI / Unit Testing Forum



arthurakay
8 Apr 2009, 12:11 PM
I've noticed a ton of posts lately with questions about Selenium testing.

While I know that ExtJS has no affiliation with Selenium (or any other testing framework), ExtJS also doesn't have any built-in testing methods like YUI Test. There are a handful of screencasts and posts on the topic, but nothing really like a learning center.

Maybe it would be a good idea to create a forum on this board specifically geared towards testing. I am starting to do more UI/Unit tests on my own applications, and I think it would be very helpful to be able to look in one place for related questions rather than searching the "Ext: Help" board.

Thoughts?

mjlecomte
8 Apr 2009, 12:24 PM
I doubt it's going to happen. To date, the number of forums is purposefully kept small. Suggest you make a FAQ thread or add a FAQ to the wiki on the subject

carl23934
10 Apr 2009, 5:09 AM
I found a forum post on some other random forum with horribly outdated (2007) and wrong information on testing drag and drop with selenium, yet people replied feb 2009 saying "this post is awesome".

It would seem like it would be great to make a quick wiki page or video showing how to get started with ExtJ and selenium.

It took me a bit, but I figured out how to test drag and drop with selenium... I would definitely like to share the info if there was a place to put it.

mjlecomte
10 Apr 2009, 8:04 AM
What's the reluctance to start the wiki entry? Don't know how to do it, can't be bothered? I think the majority of people just like to post something in the forums because it's easy to do. Problem is the forums don't serve as a good one stop reference.

kai_tea
2 Jul 2009, 9:19 AM
Hi,

I am unable to drag and drop an tree node with Selenium using the dragAndDropToObject method. I was interested in learning how you were able to drag and drop using Selenium?

Thanks.



I found a forum post on some other random forum with horribly outdated (2007) and wrong information on testing drag and drop with selenium, yet people replied feb 2009 saying "this post is awesome".

It would seem like it would be great to make a quick wiki page or video showing how to get started with ExtJ and selenium.

It took me a bit, but I figured out how to test drag and drop with selenium... I would definitely like to share the info if there was a place to put it.

carl23934
5 Aug 2009, 8:09 AM
I used these methods and pointed them to an ID's of objects in there. This is a pretty poor way to do it as you cannot always predict the DOM structure, but it worked for a proof of concept.

mouseDownAt
mouseMoveAt
mouseUp