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
sallu.iet
Active particpant
Active particpant
Posts : 24
Join date : 2010-04-21

Selenium-RC Test suite issue Empty Selenium-RC Test suite issue

Wed Apr 21, 2010 1:04 pm
Hi every one i am getting an error but i am not able to come out of
the error as i am beginner here in this field, for running a test
suite
i have created a bat file and storing a result in the results .html
below is the code

----------------------------------------------------------------------------------------------------------
echo @off
java -jar C:\selenium-remote-control-1.0.3(2)\selenium-
server-1.0.3\selenium-server.jar -htmlSuite "iexploreproxy" "http://
www.google.com" "C:/seleniumtestcase/suite.html" "C:/seleniumtestcase/
results.htm"
pause
----------------------------------------------------------------------------------------------------------

After double click the bat file i am getting the Test suite results
but it is failed it is saying "Command execution failure. Please
search the forum at http://clearspace.openqa.org for error details
from the log window. The error message is: Permission denied"
in the type row.



Below is the error i am getting in the results.html you can see this
for your reference.

---------------------------------------------------------------------------------------------------------------------------------------------------------
Test suite results
result: failed
totalTime: 30
numTestTotal: 2
numTestPasses: 0
numTestFailures: 2
numCommandPasses: 0
numCommandFailures: 1
numCommandErrors: 2
Selenium Version: 2.0
Selenium Revision: a1
A Suite of Selenese Tests
Google For Selenium RC
Teaching For Child Selenium RC

seleniumThird.htm
seleniumThird
open /firefox?client=firefox-a&rls=org.mozilla:en-US:official Timed
out after 30000ms
type sf Command execution failure. Please search the forum at
http://clearspace.openqa.org for error details from the log window.
The error message is: Permission denied
clickAndWait btnG
clickAndWait //div[@id='res']/div/ol/li[2]/h3/a/em[2]
verifyTextPresent popular

howto_teach_child.htm
howto_teach_child
open / Command execution failure. Please search the forum at
http://clearspace.openqa.org for error details from the log window.
The error message is: Permission denied
click q
type q how to teach a child to read
selectWindow null
type q advantages of selenium tool


info: Starting test /selenium-server/tests/seleniumThird.htm
info: Executing: |open | /firefox?client=firefox-a&rls=org.mozilla:en-
US:official | |
info: onXhrStateChange(): xhr.readyState = 1 method = HEAD time =
1271760024421
info: onXhrStateChange(): xhr.readyState = 1 method = HEAD time =
1271760024421
info: onXhrStateChange(): xhr.readyState = 4 method = HEAD time =
1271760024687
warn: currentTest.recordFailure: Timed out after 30000ms
info: Executing: |type | sf | selenium wikipedia |
error: Unexpected Exception: Permission denied
error: Exception details: name -> Error, number -> -2146828218,
description -> Permission denied, message -> Permission denied
warn: currentTest.recordFailure: Command execution failure. Please
search the forum at http://clearspace.openqa.org for error details
from the log window. The error message is: Permission denied
info: Starting test /selenium-server/tests/howto_teach_child.htm
info: Executing: |open | / | |
error: Unexpected Exception: Permission denied
error: Exception details: name -> Error, number -> -2146828218,
description -> Permission denied, message -> Permission denied
warn: currentTest.recordFailure: Command execution failure. Please
search the forum at http://clearspace.openqa.org for error details
from the log window. The error message is: Permission denied

----------------------------------------------------------------------------------------------------------------------------------------------------------

i am sending you the bat file failure below
--------------------------------------------------------------------------------------------------------------------------------

C:\>echo @off
@off

