- Raghavendranin
- Posts : 6
Join date : 2010-07-22
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
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
- metmanAmateur
- Posts : 58
Join date : 2010-04-02
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.
- Raghavendranin
- Posts : 6
Join date : 2010-07-22
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
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
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"
And in the browser IE that selenium RC has launched,It is displaying message as "Internet Explorer Couldn't Display the Page"
- metmanAmateur
- Posts : 58
Join date : 2010-04-02
Re: INFO - Got result :Error :Element (say user id) not found
Sat Jul 24, 2010 12:20 am
Does this automation work in Firefox?
- Raghavendranin
- Posts : 6
Join date : 2010-07-22
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 )
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 )
- metmanAmateur
- Posts : 58
Join date : 2010-04-02
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.
- Raghavendranin
- Posts : 6
Join date : 2010-07-22
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 .
- metmanAmateur
- Posts : 58
Join date : 2010-04-02
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.
- Element not found error and quits in explorer / runs in firefox
- Issue: com.thoughtworks.selenium.SeleniumExcepion: ERROR Server Exception: A result was unexpectedly found in the result holdr
- How to resolve this error---->[error] Element id=ui-active-menuitem not found
- [error] Element name=fldname_entity not found
- Reason for the error occurrence - "Element Not Found"
Permissions in this forum:
You cannot reply to topics in this forum