Problem while writing data to dhtmlxGrid cell using Selenium


#1

Hi,

I am able to access the cell and double click it (for editing) but when i execute the command that writes data in the cell it does not show the data in the cell.

Below is the sample selenium code from my test case:

click //div[@id='chargesGrid']/div[2]/table/tbody/tr[2]/td[4] doubleClickAt //div[@id='chargesGrid']/div[2]/table/tbody/tr[2]/td[4] type //div[@id='chargesGrid']/div[2]/table/tbody/tr[2]/td[4] asd123

Thanks.


#2

Target of type must be not the TD element but input inside of that TD


#3

So, how should i go about it if i want to edit the cell?
I tried assigning temp id to the cell using “assignId” but getting same results.


#4

Resolved.
Thanks for the help.