Display results as :

Rechercher Advanced Search

Latest topics
» FlexMonkium Download Not available under Gorillalogic site
Thu Dec 08, 2016 5:40 pm by bhanu.praveen

» Selenium Script issue
Tue Dec 06, 2016 9:48 pm by njain213

» Difference between QTP, Selenium and Silk test
Tue Dec 06, 2016 7:58 pm by jessicacyrus1

» Where does selenium script pick browser from
Tue Dec 06, 2016 1:52 pm by janbaskt

» Safari throws an HTTP ERROR: 404
Tue Dec 06, 2016 1:51 pm by janbaskt

» Access Denied Error in Selenium RC
Tue Dec 06, 2016 1:51 pm by janbaskt

» Automating Flex application through selenium webdriver
Fri Dec 02, 2016 2:06 pm by abhinay.krs

» Starting with Selenium, what is Selenium?
Mon Nov 28, 2016 4:00 pm by Foma

» Getting started with Selenium
Mon Nov 28, 2016 3:23 pm by Rebbelx


selenium.type("id","value"); does not work

View previous topic View next topic Go down

selenium.type("id","value"); does not work

Post by sunil_sn on Sat Mar 10, 2012 2:51 am

Here is my sample code:"/test.php");





When I execute this script, I get the name field populated with but description field is skipped and OK button is clicked. Since both name and description both are text field and are mandatory field on clicking OK button the task is not completed as the description textbox is empty.

to debug I entered another line of code before selenium.type("description","TestDescription"); as


and on execution I got the value as true.

Selenium server is giving Result as OK for all the lines above but still the field is not getting populated by data

So, I added one more line


for which I get the following error:

Exception in thread "main" com.thoughtworks.selenium.SeleniumException: ERROR: E
lement description is not an input.
at com.thoughtworks.selenium.HttpCommandProcessor.throwAssertionFailureE
at com.thoughtworks.selenium.HttpCommandProcessor.doCommand(HttpCommandP
at com.thoughtworks.selenium.HttpCommandProcessor.getString(HttpCommandP
at com.thoughtworks.selenium.HttpCommandProcessor.getBoolean(HttpCommand
at com.thoughtworks.selenium.DefaultSelenium.isEditable(DefaultSelenium.

I verified the .php file and that code never mentions of uneditable or so...

Can anyone help me how to work around this??


Posts : 3
Join date : 2012-03-10

Back to top Go down

Re: selenium.type("id","value"); does not work

Post by Bhuvaneswari on Wed Mar 21, 2012 7:11 pm

I am too facing now a similar problem. selenium.type("id=ID", "VALUE"); this line of code not working for me in few places for my web page. wherein this problem is not found with Selenium IDE, there it runs properly.

Regular Participant
Regular Participant

Posts : 30
Join date : 2011-09-30
Location : India

Back to top Go down

Re: selenium.type("id","value"); does not work

Post by sunil_sn on Wed Mar 21, 2012 8:13 pm

I too am not seeing this with IDE, only with RC. I mean it works perfectly fine in selenium IDE but not in RC


Posts : 3
Join date : 2012-03-10

Back to top Go down

Re: selenium.type("id","value"); does not work

Post by Sponsored content Today at 8:10 am

Sponsored content

Back to top Go down

View previous topic View next topic Back to top

- Similar topics

Permissions in this forum:
You cannot reply to topics in this forum