On 12/8/2013 4:11 AM, Sachu Sunny wrote:
> getting error as below
> Exception in thread "main" org.openqa.selenium.InvalidElementStateException: Element is disabled and
> so may not be used for actions
> Command duration or timeout: 17 milliseconds.
>
> please advice me how to resolve this.
A real user can't type text in a disabled field and neither can WebDriver. You either
need to:
- perform the action that a human would perform in order to enable the field
- or, if a human CAN type the text in the field, you probably have the wrong
element. You need to find the correct element.
Chris
--
------------------------------------------------------------------------ -
Chris Merrill | Web Performance, Inc.
ch...@webperformance.com |
http://webperformance.com
919-433-1762 |
919-845-7601
Web Performance: Website Load Testing Software & Services
------------------------------------------------------------------------ -