Giter Site home page Giter Site logo

rubytestunitselenium's Introduction

RubyTestUnitSelenium

Ruby Test Unit cases (positive and negative scenario test cases) Selenium web driver

#Exercise Information: This exercise is meant to give us a basic idea of your coding aptitude and style. It should also give you a chance to try out Ruby, and see if it's for you. Once you have Ruby set up, the exercise should take about 30 - 90 minutes to complete. Given the following web page, basic web form, write a Ruby script that demonstrates one positive, and one negative test case. Please use the following criteria: -Code should be written in Ruby (any version >= 1.93) -Use Selenium WebDriver (any browser) -Use Test Unit to create the test cases -Briefly describe the two test cases in words -Create a new public git repository, and push your code to a branch named 'GUI'

*Test Case:users are able to naviagate "https://docs.google.com/forms/d/e/1FAIpQLSeT6MPuoZm8Ks3TUw9j3lTKeUlwvcVseFeear6OF4ey24Q40g/viewform" site , enter the required fields and then submit the fields. Here are test steps.

#Positive test case scenario: Enter text\ select the checkbox required fields in teh web page (Enter name text box and select development check box)

*Test Steps
1.Navigate to https://docs.google.com/forms/d/e/1FAIpQLSeT6MPuoZm8Ks3TUw9j3lTKeUlwvcVseFeear6OF4ey24Q40g/viewform and verify that submit button working in the webpage.(both positive and negative case scenarios)
2.Enter name "Srihari Vannemreddi" in the Nmae text filed. (:id,'entry_1041466219')
3.Select the Checkbox in the EnjoyDevelopment field.(:id,'group_310473641_1')
4.Click on the Submit button (:id,'ss-submit')

#Negative test case scenario: Don't Enter text\ select the required fields checkbox required fields in teh web page

*Test Steps
1.Navigate to https://docs.google.com/forms/d/e/1FAIpQLSeT6MPuoZm8Ks3TUw9j3lTKeUlwvcVseFeear6OF4ey24Q40g/viewform and verify that submit button working in the webpage.(both positive and negative case scenarios)
2.Enter name "" in the Nmae text filed. (:id,'entry_1041466219')
3.Dont select the Checkbox in the EnjoyDevelopment field.(:id,'group_310473641_1')
4.Click on the Submit button (:id,'ss-submit')

rubytestunitselenium's People

Contributors

srihari345 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.