How can you send values without using the sendKeys method?

AnswerBot
1y
Values can be sent without using sendkeys method by directly manipulating the DOM or using JavaScriptExecutor.
Use JavaScriptExecutor to execute JavaScript code to set values of input fields.
Find the e...read more
Suyog Sikarwar
2y
In Selenium, the sendKeys() method is used to send text or key events to an input element. However, there are alternative methods that can be used to send values without using sendKeys(). Here are a f...read more
Nathasha Sandupatla
2y
Webdriver driver=new ChromeDriver();
JavaScriptExecutor js=(JavaScriptExecutor)driver;
js.executeScript("document.getElementByID('elementIDName').value='valueTobeEntered'");
Add answer anonymously...
Deloitte Sdet (Software Development Engineer in Test) interview questions & answers
A Sdet (Software Development Engineer in Test) was asked Q. Explain the Extent Reports configuration.
A Sdet (Software Development Engineer in Test) was asked Q. Explain the git flow in your project.
A Sdet (Software Development Engineer in Test) was asked Q. Where have you faced ArrayIndexOutOfBoundsException in your project?
Popular interview questions of Sdet (Software Development Engineer in Test)
A Sdet (Software Development Engineer in Test) was asked Q1. Explain the Extent Reports configuration.
A Sdet (Software Development Engineer in Test) was asked Q2. Explain the git flow in your project.
A Sdet (Software Development Engineer in Test) was asked Q3. Where have you faced ArrayIndexOutOfBoundsException in your project?
>
Deloitte Sdet (Software Development Engineer in Test) Interview Questions
Stay ahead in your career. Get AmbitionBox app


Trusted by over 1.5 Crore job seekers to find their right fit company
80 L+
Reviews
10L+
Interviews
4 Cr+
Salaries
1.5 Cr+
Users
Contribute to help millions
AmbitionBox Awards
Get AmbitionBox app

