We are defining the browser type in the TestNG suite files as parameters to
the tests. Our TestNG.xml file looks like this.
<!DOCTYPE suite SYSTEM "http://beust.com/testng/testng-1.0.dtd"; >
<suite name="Web Render Tests CI">

<test name="firefox3">
<parameter name="browser" value="firefox3"></parameter>
<packages>
<package name="com.cms.test.*"></package>
</packages>
</test>

<test name="safari3">
<parameter name="browser" value="safari3"></parameter>
<packages>
<package name="com.cms.test.*"></package>
</packages>
</test>
</suite>

I hope this helps.

Cheers
Haroon

2009/8/24 satyadev <[email protected]>

>
> Hi Harron,
>
> Thanks for reply, how you are driving your testcases across different
> browser.
> For example : I have one test case 'test1' I want to execute across
> different environments like firefox and IE across different
> environments?
>
> with out using custom config how you are able to re-direct your
> testcases across registered RC ?
>
> Can you share one sample with out customconfig object will be help
> full lot?
>
> regards,
> Satyadev
>
>
>
>
>
>
>
>
>
> On Aug 24, 3:14 pm, Haroon Rasheed <[email protected]> wrote:
> > I have used the combination of Tellurium, Selenium Grid and TestNG, but
> not
> > used the CustomConfig object. Why do you think that  you cannot use
> > customconfig with TelluriumTestNGTestCase??
> >
> > Cheers
> > Haroon
> >
> > 2009/8/24 satyadev <[email protected]>
> >
> >
> >
> > > Hi Guys,
> >
> > > Does anyone tried  'tellurium + selenium Grid with TestNG" ?
> > > Current tellurium core out of box won't support in testNG way because
> > > you can't set 'customconfig' object when extend a class with
> > > 'TelluriumTestNGTestCase'.
> >
> > > Does Anybody tried /share there experience will be help full for me.
> >
> > > Regards,
> > > Satyadev
> >
>

--~--~---------~--~----~------------~-------~--~----~
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