sendkeys are not working in Selenium Webdriver

0
0

I am not able to put any value in my application using web driver.
My application is using frames.
Using following command I am able to clear the value of my textbox
driver.findElement(By.name("name")).clear();
But it does not allow to put any value using following command:
driver.findElement(By.name("name")).sendKeys("manish");

even though click command works for button on the same page.

Please suggest me what should i do to resolve this issue.

Thanks in advance.

  • You must to post comments
0
0

I also had that problem as well before. But then what I did to make it work is

myInputElm.click();
myInputElm.clear();
myInputElm.sendKeys('myString');
  • You must to post comments
Showing 1 result
Your Answer
Post as a guest by filling out the fields below or if you already have an account.
Name*
E-mail*
Website