Selenium plugin for running tests on web

12 views
Skip to first unread message

NagaRaju dasam

unread,
Jan 27, 2011, 11:12:51 PM1/27/11
to Selenium Users
Hello,

Currently my client (a big fortune 500 client) is looking to integrate Selenium through a web interface. The user should be able to click on a script on the browser and it should be able to launch a separate window and run the test case. At the end it should be able to show it as success/failed.
Is there any plugin that has been developed/integrated with the Selenium RC. Really appreciate your help.

--
Thanks,
Naga


NeelakandanRVJ

unread,
Jan 27, 2011, 11:18:34 PM1/27/11
to seleniu...@googlegroups.com
Try to use Sauce RC

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To post to this group, send email to seleniu...@googlegroups.com.
To unsubscribe from this group, send email to selenium-user...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/selenium-users?hl=en.

NagaRaju dasam

unread,
Jan 27, 2011, 11:34:21 PM1/27/11
to seleniu...@googlegroups.com
I already created tests using Selenium RC and Java--I used Junit for that...my question is is there  any plugin to 


The user should be able to click on a script on the browser and it should be able to launch a separate window and run the test case. At the end it should be able to show it as success/failed.

Ujjal Goswami

unread,
Jan 28, 2011, 12:08:53 AM1/28/11
to seleniu...@googlegroups.com
Hi NagaRaju,
                   Can u please suggest me how to select a value from drop-down.
I have written the following statements:

selenium.select("primarySourceName","TEST_MATCHER1" ) where i want to select the value "TEST_MATCHER1" which is a table.I

am getting the following exceptions:

com.thoughtworks.selenium.SeleniumException: ERROR: Option with label 'TEST_MATCHER1' not found
    at com.thoughtworks.selenium.HttpCommandProcessor.throwAssertionFailureExceptionOrError(HttpCommandProcessor.java:97)
    at com.thoughtworks.selenium.HttpCommandProcessor.doCommand(HttpCommandProcessor.java:91)
    at com.thoughtworks.selenium.DefaultSelenium.select(DefaultSelenium.java:315)
    at com.example.tests.nonusage.testnonusage(nonusage.java:32)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at junit.framework.TestCase.runTest(TestCase.java:168)
    at junit.framework.TestCase.runBare(TestCase.java:134)
    at com.thoughtworks.selenium.SeleneseTestCase.runBare(SeleneseTestCase.java:212)
    at junit.framework.TestResult$1.protect(TestResult.java:110)
    at junit.framework.TestResult.runProtected(TestResult.java:128)
    at junit.framework.TestResult.run(TestResult.java:113)
    at junit.framework.TestCase.run(TestCase.java:124)
    at junit.framework.TestSuite.runTest(TestSuite.java:232)
    at junit.framework.TestSuite.run(TestSuite.java:227)
    at org.junit.internal.runners.OldTestClassRunner.run(OldTestClassRunner.java:76)
    at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:38)
    at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
    at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:460)
    at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:673)
    at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:386)
    at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196)

Please help me.


Thanks
UJjal

Dhanraj

unread,
Jan 28, 2011, 2:01:31 AM1/28/11
to seleniu...@googlegroups.com
Hi,

Try to use like this

selenium.select("primarySourceName", "label=TEST_MATCHER1");
Dhanaraja

Ujjal Goswami

unread,
Jan 28, 2011, 2:04:24 AM1/28/11
to seleniu...@googlegroups.com
Already tried with this,,this is also giving same exception

Thanks
Ujjal

farheen khan

unread,
Jan 28, 2011, 4:57:46 AM1/28/11
to seleniu...@googlegroups.com
give xpath expression rather than directly writing the name primarySourceName?

Farheen
http://seleniumready.blogspot.com/



Ujjal Goswami

unread,
Jan 28, 2011, 5:20:47 AM1/28/11
to seleniu...@googlegroups.com
not understood properly..can u please give me the exact syntax??

Ujjal

farheen khan

unread,
Jan 28, 2011, 6:22:23 AM1/28/11
to seleniu...@googlegroups.com
Give me the immediate parent or parent div for locating that dropdown value

Ujjal Goswami

unread,
Jan 28, 2011, 6:30:15 AM1/28/11
to seleniu...@googlegroups.com
I am giving u the IDE script..
non usage

Ujjal Goswami

unread,
Jan 28, 2011, 7:41:28 AM1/28/11
to seleniu...@googlegroups.com
Hi all,
         I am able to done that..Thanx everybody for your support
Cheers
Ujjal

Andrew

unread,
Jan 28, 2011, 12:12:41 PM1/28/11
to Selenium Users
I've built a framework like this using Selenium-RC and cron/at on
linux to schedule the tests. It's not difficult but does take some
planning.
Reply all
Reply to author
Forward
0 new messages