Seems you did not get the Selenium session. Did you run the embedded
selenium server or use
an external one? Did you see the selenium server was up and running?

If possible, you can zip your project and send it to us so that we can
test it on our own box.

Thanks,

Jian


On Jun 18, 12:29 am, Ravi Chaddha <[email protected]> wrote:
> Hi Jian/Haroon,
>
> Great news !! I succeeded in getting my Tellurium java test case executed
> successfully. There was issue with Groovy eclipse plugin I hope.
>
> However still when I am using TelluriumConfig.groovy I get exception
>
> java.lang.NullPointerException: Cannot invoke method
> getActiveSeleniumSession() on null object
>
> Refer the attachments.
>
> regards,
> Ravi
>
>
>
> On Wed, Jun 17, 2009 at 6:37 PM, Jian Fang <[email protected]> wrote:
> > Could you zip your sample project and send it to us. We will take a look.
>
> > Thanks,
>
> > Jian
>
> > On Wed, Jun 17, 2009 at 2:16 AM, Ravi Chaddha <[email protected]>wrote:
>
> >> Well, this is strange. I already did what Jian & Haroon mentioned. I was
> >> getting errors in your reference project too. May be I need to find some 
> >> one
> >> in my company who has worked with Groovy. I doubt there's any. But lemme
> >> check.
>
> >> regards,
> >> Ravi
>
> >> On Wed, Jun 17, 2009 at 2:41 AM, Haroon Rasheed 
> >> <[email protected]>wrote:
>
> >>> You also need to Add Groovy Nature to your project to make it work in
> >>> Eclipse.
> >>> Right Click on the project  > Groovy > Add Groovy Nature
>
> >>> You need to perform the following steps as well.
>
> >>>    - Bring up the Project Properties.
> >>>    - Click on Java Build Path > Source.
> >>>    - Change the Project/bin to Project/bin-groovy.
>
> >>> Let me know if this does not work.
>
> >>> Cheers
> >>> Haroon
>
> >>> 2009/6/16 Jian Fang <[email protected]>
>
> >>> BTW, one way to test is to download one of our reference projects since
> >>>> the reference has project meta files checked in.
> >>>> You can try to open the reference project to see if you have any problem
> >>>> to compile it.
>
> >>>> On Tue, Jun 16, 2009 at 3:55 PM, Jian Fang 
> >>>> <[email protected]>wrote:
>
> >>>>> Seems Eclipse does not recognize Groovy file at all, for example, it 
> >>>>> does not know what "def" is.
>
> >>>>> Please check your class path and make sure Groovy-1.6.0.jar is included 
> >>>>> in your Eclipse project class path.
>
> >>>>> Thanks,
>
> >>>>> Jian
>
> >>>>> On Tue, Jun 16, 2009 at 3:21 PM, Ravi Chaddha 
> >>>>> <[email protected]>wrote:
>
> >>>>>> Hello Haroon,
>
> >>>>>> Attached file contains compilation errors.
>
> >>>>>> regards,
> >>>>>> Ravi
>
> >>>>>> On Wed, Jun 17, 2009 at 12:27 AM, Haroon Rasheed <
> >>>>>> [email protected]> wrote:
>
> >>>>>>> Hi Ravi,
> >>>>>>> Can you please post the stack trace as well for the compilation
> >>>>>>> error. It might helps us in identifying the problem.
>
> >>>>>>> Cheers
> >>>>>>> Haroon
>
> >>>>>>> 2009/6/16 Ravi Chaddha <[email protected]>
>
> >>>>>>>>  Hi Jian,
>
> >>>>>>>> I gave a try today again but still the same compilation issues in
> >>>>>>>> groovy file in eclipse.
>
> >>>>>>>> The only difference was last time there were errors while eclipse
> >>>>>>>> groovy plugin installation and this time there was no error in plugin
> >>>>>>>> installation.
>
> >>>>>>>> regards,
> >>>>>>>> Ravi
>
> >>>>>>>> On Fri, May 29, 2009 at 9:58 PM, Jian Fang <
> >>>>>>>> [email protected]> wrote:
>
> >>>>>>>>> Ravi,
>
> >>>>>>>>> Here are the guides for an Eclipse project,
>
> >>>>>>>>>http://code.google.com/p/aost/wiki/CustomTelluriumEclipseProject
>
> >>>>>>>>>http://code.google.com/p/aost/wiki/TelluriumReferenceProjectEclipseSetup
>
> >>>>>>>>> But be aware that you should use Groovy 1.6 now.
>
> >>>>>>>>> The best way to create a Tellurium project is to use Tellurium
> >>>>>>>>> Maven archetypes if you are familiar with Maven
>
> >>>>>>>>>http://code.google.com/p/aost/wiki/TelluriumMavenArchetypes
> >>>>>>>>>http://code.google.com/p/aost/wiki/TenMinutesToTellurium
>
> >>>>>>>>> Please let us know if you still have problems.
>
> >>>>>>>>> Thanks,
>
> >>>>>>>>> Jian
>
> >>>>>>>>> On Fri, May 29, 2009 at 12:19 PM, Ravi Chaddha <
> >>>>>>>>> [email protected]> wrote:
>
> >>>>>>>>> I am using Eclipse 3.2 and want to use tellurium with Java. Can
> >>>>>>>>>> some one please direct me as I get errors when extending 
> >>>>>>>>>> DSLContext that
> >>>>>>>>>> it's an abstract class and I'll have to implement abstract 
> >>>>>>>>>> methods. However
> >>>>>>>>>> I do not see any such implementation of any abstract methods in 
> >>>>>>>>>> the examples
> >>>>>>>>>> on google code site examples. Another error is when I write
> >>>>>>>>>> ui.Container(..... that syntax is incorrect. These are just few 
> >>>>>>>>>> there are
> >>>>>>>>>> many errors I am getting.
>
> >>>>>>>>>> Conceptually I like this framework very much and even I designed
> >>>>>>>>>> my own GUIMap concept for Selenium tests. I want to use this tool. 
> >>>>>>>>>> Kindly
> >>>>>>>>>> guide.
>
> >>>>>>>>>> regards,
> >>>>>>>>>> Ravi Chaddha
>
> >>>>>>>> --
> >>>>>>>> regards,
> >>>>>>>> Ravi Chaddha
> >>>>>>>> +91-9971336371
>
> >>>>>> --
> >>>>>> regards,
> >>>>>> Ravi Chaddha
> >>>>>> +91-9971336371
>
> >> --
> >> regards,
> >> Ravi Chaddha
> >> +91-9971336371
>
> --
> regards,
> Ravi Chaddha
> +91-9971336371
>
>  exception.txt
> 3KViewDownload
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"tellurium-users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/tellurium-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to