Answer Posted / grbhniti@yahoo.co.in
Hi,
By using javascriptexecutor we can perform tasks as below
I am entering text in textbox by passing ID.
JavascriptExecutor js= (JavascriptExecutor)driver;
js.executeScript("document.getElementById('vfb-9').value='Ramchandra Patil'");
Is This Answer Correct ? | 12 Yes | 0 No |
Post New Answer View All Answers
What exactly is the price of selenium test-suite?
What are the features of testng and list some of the functionality in testng which makes it more effective?
What is object repository? How can we create object repository in selenium?
What are the test types supported by selenium?
Tell us how many exceptions do you know in selenium webdriver?
How to handle a dropdown in selenium webdriver?
What kind of mouse actions can be performed in selenium?
What is the purpose of selenium ide?
Is there a way to refresh browser using selenium?
What kind of testing does selenium support?
Mention what is desired capability? How is it useful in terms of selenium?
What are the ways to refresh a browser using selenium webdriver?
How to check if a text is highlighted on the page ?
How to get a text of a web element?
How to handle hidden elements in selenium webdriver?