Re: Selenium plug-in not working

View: New views
3 Messages — Rating Filter:   Alert me  

Parent Message unknown Re: Selenium plug-in not working

by jameleon-users mailing list :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Satish,

This might due the version of the browser you are trying to automate. Selenium-RC has been slow with officially supporting some of the newer browser versions.
Which browser and version are you trying to automate?

-Christian



----- Original Message ----
From: "satishingle2005@..." <satishingle2005@...>
To: engrean@...
Sent: Thursday, January 8, 2009 7:16:26 AM
Subject: Re: click on image at specific place... or is there any way that i can make use of selenium tags inside the jiffie session tags

hi all,

I am using Jameleon 3.3 RC1 with jdk1.5. I have copied selenium plug-ins to my working Jameleon lib folder.
I have written a simple script using selenium tags. But when I execute this script from jameleon, I get following error:

>>>>>>>>>>>>>>>
com.thoughtworks.selenium.SeleniumException: Internal Server Error
    at com.thoughtworks.selenium.HttpCommandProcessor.getCommandResponse(HttpCommandProcessor.java:124)
    at com.thoughtworks.selenium.HttpCommandProcessor.executeCommandOnServlet(HttpCommandProcessor.java:82)
    at com.thoughtworks.selenium.HttpCommandProcessor.doCommand(HttpCommandProcessor.java:68)
    at com.thoughtworks.selenium.DefaultSelenium.open(DefaultSelenium.java:222)
    at net.sf.jameleon.plugin.selenium.SeleniumSessionTag.startApplication(SeleniumSessionTag.java:305)
    at net.sf.jameleon.SessionTag.doTag(SessionTag.java:172)
    at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:262)
    at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
    at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:186)
    at net.sf.jameleon.TestCaseTag.invokeChildren(TestCaseTag.java:816)
    at net.sf.jameleon.TestCaseTag$1.run(TestCaseTag.java:1023)
    at net.sf.jameleon.TestCaseTag.executeBody(TestCaseTag.java:1076)
    at net.sf.jameleon.TestCaseTag.executeNoCSV(TestCaseTag.java:1021)
    at net.sf.jameleon.TestCaseTag.doTag(TestCaseTag.java:968)
    at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:262)
    at org.apache.commons.jelly.JellyContext.runScript(JellyContext.java:706)
    at org.apache.commons.jelly.JellyContext.runScript(JellyContext.java:670)
    at org.apache.commons.jelly.JellyContext.runScript(JellyContext.java:579)
    at net.sf.jameleon.ExecuteTestCase.runScript(ExecuteTestCase.java:345)
    at net.sf.jameleon.ui.TestCasePane$ExecuteButtonAction$2.run(TestCasePane.java:279)

<<<<<<<<<<<<<<

kindly help me in this matter.

thanks in advance,


Satish

Christian Hargraves-3 wrote:

>
> There is no way intermix plug-in tags since each plug-in interacts with
> your application in a different way. You might be able to interchange the
> Jiffie plug-in and the Watij plug-in, but this hasn't even been attempted.
> Try posting to the Jiffie mailing list about clicking on a specific area
> in an image.
>
> Regards,
> Christian
>
> ----- Original Message ----
> From: kuttypaiya <kutty_paiya@...>
> To: jameleon-developers@...
> Sent: Wednesday, January 2, 2008 10:13:27 AM
> Subject: [Jameleon-developers] click on image at specific place... or is
> there any way that i can make use of selenium tags inside the jiffie
> session tags
>
>
>
> Hi,
>
> I need to click on image at specific place (may be the center of the
>  image
> or may be intersection of certain row and column of image).
>
> I have gone through the jameleon jiffie tag and i could not find a tag
>  that
> will do this. But i found a tag called selenium-click-at on selenium
> plug-in. But i do not know how to call selenium tags inside/in between
> jiffie session tags.
>
> So, i tried something like this.........
>
> <jm:testcase xmlns:jm="jelly:jameleon" xmlns:sel="jelly:jameleon"
> trace="true">
> <jm:ie-session baseUrl="${BaseURL}" beginSession="true">
>    ...................
>    .................. jiffie tags goes here ........
>
>   then i called selenium tag (to test the jiffie and selenium
>  integration
> within jiffie session tag).
>
>    <sel:selenium-click  functionId="Click on submit button"
> precondition="from=0" locator="value=Submit"  functionDelay="300"/>
>
> </jm:ie-session>
>
>
> But the problem is that when i try to call this selenium-click-at
>  selenium
> tag in-between the jiffie session tag, i am getting error ... something
>  like
>
> Run_jiffie_selenium.xml:11:64: <sel:selenium-click> Can only
>  execute
> an Selenium function tags under the Selenium session tag (
>  selenium-session
> )! Please change the session tag surrounding function point
> net.sf.jameleon.plugin.selenium.tags.SeleniumClickTag.
>
> is there any way that i can make use of selenium tags inside the jiffie
> session tags.
>
> Thanks
>
> Kutty Paiya.
>
>
>
>
> --
> View this message in context:
>
> http://www.nabble.com/click-on-image-at-specific-place...-or-is-there-any-way-that-i-can-make-use-of-selenium-tags-inside-the-jiffie-session-tags-tp14582009p14582009.html
> Sent from the jameleon-developers mailing list archive at Nabble.com.
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2005.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> Jameleon-developers mailing list
> Jameleon-developers@...
> https://lists.sourceforge.net/lists/listinfo/jameleon-developers
>
>
>
>
>
>      
> ____________________________________________________________________________________
> Be a better friend, newshound, and
> know-it-all with Yahoo! Mobile.  Try it now.
> http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ 
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2005.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> Jameleon-developers mailing list
> Jameleon-developers@...
> https://lists.sourceforge.net/lists/listinfo/jameleon-developers
>
>
Quoted from:
http://www.nabble.com/click-on-image-at-specific-place...-or-is-there-any-way-that-i-can-make-use-of-selenium-tags-inside-the-jiffie-session-tags-tp14582009p14597114.html


     

