- Shanthuday
- Posts : 1
Join date : 2014-12-16
Unable to enter text into the Code mirro text box
Tue Dec 16, 2014 5:46 pm
Hi,
Am not able to enter the text into the mirror text box. below is the code that am using:
driver.findElement(By.xpath("//div[@id='description']/form/table/tbody/tr/td[@class='setting-main']/div/div/textarea")).clear();
driver.findElement(By.xpath("//div[@id='description']/form/table/tbody/tr/td[@class='setting-main']/div/div/textarea")).sendKeys("Test");
looks like it is because of hidden textarea, can you please help me on this.
Here is the html code for the text box:
Am not able to enter the text into the mirror text box. below is the code that am using:
driver.findElement(By.xpath("//div[@id='description']/form/table/tbody/tr/td[@class='setting-main']/div/div/textarea")).clear();
driver.findElement(By.xpath("//div[@id='description']/form/table/tbody/tr/td[@class='setting-main']/div/div/textarea")).sendKeys("Test");
looks like it is because of hidden textarea, can you please help me on this.
Here is the html code for the text box: