Hi Guest

MobileUser

1 HomePage 1 Jobs 1 WalkIn 1Articles  

Cat Exam

 :) Latest Topic
AJAX
VB.NET
SQL Query
UDDI
CLASS
JavaScript Questions
SharePoint Interview
SilverLight
WCF
general knowledge
 ASP.NET
 :) Hot Jobs
 
 :) Latest Articles


  

 


Code to type text in a textbox using Selenium?
Question Posted on 01 Mar 2022

Home >> Testing >> Selenium >> Code to type text in a textbox using Selenium?




Code to type text in a textbox using Selenium?
We use sendKeys("String") method to enter the string in a textbox.
syntax
WebElement username = drv.findElement(By.id("txtBoxId"));
username.sendKeys("string value");
0
0



 
 Input Your Comments Or suggestions(If Any)
 Name
 Email(optional)
 Comments


Other Important Questions
Major Selenium components Lists
One main reason why Selenium 2.0 different from Selenium 3.0
Seven main reasons why should we use Selenium for test automation?
Write down seven most important features of Selenium for test automation?
Name the different Programming Language, Operating System and Browser supported by Selenium?






 
Top Searches:asp net questions vb net questions sql query uddl questions class javascript Questions sharepoint interview questions and concept silverlight questions and concept wcf questions beans general knowledge ajax questions
PHP | Biztalk | Testing | SAP | HR |