title: SendKeys method is not working when I am using keyword as sendkeys for keyword driven framework for selenium automation
body: <p>I am using selenium keyword driven framework to automate my project.</p>
  <p>With current framework structure im able to launch chrome browser, enter url, click elements, however at login page I am not able to send keys in Username field. I have provided action as &quot;sendKeys&quot; and wrote a code inside my execution engine(Keyword Driven structure). The question is if Click action is working then why not sendkeys action.</p>
  <p>Please follow the code snippet for sendkeys and click action.</p>
  <pre><code>switch (locatorName) {
              case &quot;xpath&quot;:
                  WebElement element= driver.findElement(By.xpath(locatorValue));
                      if (actionCol.equalsIgnoreCase(&quot;enter&quot;)) {
                          element.clear();
                          element.sendKeys(valueCol);
                          System.out.println(&quot;SendKeys is implemented&quot;);
                      } else if (actionCol.equalsIgnoreCase(&quot;click&quot;)) {
                          element.click();
                          System.out.println(&quot;Click is implemented&quot;);
                      }
                      locatorName= null;
                      break;
  
              default:
                  break;
  }
  </code></pre>