C:\>java -jar C:\selenium-remote-control-1.0.3(2)\selenium-
server-1.0.3\selenium
-server.jar -htmlSuite "iexploreproxy" "http://www.google.com" "C:/
seleniumtestc
ase/suite.html" "C:/seleniumtestcase/results.htm"
17:23:28.578 INFO - Java: Sun Microsystems Inc. 16.0-b13
17:23:28.578 INFO - OS: Windows XP 5.1 x86
17:23:28.593 INFO - v2.0 [a2], with Core v2.0 [a2]
17:23:28.718 INFO - RemoteWebDriver instances should connect to:
http://127.0.0.
1:4444/wd/hub
17:23:28.718 INFO - Version Jetty/5.1.x
17:23:28.734 INFO - Started HttpContext[/selenium-server/driver,/
selenium-server
/driver]
17:23:28.734 INFO - Started HttpContext[/selenium-server,/selenium-
server]
17:23:28.734 INFO - Started HttpContext[/,/]
17:23:28.828 INFO - Started
org.openqa.jetty.jetty.servlet.ServletHandler@17590d
b
17:23:28.828 INFO - Started HttpContext[/wd,/wd]
17:23:28.828 INFO - Started SocketListener on 0.0.0.0:4444
17:23:28.828 INFO - Started org.openqa.jetty.jetty.Server@110d81b
17:23:29.078 INFO - Backing up registry settings...
17:23:29.765 INFO - Modifying registry settings...
17:23:30.343 INFO - Launching Internet Explorer...
17:23:31.390 INFO - Checking Resource aliases
17:24:06.921 INFO - Checking Resource aliases
17:24:06.921 INFO - Received posted results
17:24:07.359 INFO - Restoring registry settings (won't affect running
browsers).
..
Tests failed, see result file for details: C:\seleniumtestcase
\results.htm
17:24:08.218 INFO - Shutting down...

C:\>pause
Press any key to continue . . .
--------------------------------------------------------------------------------------------------------------------------------
any help will be appreciated
Thanks
salmaan
avatar
metman
Amateur
Amateur
Posts : 58
Join date : 2010-04-02

Selenium-RC Test suite issue Empty Re: Selenium-RC Test suite issue

Wed Apr 21, 2010 11:50 pm
Are you running as an admin user? I'm assuming you are in Windows XP or later. Try right clicking and running as admin. My guess is that your user doesn't have rights to launch ie from the command line/script by default.
avatar
sallu.iet
Active particpant
Active particpant
Posts : 24
Join date : 2010-04-21

Selenium-RC Test suite issue Empty Re: Selenium-RC Test suite issue

Mon Apr 26, 2010 5:10 pm
Hi metman thanks for replying i am using windows xp ,actually after double clicking the bat file IE launches but the after IE launch it is showing the error as in the above post.. Crying or Very sad
waiting for your reply....
avatar
metman
Amateur
Amateur
Posts : 58
Join date : 2010-04-02

Selenium-RC Test suite issue Empty Re: Selenium-RC Test suite issue

Mon Apr 26, 2010 11:58 pm
If you are trying to run in IE, this line doesn't make much sense:

open /firefox?client=firefox-a&rls=org.mozilla:en-US:official Timed
out after 30000ms

It looks like somewhere you are using a firefox-specific URL, possibly in your script configuration. I'm not sure where that would be in the setup you have, but I'd suggest finding that and try switching it to something generic like about:blank or www.google.com.
avatar
sallu.iet
Active particpant
Active particpant
Posts : 24
Join date : 2010-04-21

Selenium-RC Test suite issue Empty Re: Selenium-RC Test suite issue

Tue Apr 27, 2010 12:22 pm
Thanks for replying metman, actually this code runs fine for firefox but when i am running the same code for IE ,only we have to change is instead of "*firefox" we have to use "iexploreproxy" for IE ,as i have shown in the bat file, but i am not getting the right output , for IE the output i have shown above, as i m beginner in selenium, i am not able to understand quickly.....pls help me waiting for your reply
avatar
metman
Amateur
Amateur
Posts : 58
Join date : 2010-04-02

Selenium-RC Test suite issue Empty Re: Selenium-RC Test suite issue

Wed Apr 28, 2010 12:04 am
You changed your browser type, but you didn't change your base URL. In Java, you do that through one of the params to the setUp method. In the IDE, there is a text box at the top of the window to set your base URL. Your base URL appears to be /firefox?client=firefox-a&rls=org.mozilla:en-US:official which is valid in Firefox (which is why it works there) but is invalid in IE (which is why it doesn't work there). You need to switch that to a universally valid URL like www.google.com or whatever website you are using.
avatar
sallu.iet
Active particpant
Active particpant
Posts : 24
Join date : 2010-04-21

Selenium-RC Test suite issue Empty Re: Selenium-RC Test suite issue

Wed Apr 28, 2010 1:02 pm
Hi metman Thanks for replying
According to your post have made some changes in the bat file instead of "http://www.google.com" i have change it to "http://www.google.co.in" becoz in IE the URL contains "http://www.google.co.in/firefox?client=firefox-a&rls=org.mozilla:en-US:official" in the browser,
and also i have pasted the whole URL in the place of "http://www.google.com" by making these changes it is moving forward than earlier. but giving failure report.

