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 ? | 11 Yes | 0 No |
Post New Answer View All Answers
How can we create object repository in selenium?
What are the limitations of using selenium as a test tool?
Tell me how do perform drag and drop using selenium webdriver?
What are the advantages of pom (page object model)?
When do we use findelement() and findelements()?
What are the main advantages of selenium grid?
what is the difference between absolute path and relative path?
Is it possible to automate the captcha using selenium?
What is the selenium webdriver?
How to assert text of webpage using selenium 2.0?
Explain how you can switch between frames?
How to check if a button is enabled on the page?
What is the difference between setspeed() and sleep() methods?
How can we handle pop-ups in rc?
How to find whether an element is displayed on the web page?