Friday 25 April 2014

Getting started with Ruby | Selenium Users


Note|  Text in Blue [#PYTHON], Red [#RUBY], and Orange [#JAVA] can be edited or mentioned important for the entire blog. All the posts are practically done by me.


Ruby Installation


In Windows, you can use either RubyInstaller or pik.

1| Download rubyinstaller
2| Check Ruby version
Start > Interactive Ruby
RUBY_VERSION



3| Install Selenium WebDriver library for Ruby
selenium-webdriver-2.41.0.gem
INSTALL > gem install selenium-webdriver



4| Download Devkit before installing json
5| Extract DevKit to path C:\Ruby200\DevKit
6| Open cmd prompt
> cd C:\Ruby200\DevKit
> ruby dk.rb init
> ruby dk.rb review
> ruby dk.rb install


INSTALL > gem install json



7| Download Ruby DLTK plugin for Eclipse IDE [Go to Eclipse Marketplace and search Ruby DLTK]



8| Go to Windows > Preferences > Ruby - Interpreters



9| Click on 'Add' and Locate Ruby.exe  "C:\Ruby200\bin\ruby.exe"



10| Create a New Ruby Project
Right click on package Explorer > New > others 

11| Type 'Ruby'.
12| Select 'Ruby Project' and press Finish.



13| Create a new Ruby module.
Right click on package > New > Ruby module

14| Develop your Ruby selenium script like sample given below

require "selenium-webdriver"

driver = Selenium::WebDriver.for :firefox
driver.navigate.to "http://google.com"

element = driver.find_element(:name, 'q')
element.send_keys "Prashanth Sams"
element.submit

driver.quit

15| Rick click on program Run > Ruby Script



Note| 
1| Rack is a web server interface used for developing web applications in Ruby; Rack is used by almost all Ruby web frameworks and libraries, such as Ruby On Rails and Sinatra.
2| RubyGems is a package manager for Ruby programming language.

100 comments:

  1. Hi
    i dont have the build.xml on my project i just have the testNg.xml
    i need to creat it ??

    ReplyDelete
    Replies

    1. IntelliMindz is the best IT Training in Bangalore with placement, offering 200 and more software courses with 100% Placement Assistance.

      Selenium Online Course
      Selenium Training In Bangalore
      Selenium Training In Chennai
      Selenium Training In Coimbatore
      Selenium Training In Tirupur

      Delete
  2. It was very nice article and it is very useful to Selenium learners.We also provide Cub training software online training.

    ReplyDelete
  3. Thank You for sharing your article. I like it. We are also giving TIBCO Online Training at affordable prices.

    ReplyDelete
  4. Hi,

    i am learner of selenium,this post is very useful for me thank you

    ReplyDelete
  5. Nice Article, Croma Campus is the pioneer of instruction giving the Selenium Training in Noida

    ReplyDelete
  6. Thanks For The Great Post.....Very Helpful And Useful....The Concept Of
    Ruby Is Cleared As Of Now For Me With Your Explanation.....
    Selenium Certification Training

    ReplyDelete
  7. It's A Great Pleasure reading your Article, learned a lot of new things, we have to keep on updating it Learn Tibco Online Thanks for posting.

    ReplyDelete
  8. Your good knowledge and kindness in playing with all the pieces were very useful. I don’t know what I would have done if I had not encountered such a step like this.
    Data Science Training in Chennai
    Data science training in bangalore
    Data science online training
    Data science training in pune
    Data science training in kalyan nagar

    ReplyDelete
  9. Wow it is really wonderful and awesome thus it is very much useful for me to understand many concepts and helped me a lot. it is really explainable very well and i got more information from your blog.
    Devops training in Chennai
    Devops training in Bangalore
    Devops Online training
    Devops training in Pune

    ReplyDelete
  10. This looks absolutely perfect. All these tiny details are made with lot of background knowledge. I like it a lot. 

    java training in chennai | java training in bangalore

    java training in tambaram | java training in velachery

    java training in omr | oracle training in chennai

    ReplyDelete
  11. This comment has been removed by the author.

    ReplyDelete
  12. Thank you for this post. Thats all I are able to say. You most absolutely have built this blog website into something speciel. You clearly know what you are working on, youve insured so many corners.thanks
    java training in chennai | java training in bangalore

    java online training | java training in pune

    ReplyDelete
  13. Really great post, I simply unearthed your site and needed to say that I have truly appreciated perusing your blog entries. I want to say thanks for great sharing.
    python training in velachery
    python training institute in chennai

    ReplyDelete
  14. Good Post! Thank you so much for sharing this pretty post, it was so good to read and useful to improve my knowledge as updated one, keep blogging.

    Devops training in velachery
    Devops training in annanagar
    Devops training in tambaram
    DevOps online Training

    ReplyDelete
  15. Wow it is really wonderful and awesome thus it is very much useful for me to understand many concepts and helped me a lot. it is really explainable very well and i got more information from your blog.

    angularjs Training in chennai
    angularjs Training in chennai

    angularjs-Training in tambaram

    angularjs-Training in sholinganallur

    ReplyDelete
  16. Impressive. Your story always bring hope and new energy. Keep up the good work.
    Blueprism training in velachery

    Blueprism training in marathahalli

    ReplyDelete
  17. Greetings. I know this is somewhat off-topic, but I was wondering if you knew where I could get a captcha plugin for my comment form? I’m using the same blog platform like yours, and I’m having difficulty finding one? Thanks a lot.


    Amazon Web Services Training in Pune | Best AWS Training in Pune

    AWS Online Training | Online AWS Certification Course - Gangboard

    ReplyDelete
  18. Thanks for posting this info. I just want to let you know that I just check out your site and I find it very interesting and informative. I can't wait to read lots of your posts
    angularjs Training in chennai

    angularjs-Training in tambaram

    angularjs-Training in sholinganallur

    angularjs-Training in velachery

    angularjs Training in bangalore

    ReplyDelete



  19. Thanks for sharing such a useful post and i hope it’s useful to many people for developing their skill to get good career.Thanks a lot.
    aws online training

    ReplyDelete

  20. Those guidelines additionally worked to become a good way to recognize that other people online have the identical fervor like mine to grasp great deal more around this condition.

    python Training in Bangalore | python Training in Bangalore

    ReplyDelete
  21. I just see the post i am so happy the post of information's.So I have really enjoyed and reading your blogs for these posts.Any way I’ll be subscribing to your feed and I hope you post again soon.

    best selenium training institute in hyderabad
    best selenium online training institute in hyderabad
    best institute for selenium training in hyderabad
    best software testing training institute in hyderabad

    ReplyDelete
  22. Thanks for such a great article here. I was searching for something like this for quite a long time and at last I’ve found it on your blog. It was definitely interesting for me to read about their market situation nowadays. Well written article Thank You for Sharing with Us pmp training Chennai | pmp training centers in Chennai | pmp training institutes in Chennai | pmp training and certification in Chennai

    ReplyDelete

  23. Very nice post here thanks for it .I always like and such a super contents of these post.
    DevOps Online Training

    ReplyDelete
  24. Nice post. Thanks for sharing! I want people to know just how good this information is in your article. It’s interesting content and Great work.

    Thanks & Regards,
    VRIT Professionals,
    No.1 Leading Web Designing Training Institute In Chennai.

    And also those who are looking for
    Web Designing Training Institute in Chennai
    Photoshop Training Institute in Chennai
    PHP & Mysql Training Institute in Chennai
    SEO Training Institute in Chennai
    Android Training Institute in Chennai

    ReplyDelete
  25. Nice blog..! I really loved reading through this article... Thanks for sharing such an amazing post with us and keep blogging...
    Tableau online training
    best Tableau online training
    Tableau online training in Hyderabad
    Tableau online training in india
    3.

    ReplyDelete
  26. Thanks for sharing this information!
    I totally agree with you. Your information is very interesting and important. I really like this information.
    Our easy is AWS Online training Institutes in Hyderabad
    Devops Online training in Hyderabad
    Data Science Online training in Hyderabad
    Selenium Online Training in Hyderabad
    If you want to see our training venue then click on links:
    https://www.futureqtech.com/
    Call Now: +91 9581111796
    Drop Mail: info@futureqtech.com

    ReplyDelete
  27. Learn Business Analysis, Python, Machine Learning, Data Science, Blockchain, DevOps, Selenium 3.0, and Other In-Demand IT Skills from Global Experts.

    https://www.mcal.in/

    ReplyDelete
  28. Nice information, thanks to sharing good content, Nice infromation
    Selenium Training In Chennai

    ReplyDelete
  29. Wow this is really amazing post. Thanks for sharing the useful informative data. I appreciate your difficulty work. Keep blogging. Protractor Training in Electronic City

    ReplyDelete
  30. This comment has been removed by the author.

    ReplyDelete
  31. Very Nice Blog Thank you. Well it was nice post and very helpful information on ruby on rails training

    ReplyDelete

  32. Thanks for your effects that you put in for giving very informative and clear post.I always like your posts.Thanks for sharing.Python Programming is king for a majority of ranking metrics.If you need any help in python programming visit our site.
    Python Training Institute In Bangalore

    ReplyDelete
  33. We as a team of real-time industrial experience with a lot of knowledge in developing applications in python programming , aws training , ccna training (7+ years) will ensure that we will deliver our best in python training in chennai. , and we believe that no one matches us in this context.

    ccna training in chennai
    aws training in chennai
    aws devops training in chennai
    python training
    python training in chennai

    ReplyDelete

  34. I am really enjoying reading your well written articles. It looks like you spend a lot of effort and time on your blog. I have bookmarked it and I am looking forward to reading new articles. Keep up the good work.
    best training institute for aws in pune

    ReplyDelete
  35. This comment has been removed by the author.

    ReplyDelete
  36. I appreciate this piece of useful information. Kshemkari Export Import academy one of the best
    leading Trade and Training Institute for import and export business, provides the best service in India with expert Team For more information visit our site: Import Export Online Training

    ReplyDelete
  37. Great post! I am actually getting ready to across this information, It’s very helpful for this blog. Also great with all of the valuable information you have Keep up the good work you are doing well.
    IELTS Coaching in chennai

    German Classes in Chennai

    GRE Coaching Classes in Chennai

    TOEFL Coaching in Chennai

    spoken english classes in chennai | Communication training

    ReplyDelete
  38. A very very informative content you put in your blog. Thanks for sharing this kind of information I really learned a lot from it. Further More Information About Selenium Training Institute in Delhi So Contact Here-+91-9311002620 Or Visit Website-https://www.htsindia.com/Courses/Software-Testing/selenium-training-course-institute

    ReplyDelete
  39. wonderful article contains lot of valuable information. Very interesting to read this article.I would like to thank you for the efforts you had made for writing this awesome article. Primavera P6 Certification Training in Chennai | Primavera Training in India

    ReplyDelete
  40. Thanks for posting these kinds of post its very helpful and very good content a really appreciable post apart from that if anyone looking for Python training institute in delhi so contact here +91-9311002620 visit https://www.htsindia.com/Courses/python/python-training-institute-in-south-delhi

    ReplyDelete
  41. "this was vey ideal blog for vehicles. if you need to see more , check this site Latest vehicles and bikes

    "

    ReplyDelete
  42. Plumbing & HVAC Services San Diego
    Air Star Heating guarantees reliability and quality for all equipment and services
    Air Star Heating is specializing in providing top-quality heating, ventilating, air conditioning, and plumbing services to our customers and clients.
    Our company is leading the market right now. By using our seamless and huge array of services. Our customers can now have the privilege of taking benefit from our services very easily and swiftly. To cope up with the desires and needs of our clients we have built an excellent reputation. We are already having a huge list of satisfied customers that seem to be very pleased with our services.

    Plumbing & HVAC Services in San Diego. Call now (858) 900-9977 ✓Licensed & Insured ✓Certified Experts ✓Same Day Appointment ✓Original Parts Only ✓Warranty On Every Job.
    Visit:- https://airstarheating.com

    ReplyDelete
  43. Thanks for sharing this content in your post its really good by the way if anyone looking for Core and Advanced Java training institute in delhi so contact here +91-9311002620 visit https://www.htsindia.com/java-training-courses

    ReplyDelete
  44. Thank you for sharing this post If anyone looking for best Software training institute in Delhi Contact Here-+91-9311002620 Or Visit our website https://www.htsindia.com/software-testing-training-courses

    ReplyDelete
  45. Your post is very good thanks for sharing these kind of post apart form that if anyone look for Python training institute in Delhi Contact Here-+91-9311002620 Or Visit Website- https://www.htsindia.com/Courses/python/python-training-institute-in-delhi

    ReplyDelete
  46. HTS gives you the most demanding course that is Python programming in delhi that educates and enhances your programming skills.

    ReplyDelete

  47. It is amazing and wonderful to visit your site. Thanks for sharing information; this is useful to us....
    R PROGRAMING COURSE IN DELHI

    FOR MORE INFO:

    ReplyDelete
  48. Amazing Blog ,Very useful to Visit Your page , Keep Updating More .
    JAVA Training in Chennai
    Java Training in Bangalore

    ReplyDelete
  49. the information provided is meaningful and very useful
    Dzone's motive is to provide you with the best ideas for your projects as per your needs and demands. Any project from the background of BE, BCA, MCA, BSc, Ms.Bsc, Computer science students is available here. you can also get sample projects from our institute. Our motive is to serve you the best. you can contact us at 9829708506 or visit our link:
    https://bit.ly/downloadITprojects

    ReplyDelete
  50. I really appreciate your hard work you put into your blog and detailed information you provide. Further More Information About MIS training institute in Delhi Contact Here-+91-9311002620 Or Visit Website- https://www.htsindia.com/Courses/business-analytics/mis-training-instiute-in-delhi

    ReplyDelete
  51. Digital Brolly is a well established Adwords training institute which helps students learn about various marketing methods and even helps students get placed in top MNCs. The Google Adwords Certification Course in Hyderabad helps students to gain more knowledge on how to generate traffic to their website.

    ReplyDelete
  52. Great blog.thanks for sharing such a useful information
    BDD with Cucumber Online Training

    ReplyDelete
  53. Great blog. Thanks for sharing such a useful information.
    Java training chennai

    ReplyDelete
  54. This post is so interactive and informative.keep update more information...
    Digital Marketing Course in velachery
    Digital Marketing Course in Chennai

    ReplyDelete
  55. This post is so interactive and informative.keep update more information...
    PHP Training in Tambaram
    PHP Training in Tambaram

    ReplyDelete
  56. This post is so interactive and informative.keep update more information...
    Web Designing Course in Tambaram
    Web Designing Course in chennai


    ReplyDelete
  57. This post is so interactive and informative.keep update more information…
    selenium training in velachery
    selenium training in Chennai


    ReplyDelete

  58. This post is so interactive and informative.keep update more information...
    DevOps course in Tambaram
    DevOps Training in Chennai

    ReplyDelete
  59. This is really a great information
    Please Visit-

    Best CLAT Coaching in Delhi

    ReplyDelete
  60. Great post. keep sharing such a worthy information.
    CCNA Course In Chennai

    ReplyDelete
  61. This post is so interactive and informative.keep update more information...
    Angular Training in Pune

    ReplyDelete
  62. Nice Blog Thank you..

    ELearn InfoTech Offers placement focused React JS Training Institute in Hyderabad. The trainers at ELearn InfoTech are corporate professionals providing in-depth React JS Training in Hyderabad. We are one of best React JS Institutes in Hyderabad. Our React JS course Content includes from Basic to Advanced Level React JS Course. We have designed our React JS course curriculam based on students Requirement to Achieve Goal. We offer both React JS classroom Training and React JS online Training in Hyderabad with real time projects.

    ReplyDelete