what is the difference between keys.enter and keys.return in selenium? i have used both and both performed enter.

Answer Posted / piya

For Enter-
act.sendKeys(Keys.RETURN);
For Tab-
act.sendKeys(Keys.ENTER);

Is This Answer Correct ?    2 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to click on a hyper link using linktext?

517


What are the advantages and disadvantages of selenium over other testing tools like qtp and testcomplete?

978


What is the alternate way to click on the login button?

499


How does one capture a page title in selenium 2.0?

515


What is the difference between borland silk and selenium?

515






What’s selenese?

453


What are the features of selenium ide ?

519


Tell me how can you insert a start point in selenium ide?

437


What is assertion in selenium?

516


Tell us how to perform right click using selenium webdriver?

442


How you can switch back from a frame?

480


What are the challenges and limitations of selenium webdriver?

488


What is the difference between selenium ide, selenium rc, and webdriver?

514


What do we mean by selenium 1 and selenium 2?

508


Tell us what are the two modes of views in selenium ide?

466