i have created a bat file and storing a result in the results .html
below is the code for bat file.

----------------------------------------------------------------------------------------------------------
echo @off
java -jar C:\selenium-remote-control-1.0.3(2)\selenium-server-1.0.3\selenium-server.jar -htmlSuite "iexploreproxy" "http://www.google.co.in" "C:/seleniumtestcase/suite.html" "C:/seleniumtestcase/results.htm"
pause
----------------------------------------------------------------------------------------------------------

After double click the bat file i am getting the Test suite results
but it is failed it is saying "Command execution failure. Please
search the forum at http://clearspace.openqa.org for error details
from the log window. The error message is: Permission denied"
in the type row.



Below is the error i am getting in the results.html you can see this
for your reference.

---------------------------------------------------------------------------------------------------------------------------------------------------------
Test suite results
result: failed
totalTime: 35
numTestTotal: 2
numTestPasses: 0
numTestFailures: 2
numCommandPasses: 0
numCommandFailures: 1
numCommandErrors: 2
Selenium Version: 2.0
Selenium Revision: a1
A Suite of Selenese Tests
Google For Selenium RC
Teaching For Child Selenium RC

seleniumThird.htm
seleniumThird
open /firefox?client=firefox-a&rls=org.mozilla:en-US:official
type sf selenium wikipedia
clickAndWait btnG
clickAndWait //div[@id='res']/div/ol/li[2]/h3/a/em[2] Timed out after 30000ms
verifyTextPresent popular Command execution failure. Please search the forum at http://clearspace.openqa.org for error details from the log window. The error message is: Permission denied

howto_teach_child.htm
howto_teach_child
open / Command execution failure. Please search the forum at http://clearspace.openqa.org for error details from the log window. The error message is: Permission denied
click q
type q how to teach a child to read
selectWindow null
type q advantages of selenium tool


info: Starting test /selenium-server/tests/seleniumThird.htm
info: Executing: |open | /firefox?client=firefox-a&rls=org.mozilla:en-US:official | |
info: onXhrStateChange(): xhr.readyState = 1 method = HEAD time = 1272449069718
info: onXhrStateChange(): xhr.readyState = 1 method = HEAD time = 1272449069718
info: onXhrStateChange(): xhr.readyState = 2 method = HEAD time = 1272449072765
info: onXhrStateChange(): xhr.readyState = 3 method = HEAD time = 1272449072765
info: onXhrStateChange(): xhr.readyState = 4 method = HEAD time = 1272449072765
info: Executing: |type | sf | selenium wikipedia |
info: Executing: |clickAndWait | btnG | |
info: Executing: |clickAndWait | //div[@id='res']/div/ol/li[2]/h3/a/em[2] | |
warn: currentTest.recordFailure: Timed out after 30000ms
info: Executing: |verifyTextPresent | popular | |
error: Unexpected Exception: Permission denied
error: Exception details: name -> Error, number -> -2146828218, description -> Permission denied, message -> Permission denied
warn: currentTest.recordFailure: Command execution failure. Please search the forum at http://clearspace.openqa.org for error details from the log window. The error message is: Permission denied
info: Starting test /selenium-server/tests/howto_teach_child.htm
info: Executing: |open | / | |
error: Unexpected Exception: Permission denied
error: Exception details: name -> Error, number -> -2146828218, description -> Permission denied, message -> Permission denied
warn: currentTest.recordFailure: Command execution failure. Please search the forum at http://clearspace.openqa.org for error details from the log window. The error message is: Permission denied


----------------------------------------------------------------------------------------------------------------------------------------------------------

i am sending you the bat file failure below
--------------------------------------------------------------------------------------------------------------------------------

C:\>echo @off
@off