------------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It is the best place to buy or sell services for
just about anything Open Source.
http://p.sf.net/sfu/Xq1LFB
_______________________________________________
Jameleon-users mailing list
Jameleon-users@...
https://lists.sourceforge.net/lists/listinfo/jameleon-users

Parent Message unknown Re: Selenium plug-in not working

by jameleon-users mailing list :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.
Hi Satish,

What error do you get when you run IE6 vs FireFox 3.0 ? Are there any behavior differences?

-Christian


From: Satish Ingle <satishingle2005@...>
To: Christian Hargraves <engrean@...>
Sent: Friday, January 9, 2009 1:36:07 AM
Subject: Re: Selenium plug-in not working

Hi Christian,

First of all thanks a lot for replying to my query.

I have tried to execuete the script in IE6 and Firefox3.0
One more thing I would like to know :
       I have made selenium-plugin entry in 'jameleon.conf' file. Is there anymore thing I will have to configure through 'jameleon.conf' to use selenium tags successfully in my script?

I am trying to execute the same sample selenium script available on sourceforge.net

Regards,

Satish

On Thu, Jan 8, 2009 at 8:15 PM, Christian Hargraves <engrean@...> wrote:
Hi Satish,

This might due the version of the browser you are trying to automate. Selenium-RC has been slow with officially supporting some of the newer browser versions.
Which browser and version are you trying to automate?

-Christian



----- Original Message ----
From: "satishingle2005@..." <satishingle2005@...>
To: engrean@...
Sent: Thursday, January 8, 2009 7:16:26 AM
Subject: Re: click on image at specific place... or is there any way that i can make use of selenium tags inside the jiffie session tags

hi all,

I am using Jameleon 3.3 RC1 with jdk1.5. I have copied selenium plug-ins to my working Jameleon lib folder.
I have written a simple script using selenium tags. But when I execute this script from jameleon, I get following error:

>>>>>>>>>>>>>>>
com.thoughtworks.selenium.SeleniumException: Internal Server Error
   at com.thoughtworks.selenium.HttpCommandProcessor.getCommandResponse(HttpCommandProcessor.java:124)
   at com.thoughtworks.selenium.HttpCommandProcessor.executeCommandOnServlet(HttpCommandProcessor.java:82)
   at com.thoughtworks.selenium.HttpCommandProcessor.doCommand(HttpCommandProcessor.java:68)
   at com.thoughtworks.selenium.DefaultSelenium.open(DefaultSelenium.java:222)
   at net.sf.jameleon.plugin.selenium.SeleniumSessionTag.startApplication(SeleniumSessionTag.java:305)
   at net.sf.jameleon.SessionTag.doTag(SessionTag.java:172)
   at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:262)
   at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
   at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:186)
   at net.sf.jameleon.TestCaseTag.invokeChildren(TestCaseTag.java:816)
   at net.sf.jameleon.TestCaseTag$1.run(TestCaseTag.java:1023)
   at net.sf.jameleon.TestCaseTag.executeBody(TestCaseTag.java:1076)
   at net.sf.jameleon.TestCaseTag.executeNoCSV(TestCaseTag.java:1021)
   at net.sf.jameleon.TestCaseTag.doTag(TestCaseTag.java:968)
   at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:262)
   at org.apache.commons.jelly.JellyContext.runScript(JellyContext.java:706)
   at org.apache.commons.jelly.JellyContext.runScript(JellyContext.java:670)
   at org.apache.commons.jelly.JellyContext.runScript(JellyContext.java:579)
   at net.sf.jameleon.ExecuteTestCase.runScript(ExecuteTestCase.java:345)
   at net.sf.jameleon.ui.TestCasePane$ExecuteButtonAction$2.run(TestCasePane.java:279)

