PDA

View Full Version : Selenium RC - Pbl to test drag&drop



Riri
3 Jun 2008, 5:54 AM
Hello,

How can I enter some "text" into a grid ?
Selenium just offers a "type" method for "input field" but for grid cell ?

Has somebody already succeed to test Extjs Grid element using Selenium RC ? :-?

yazan_rababa
3 Jun 2008, 6:21 AM
hi
what is Selenium RC? i have problems in drag-drop for grids in rtl environment, maybe this can help me.
what is the way you are thinking to enter data? using a form?

Riri
3 Jun 2008, 10:20 PM
Selenium RC is a testing Tool.

I found how to change a grid value :
I had to use DOM as locator.




String domLocator = "this.browserbot.findElement('id=" + focusDropElt + "').setAttribute('innerHTML','"+ dragText + "')";
selenium.getEval(domLocator);