Selenium Forum: Functional And Regression Testing Tool.
Would you like to react to this message? Create an account in a few clicks or log in to continue.
Search
Display results as :
Advanced Search
Latest topics
AEM Training | Free Online DemoWed Apr 21, 2021 5:45 pmazharuddin
c# PageFactory - issue initializing elementsFri Nov 01, 2019 8:40 pmthegoatboy
Selenium making automatic connection to random urlsMon Jul 08, 2019 12:58 pmrepairtechsolutions1
How can we design the custom framework in Selenium RCMon Jun 24, 2019 2:26 pmrandybonnettes
What are the new features in Selenium 3.0Tue Jun 18, 2019 5:37 pmpappyvicky
What are you using Selenium for? Fri Apr 12, 2019 3:52 amzhl
LIMITATIONS OF SELENIUMWed Apr 10, 2019 11:23 amswara
Navigation
 Portal
 Index
 Memberlist
 Profile
 FAQ
 Search

Go down
avatar
Raghavendranin
Posts : 6
Join date : 2010-07-22

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

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
avatar
metman
Amateur
Amateur
Posts : 58
Join date : 2010-04-02

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

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.
avatar
Raghavendranin
Posts : 6
Join date : 2010-07-22

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

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
avatar
Raghavendranin
Posts : 6
Join date : 2010-07-22

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

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"
avatar
metman
Amateur
Amateur
Posts : 58
Join date : 2010-04-02

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

Sat Jul 24, 2010 12:20 am
Does this automation work in Firefox?
avatar
Raghavendranin
Posts : 6
Join date : 2010-07-22

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

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 )
avatar
metman
Amateur
Amateur
Posts : 58
Join date : 2010-04-02

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

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.
avatar
Raghavendranin
Posts : 6
Join date : 2010-07-22

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

Wed Jul 28, 2010 4:12 pm
ya selenium is not recognizing the user id .
avatar
metman
Amateur
Amateur
Posts : 58
Join date : 2010-04-02

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

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.
Sponsored content

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

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