<<<<<<<<<<<<<<

kindly help me in this matter.

thanks in advance,


Satish

Christian Hargraves-3 wrote:
>
> There is no way intermix plug-in tags since each plug-in interacts with
> your application in a different way. You might be able to interchange the
> Jiffie plug-in and the Watij plug-in, but this hasn't even been attempted.
> Try posting to the Jiffie mailing list about clicking on a specific area
> in an image.
>
> Regards,
> Christian
>
> ----- Original Message ----
> From: kuttypaiya <kutty_paiya@...>
> To: jameleon-developers@...
> Sent: Wednesday, January 2, 2008 10:13:27 AM
> Subject: [Jameleon-developers] click on image at specific place... or is
> there any way that i can make use of selenium tags inside the jiffie
> session tags
>
>
>
> Hi,
>
> I need to click on image at specific place (may be the center of the
>  image
> or may be intersection of certain row and column of image).
>
> I have gone through the jameleon jiffie tag and i could not find a tag
>  that
> will do this. But i found a tag called selenium-click-at on selenium
> plug-in. But i do not know how to call selenium tags inside/in between
> jiffie session tags.
>
> So, i tried something like this.........
>
> <jm:testcase xmlns:jm="jelly:jameleon" xmlns:sel="jelly:jameleon"
> trace="true">
> <jm:ie-session baseUrl="${BaseURL}" beginSession="true">
>    ...................
>    .................. jiffie tags goes here ........
>
>   then i called selenium tag (to test the jiffie and selenium
>  integration
> within jiffie session tag).
>
>    <sel:selenium-click  functionId="Click on submit button"
> precondition="from=0" locator="value=Submit"  functionDelay="300"/>
>
> </jm:ie-session>
>
>
> But the problem is that when i try to call this selenium-click-at
>  selenium
> tag in-between the jiffie session tag, i am getting error ... something
>  like
>
> Run_jiffie_selenium.xml:11:64: <sel:selenium-click> Can only
>  execute
> an Selenium function tags under the Selenium session tag (
>  selenium-session
> )! Please change the session tag surrounding function point
> net.sf.jameleon.plugin.selenium.tags.SeleniumClickTag.
>
> is there any way that i can make use of selenium tags inside the jiffie
> session tags.
>
> Thanks
>
> Kutty Paiya.
>
>
>
>
> --
> View this message in context:
>
> http://www.nabble.com/click-on-image-at-specific-place...-or-is-there-any-way-that-i-can-make-use-of-selenium-tags-inside-the-jiffie-session-tags-tp14582009p14582009.html
> Sent from the jameleon-developers mailing list archive at Nabble.com.
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2005.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> Jameleon-developers mailing list
> Jameleon-developers@...
> https://lists.sourceforge.net/lists/listinfo/jameleon-developers
>
>
>
>
>
>
> ____________________________________________________________________________________
> Be a better friend, newshound, and
> know-it-all with Yahoo! Mobile.  Try it now.
> http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2005.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> Jameleon-developers mailing list
> Jameleon-developers@...
> https://lists.sourceforge.net/lists/listinfo/jameleon-developers
>
>
Quoted from:
http://www.nabble.com/click-on-image-at-specific-place...-or-is-there-any-way-that-i-can-make-use-of-selenium-tags-inside-the-jiffie-session-tags-tp14582009p14597114.html






------------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It is the best place to buy or sell services for
just about anything Open Source.
http://p.sf.net/sfu/Xq1LFB
_______________________________________________
Jameleon-users mailing list
Jameleon-users@...
https://lists.sourceforge.net/lists/listinfo/jameleon-users

Re: Selenium plug-in not working

by nehasanap :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hey i m getting the same problem.
I have downloaded the jameleon test suite 3.3 rc-1'
currently i m using IE version 6.0.2900.3311.xpsp.080212-0005. and the JDK 1.5
Only WATIJ plugin is working well on my PC i.e the sample script of the watij.

Is there anything extra to do to run the selenimum plug-in(i m trying to run provided sample script of the jameleon -selenium plugin)..
How did u solve ur problem please let me know..?