Search
 
 

Display results as :
 


Rechercher Advanced Search

Latest topics
» 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 IDE Verify different Maps (Hybridview, Mapview etc.)
Fri Nov 25, 2016 9:56 pm by DJ87

Navigation
 Portal
 Index
 Memberlist
 Profile
 FAQ
 Search

INFO - Got result :Error :Element (say user id) not found

View previous topic View next topic Go down

INFO - Got result :Error :Element (say user id) not found

Post by Raghavendranin on Thu Jul 22, 2010 2:25 pm

Hello,
I have been trying to run a web application by selenium rc,and browser used is iexplorer.
Everything works fine(rc will launch iexplorer),but in rc window i am getting report that i have copied below.But this problem will not appear for other sites

11:14:05.281 INFO - Launching Embedded Internet Explorer...
11:14:06.640 INFO - Launching Internet Explorer HTA...
11:14:12.546 INFO - Got result: OK,ec7b61610296456488bfedf552d06ab2 on session e
c7b61610296456488bfedf552d06ab2
11:14:12.593 INFO - Command request: open[/, ] on session ec7b61610296456488bfed
f552d06ab2
11:14:13.937 INFO - Got result: OK on session ec7b61610296456488bfedf552d06ab2
11:14:13.953 INFO - Command request: type[userid, userint5] on session ec7b61610
296456488bfedf552d06ab2
11:14:14.062 INFO - Got result: ERROR: Element userid not found on session ec7b6
1610296456488bfedf552d06ab2
11:14:14.078 INFO - Command request: type[password, pass12345] on session ec7b61
610296456488bfedf552d06ab2
11:14:14.156 INFO - Got result: ERROR: Element password not found on session ec7
b61610296456488bfedf552d06ab2
11:14:14.171 INFO - Command request: select[loginlocation, label=WAREHOUSE] on s
ession ec7b61610296456488bfedf552d06ab2
11:14:14.234 INFO - Got result: ERROR: Element loginlocation not found on sessio
n ec7b61610296456488bfedf552d06ab2
11:14:14.250 INFO - Command request: click[Submit1, ] on session ec7b61610296456
488bfedf552d06ab2
11:14:14.343 INFO - Got result: ERROR: Element Submit1 not found on session ec7b
61610296456488bfedf552d06ab2
11:14:14.343 INFO - Command request: waitForPageToLoad[100000, ] on session ec7b
61610296456488bfedf552d06ab2
11:14:37.406 INFO - Got result: OK on session ec7b61610296456488bfedf552d06ab2
11:14:37.421 INFO - Command request: click[link=Logout, ] on session ec7b6161029
6456488bfedf552d06ab2
11:14:37.484 INFO - Got result: ERROR: Element link=Logout not found on session
ec7b61610296456488bfedf552d06ab2
11:14:37.484 INFO - Command request: waitForPageToLoad[100000, ] on session ec7b
61610296456488bfedf552d06ab2
11:14:50.531 INFO - Got result: OK on session ec7b61610296456488bfedf552d06ab2
11:14:50.546 INFO - Command request: testComplete[, ] on session ec7b61610296456
488bfedf552d06ab2
11:14:50.890 INFO - Got result: OK on session ec7b61610296456488bfedf552d06ab2

Raghavendranin

Posts : 6
Join date : 2010-07-22

Back to top Go down

Re: INFO - Got result :Error :Element (say user id) not found

Post by metman on Fri Jul 23, 2010 4:20 am

Are you using a recoreded script? There's really not enough information here to provide any useful response. All I can say is that Selenium isn't able to locate the fields and buttons you are trying to manipulate, but with the information provided, it could be because you are on the wrong page, the elements don't exist with the locators you are using, or something else.

metman
Amateur
Amateur

Posts : 58
Join date : 2010-04-02

Back to top Go down

Re: INFO - Got result :Error :Element (say user id) not found

Post by Raghavendranin on Fri Jul 23, 2010 12:26 pm

Hello'
Ya i am using recorded script only.And page that selenium trying to load is also correct(that i have observed).I tried by adding a sleep of 30 seconds in the script.But it also didn't work.I am facing this problem particularly to that site only,other sites works fine.What r all information u need plz tell m..........is it any problem with that site?

Thank you

Raghavendranin

Posts : 6
Join date : 2010-07-22

Back to top Go down

Re: INFO - Got result :Error :Element (say user id) not found

Post by Raghavendranin on Fri Jul 23, 2010 1:11 pm

Hello,

And in the browser IE that selenium RC has launched,It is displaying message as "Internet Explorer Couldn't Display the Page"

Raghavendranin

Posts : 6
Join date : 2010-07-22

Back to top Go down

Re: INFO - Got result :Error :Element (say user id) not found

Post by metman on Sat Jul 24, 2010 12:20 am

Does this automation work in Firefox?

metman
Amateur
Amateur

Posts : 58
Join date : 2010-04-02

Back to top Go down

Re: INFO - Got result :Error :Element (say user id) not found

Post by Raghavendranin on Sun Jul 25, 2010 2:59 pm

Thank u very much for your response.

Now i could able to open the site which i am trying to test by selenium RC both in firefox and IE.The problem was that due to some bad settings IE dynamically trying to load different sites.
Now i am facing different problem.Plz help me.
My web application is only compatible with IE6 and higher versions.In login window there are 3 fields(userid,password,location).
I could manually login by firefox also.(even though compatibility is with IE ).But i am getting an error msg as user id not found(opens log in window correctly)on record and replaying by selenium IDE.
And the same problem i am facing in selenium RC also.(tried using both browsers firefox and IE )

Raghavendranin

Posts : 6
Join date : 2010-07-22

Back to top Go down

Re: INFO - Got result :Error :Element (say user id) not found

Post by metman on Mon Jul 26, 2010 9:01 pm

Are you saying Selenium can't find the field for userid, or your site is not recognizing the user id you are attempting to enter? These are 2 different problems.

metman
Amateur
Amateur

Posts : 58
Join date : 2010-04-02

Back to top Go down

Re: INFO - Got result :Error :Element (say user id) not found

Post by Raghavendranin on Wed Jul 28, 2010 4:12 pm

ya selenium is not recognizing the user id .

Raghavendranin

Posts : 6
Join date : 2010-07-22

Back to top Go down

Re: INFO - Got result :Error :Element (say user id) not found

Post by metman on Wed Jul 28, 2010 11:23 pm

Are you certain the page is open by the time it is trying to type? I don't really use IDE, so I don't know if it forces a waitForPageToLoad or not.

metman
Amateur
Amateur

Posts : 58
Join date : 2010-04-02

Back to top Go down

Re: INFO - Got result :Error :Element (say user id) not found

Post by Sponsored content Today at 11:03 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