java or C# for selenium

1,896 views
Skip to first unread message

Priti Fhuse

unread,
Apr 18, 2014, 6:09:14 AM4/18/14
to seleniu...@googlegroups.com
hi 
I would like to know the differece of using c# and java in selenium webdriver 

advantage and disadvantages 

thanks in advance

David Lai

unread,
Apr 18, 2014, 2:01:54 PM4/18/14
to seleniu...@googlegroups.com
I would say Java would have lower ramp up time when hiring other test developers due to it's popularity in the Selenium community.

But I think you should use the same language as your devs.  For me I was previously using Python because I was in a Django shop, now I'm using C#.  The cool thing is being able to reuse ORM, DAO, and Data contract layers developed by your developers.  For example, I can reuse the same Data contracts used by the webservice in a SOA architecture to parse service level requests.  Or for super fast test setup and teardown, I can hook into the ORM layers to quickly create test data entries for my tests and remove them when the test is done.

sirus tula

unread,
Apr 18, 2014, 2:02:17 PM4/18/14
to seleniu...@googlegroups.com
Check this blog http://automationrocks.com/2014/03/04/which-programming-language-fits-best-for-automation/ which explains about the programming language that you would want to use/implement.

Thanks,


--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to selenium-user...@googlegroups.com.
To post to this group, send email to seleniu...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/538283ed-d47e-4953-a51f-5afb6810b881%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
 
- "If you haven't suffered, you haven't lived your life."
 
Thanks,
 
Sirus

Shawn McCarthy

unread,
Apr 18, 2014, 6:53:17 PM4/18/14
to seleniu...@googlegroups.com
I agree with David. Using the same language lets me use the developers models/objects easily.

Oscar Rieken

unread,
Apr 20, 2014, 12:27:14 PM4/20/14
to seleniu...@googlegroups.com
To me it almost doesn't matter for the most part it depends on the experience of the team. Yes getting help from the dev team and using things they have already in place is cool but, if your team doesn't understand it or know how to use/create things for your frameworks you will essentially just have people writing code your devs will be fixing/cleaning up. imo

My last project we had a bunch of people that were transitioning into writing automation for the first time. So I went with ruby, aside from the fact ruby has a lot of cool tools(ActiveRecord, FactoryGirl, Faker, RSpec, and such) to help you get things done, Its a fairly easy language to know just enough of to write automation.


--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to selenium-user...@googlegroups.com.
To post to this group, send email to seleniu...@googlegroups.com.

David

unread,
Apr 20, 2014, 3:55:46 PM4/20/14
to seleniu...@googlegroups.com
To the OP, why not just give both an evaluation/test drive as well to see which works better for you. There's no substitute for that in asking for advice/recommendations. It's always going to be specific to you/your organization.


On Friday, April 18, 2014 3:09:14 AM UTC-7, Priti Fhuse wrote:

http://tester-learning.blogspot.in/

unread,
Apr 21, 2014, 6:47:58 AM4/21/14
to seleniu...@googlegroups.com
My vote goes to java.
Reply all
Reply to author
Forward
0 new messages