I like this way because it gives us the opportunity to use the TestNG suite
files and control our tests using the features provided by TestNG. It also
helps us in generating useful TestNG reports based on the parameters.

Cheers
Haroon



2009/8/24 Harihara Vinayakaram <[email protected]>

> Hi
>   We are using Tellurium + TestNG in the same way that Haroon mentioned.
> Actually that seems to be only way it works . I was trying to see if I can
> play around with DataProvider to achieve the same but  did not succeed
>
> Regards
> Hari
>
>
> On Mon, Aug 24, 2009 at 3:58 PM, Haroon Rasheed <[email protected]>wrote:
>
>> 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