C:\>java -jar C:\selenium-remote-control-1.0.3(2)\selenium-server-1.0.3\selenium
-server.jar -htmlSuite "iexploreproxy" "http://www.google.co.in" "C:/seleniumtes
tcase/suite.html" "C:/seleniumtestcase/results.htm"
15:24:24.828 INFO - Java: Sun Microsystems Inc. 16.0-b13
15:24:24.828 INFO - OS: Windows XP 5.1 x86
15:24:24.843 INFO - v2.0 [a2], with Core v2.0 [a2]
15:24:24.968 INFO - RemoteWebDriver instances should connect to: http://127.0.0.
1:4444/wd/hub
15:24:24.968 INFO - Version Jetty/5.1.x
15:24:24.968 INFO - Started HttpContext[/selenium-server/driver,/selenium-server
/driver]
15:24:24.968 INFO - Started HttpContext[/selenium-server,/selenium-server]
15:24:24.968 INFO - Started HttpContext[/,/]
15:24:25.062 INFO - Started org.openqa.jetty.jetty.servlet.ServletHandler@17943a
4
15:24:25.078 INFO - Started HttpContext[/wd,/wd]
15:24:25.078 INFO - Started SocketListener on 0.0.0.0:4444
15:24:25.078 INFO - Started org.openqa.jetty.jetty.Server@dbe178
15:24:25.343 INFO - Backing up registry settings...
15:24:26.046 INFO - Modifying registry settings...
15:24:26.609 INFO - Launching Internet Explorer...
15:24:27.656 INFO - Checking Resource aliases
15:25:10.171 INFO - Checking Resource aliases
15:25:10.171 INFO - Received posted results
15:25:10.625 INFO - Restoring registry settings (won't affect running browsers).
..
Tests failed, see result file for details: C:\seleniumtestcase\results.htm
15:25:11.468 INFO - Shutting down...

C:\>pause
Press any key to continue . . .
--------------------------------------------------------------------------------------------------------------------------------

Please tell me what to do if i am wrong.Selenium-RC Test suite issue Icon_cry
avatar
metman
Amateur
Amateur
Posts : 58
Join date : 2010-04-02

Selenium-RC Test suite issue Empty Re: Selenium-RC Test suite issue

Wed Apr 28, 2010 11:34 pm
The line:

info: Executing: |open | /firefox?client=firefox-a&rls=org.mozilla:en-US:official | |

suggests to me that your test is hard coded to go to the Firefox homepage. Try tweaking your test script so that it doesn't try to hit this URL any more.
avatar
sallu.iet
Active particpant
Active particpant
Posts : 24
Join date : 2010-04-21

Selenium-RC Test suite issue Empty Re: Selenium-RC Test suite issue

Thu Apr 29, 2010 1:13 pm
Hi metman thanks for replying, actually this line comes by it self i have not hard coded to go to the Firefox homepage. i have tried for some other url than the "http://www.google.co.in" but the results is same it runs safely in firefox but failure in IE, below i am sending all the details please go through it


i have created a bat file and storing a result in the results .html
below is the code for bat file.

----------------------------------------------------------------------------------------------------------
echo @off
java -jar C:\selenium-remote-control-1.0.3(2)\selenium-server-1.0.3\selenium-server.jar -htmlSuite "iexploreproxy" "http://timesofindia.indiatimes.com/" "C:/seleniumtestcase/suite111.html" "C:/seleniumtestcase/results.htm"
pause
----------------------------------------------------------------------------------------------------------

After double click the bat file i am getting the Test suite results
but it is failed it is saying "Command execution failure. Please
search the forum at http://clearspace.openqa.org for error details
from the log window. The error message is: Permission denied"
in the type row.



Below is the error i am getting in the results.html you can see this
for your reference.

---------------------------------------------------------------------------------------------------------------------------------------------------------
Test suite results
result: failed
totalTime: 30
numTestTotal: 1
numTestPasses: 0
numTestFailures: 1
numCommandPasses: 0
numCommandFailures: 1
numCommandErrors: 1
Selenium Version: 2.0
Selenium Revision: a1
A Suite of Selenese Tests
Times Selenium RC

times.html
times
open / Timed out after 30000ms
clickAndWait link=China to build two Pak nuclear reactors Command execution failure. Please search the forum at http://clearspace.openqa.org for error details from the log window. The error message is: Permission denied
click //div[@id='storydiv']/div[2]
verifyTextPresent completed


info: Starting test /selenium-server/tests/times.html
info: Executing: |open | / | |
info: onXhrStateChange(): xhr.readyState = 1 method = HEAD time = 1272520844843
info: onXhrStateChange(): xhr.readyState = 1 method = HEAD time = 1272520844843
info: onXhrStateChange(): xhr.readyState = 2 method = HEAD time = 1272520845000
info: onXhrStateChange(): xhr.readyState = 3 method = HEAD time = 1272520845000
info: onXhrStateChange(): xhr.readyState = 4 method = HEAD time = 1272520845000
warn: currentTest.recordFailure: Timed out after 30000ms
info: Executing: |clickAndWait | link=China to build two Pak nuclear reactors | |
error: Unexpected Exception: Permission denied
error: Exception details: name -> Error, number -> -2146828218, description -> Permission denied, message -> Permission denied
warn: currentTest.recordFailure: Command execution failure. Please search the forum at http://clearspace.openqa.org for error details from the log window. The error message is: Permission denied


----------------------------------------------------------------------------------------------------------------------------------------------------------

i am sending you the bat file failure below
--------------------------------------------------------------------------------------------------------------------------------

C:\>echo @off
@off

C:\>java -jar C:\selenium-remote-control-1.0.3(2)\selenium-server-1.0.3\selenium
-server.jar -htmlSuite "iexploreproxy" "http://timesofindia.indiatimes.com/" "C:
/seleniumtestcase/suite111.html" "C:/seleniumtestcase/results.htm"
11:30:36.890 INFO - Java: Sun Microsystems Inc. 16.0-b13
11:30:36.890 INFO - OS: Windows XP 5.1 x86
11:30:36.906 INFO - v2.0 [a2], with Core v2.0 [a2]
11:30:37.031 INFO - RemoteWebDriver instances should connect to: http://127.0.0.
1:4444/wd/hub
11:30:37.046 INFO - Version Jetty/5.1.x
11:30:37.046 INFO - Started HttpContext[/selenium-server/driver,/selenium-server
/driver]
11:30:37.046 INFO - Started HttpContext[/selenium-server,/selenium-server]
11:30:37.046 INFO - Started HttpContext[/,/]
11:30:37.140 INFO - Started org.openqa.jetty.jetty.servlet.ServletHandler@17943a
4
11:30:37.140 INFO - Started HttpContext[/wd,/wd]
11:30:37.140 INFO - Started SocketListener on 0.0.0.0:4444
11:30:37.140 INFO - Started org.openqa.jetty.jetty.Server@dbe178
11:30:37.390 INFO - Backing up registry settings...
11:30:38.031 INFO - Modifying registry settings...
11:30:38.640 INFO - Launching Internet Explorer...
11:30:39.687 INFO - Checking Resource aliases
11:31:15.078 INFO - Checking Resource aliases
11:31:15.078 INFO - Received posted results
11:31:15.656 INFO - Restoring registry settings (won't affect running browsers).
..
Tests failed, see result file for details: C:\seleniumtestcase\results.htm

C:\>pause
Press any key to continue . . .
--------------------------------------------------------------------------------------------------------------------------------

Please tell me what to do if i am wrong. Selenium-RC Test suite issue Icon_cry
avatar
metman
Amateur
Amateur
Posts : 58
Join date : 2010-04-02

Selenium-RC Test suite issue Empty Re: Selenium-RC Test suite issue

Fri Apr 30, 2010 12:43 am
Please copy the contents of C:
/seleniumtestcase/suite111.html to the forum. Can't really tell you exactly what is failing from the bat /output level. Though I would point out that your script will likely stop working anyway, as it relies on a link on the Times of India website remaining static, even though the site's links change dynamically.
avatar
sallu.iet
Active particpant
Active particpant
Posts : 24
Join date : 2010-04-21

Selenium-RC Test suite issue Empty Re: Selenium-RC Test suite issue

Fri Apr 30, 2010 12:03 pm
Hi metman thanks for replying below i am sending you the code for suite111.html , waiting for your reply
Code:

<html>
<body>
    <table>
        <thead>
            <tr><td>A Suite of Selenese Tests</td></tr>
        </thead>
    <tbody>
        <tr><td><a href="times.html">Times Selenium RC</a></td></tr>
    </tbody>
    </table>
</body>
</html>
times.html file is the file which i have recorded through the selenium Ide below is the saved file
times
open /
clickAndWait link=China to build two Pak nuclear reactors
click //div[@id='storydiv']/div[2]
verifyTextPresent completed
avatar
metman
Amateur
Amateur
Posts : 58
Join date : 2010-04-02

Selenium-RC Test suite issue Empty Re: Selenium-RC Test suite issue

Fri Apr 30, 2010 11:03 pm
'open /' will open your base URL in the browser. Whatever your base URL is set to is what is important. Also, as I mentioned before, that link will likely not work anymore, as the Times of India site is dynamic. I'm pretty sure your problem all still comes down to your base URL.
avatar
sallu.iet
Active particpant
Active particpant
Posts : 24
Join date : 2010-04-21

Selenium-RC Test suite issue Empty Re: Selenium-RC Test suite issue

Mon May 03, 2010 3:24 pm
Thanks for replying metman , actually you are right there was problem with base URL, i have checked for other url and it is running in Firefox and IE perfectly. I have checked for "https://seleniumforum.forumotion.net/selenium-rc-discussion-f4/selenium-rc-test-suite-issue-t200.htm" base url and getting the output passed

Test suite results



result:passed
totalTime:9
numTestTotal:1
numTestPasses:1
numTestFailures:0
numCommandPasses:1
numCommandFailures:0
numCommandErrors:0
Selenium Version:2.0
Selenium Revision:a1






A Suite of Selenese Tests
Forum Selenium RC
seleniumforum.html













seleniumforum
open/selenium-rc-discussion-f4/selenium-rc-test-suite-issue-t200.htm
verifyTextPresentclickAndWait
info: Starting test /selenium-server/tests/seleniumforum.html
info: Executing: |open | /selenium-rc-discussion-f4/selenium-rc-test-suite-issue-t200.htm | |
info: onXhrStateChange(): xhr.readyState = 1 method = HEAD time = 1272874554697
info: onXhrStateChange(): xhr.readyState = 1 method = HEAD time = 1272874554697
info: onXhrStateChange(): xhr.readyState = 2 method = HEAD time = 1272874555508
info: onXhrStateChange(): xhr.readyState = 3 method = HEAD time = 1272874555508
info: onXhrStateChange(): xhr.readyState = 4 method = HEAD time = 1272874555508
info: Executing: |verifyTextPresent | clickAndWait | |
avatar
sallu.iet
Active particpant
Active particpant
Posts : 24
Join date : 2010-04-21

Selenium-RC Test suite issue Empty Re: Selenium-RC Test suite issue

Mon May 03, 2010 6:02 pm
Hey metman i want know difference between the Timed out and totalTime what exactly their meaning relate to selenium test case
---------------------------------------------------------------------
Test suite results
result: failed
totalTime: 45
numTestTotal: 2
numTestPasses: 0
numTestFailures: 2
numCommandPasses: 0
numCommandFailures: 1
numCommandErrors: 2
Selenium Version: 2.0
Selenium Revision: a1
A Suite of Selenese Tests
Google For Selenium RC
Teaching For Child Selenium RC

seleniumThird.htm
seleniumThird
open /firefox?client=firefox-a&rls=org.mozilla:en-US:official
type sf selenium wikipedia
clickAndWait btnG
clickAndWait //div[@id='res']/div/ol/li[2]/h3/a/em[2] Timed out after 30000ms
--------------------------------------------------------------------------------
here in the above test case totalTime: 45 and the Timed out after 30000ms .Is the time diffrence between the Timed out and total time is the cause of error...i mean to say that Total time should be less than Timed out ,if it is so then how to adjust the totalTime and Timed out Please reply me..
avatar
metman
Amateur
Amateur
Posts : 58
Join date : 2010-04-02

Selenium-RC Test suite issue Empty Re: Selenium-RC Test suite issue

Mon May 03, 2010 11:11 pm
I believe total time is the time the entire test took to run. Timeout is the time it took for an individual command (usually one that results in a page load) to complete. At least in Java, you can actually manually configure each individual wait time if you want to.
avatar
sallu.iet
Active particpant
Active particpant
Posts : 24
Join date : 2010-04-21

Selenium-RC Test suite issue Empty Re: Selenium-RC Test suite issue

Tue May 04, 2010 8:06 pm
Thanks for replying metman , can you tell me when to use selenium-rc with eclipse, and what is the need to test with eclipse.Waiting for replying..
avatar
metman
Amateur
Amateur
Posts : 58
Join date : 2010-04-02

Selenium-RC Test suite issue Empty Re: Selenium-RC Test suite issue

Tue May 04, 2010 11:09 pm
Where I'm at, we use IntelliJ as our IDE. You need to include the selenium and jUnit libraries in your project in order to utilize selenium. In addition, you need to have selenium RC server running on either localhost or a remote machine to run your tests. There are tutorials to be found through Google for all these things.
avatar
sallu.iet
Active particpant
Active particpant
Posts : 24
Join date : 2010-04-21

Selenium-RC Test suite issue Empty Re: Selenium-RC Test suite issue

Mon May 10, 2010 6:54 pm
Hey metman , i am back after some days i have a question as you know that i am beginner using selenium tool , as i wanted to learn how to test the database using these tool. If you have any link where i will get the details please paste that URL..waiting for your reply .
avatar
metman
Amateur
Amateur
Posts : 58
Join date : 2010-04-02

Selenium-RC Test suite issue Empty Re: Selenium-RC Test suite issue

Mon May 10, 2010 11:25 pm
Selenium itself doesn't really test directly in to databases. It is by definition a browser UI runner. However, since you are using Java, you can use JDBC and other Java functionality to link in to databases for your testing.
avatar
sallu.iet
Active particpant
Active particpant
Posts : 24
Join date : 2010-04-21

Selenium-RC Test suite issue Empty Re: Selenium-RC Test suite issue

Wed May 12, 2010 3:57 pm
Hi Metman
Thanks for replying , i want to learn test selenium rc with TestNG using Ecilipse can u tell me..How to start testing selenium rc with TestNG or JUnit.Waiting for your reply

avatar
amitbyte
Posts : 3
Join date : 2010-05-19
http://automation123.blogspot.in/

Selenium-RC Test suite issue Empty Re: Selenium-RC Test suite issue

Wed May 19, 2010 3:09 am
try this link,
http://automation123.blogspot.in/2010/05/selenium-for-functional-testing.html


Last edited by amitbyte on Mon Apr 23, 2012 4:59 pm; edited 1 time in total
avatar
sallu.iet
Active particpant
Active particpant
Posts : 24
Join date : 2010-04-21

Selenium-RC Test suite issue Empty Re: Selenium-RC Test suite issue

Fri May 21, 2010 4:25 pm
Thanks amitbyte,

Actually i am using "selenium-remote-control-1.0.3" and you have send me “selenium-remote-control-1.0.1” and the configuration is diffrent in both the selenium server for JUnit and testNG , I am sending below a link which is showing how to cofigure with JUnit ..
http://www.scribd.com/doc/27530147/Selenium-Simplified-Junit-Preview?secret_password=&autodown=pdf
From the above link i am able to do the testing the Junit fine ..But cannot test with testNG... Selenium-RC Test suite issue Icon_cry as i am not getting the point...

i have both "selenium-remote-control-1.0.3" and “selenium-remote-control-1.0.1” in my computer.
But when i am using ur link i am confusing about some point which i have given below

Under topic Selenium RC using Eclipse and TestNG written "copy testng-5.11-jdk14.jar and testng-5.11-jdk15.jar " from where i should copy these files .

Under topic Selenium RC using Eclipse and Junit written Select both jar files “junit.jar” and “selenium-java-client-driver.jar” only “selenium-java-client-driver.jar” is available not the "junit.jar" from selenium-remote-control-1.0.1

so i am not able to move forward .. please help me...

waiting for ur reply...
avatar
amitbyte
Posts : 3
Join date : 2010-05-19
http://automation123.blogspot.in/

Selenium-RC Test suite issue Empty Re: Selenium-RC Test suite issue

Sat May 22, 2010 4:46 am
Sallu,
You can find testng-5.11-jdk14.jar testng-5.11-jdk15.jar from
http://grepcode.com/snapshot/repo1.maven.org/maven2/org.testng/testng/5.11

also junit-4.8.2.jar can be downloaded from

http://github.com/KentBeck/junit/downloads
avatar
sallu.iet
Active particpant
Active particpant
Posts : 24
Join date : 2010-04-21

Selenium-RC Test suite issue Empty Re: Selenium-RC Test suite issue

Tue May 25, 2010 12:31 pm
Thanks amitbyte for replying
avatar
sallu.iet
Active particpant
Active particpant
Posts : 24
Join date : 2010-04-21

Selenium-RC Test suite issue Empty Re: Selenium-RC Test suite issue

Wed May 26, 2010 4:08 pm
Hi
I want to create test report for JUnit test .I have seen this below link which is given in the selenium.org but unable to understand waiting for the reply. Help me as i am beginner in selenium test. Help me out.

http://ant.apache.org/manual/OptionalTasks/junitreport.html
Sponsored content

Selenium-RC Test suite issue Empty Re: Selenium-RC Test suite issue

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