[

{
  "comments":[
    {
      "value":"# Name             : Google Search",
      "line":1
    },
    {
      "value":"# Description      : covers scenarios under Google search",
      "line":2
    },
    {
      "value":"# Author           : Chandra sekaran",
      "line":3
    },
    {
      "value":"# Important Note   : To run this feature add APP=GOOGLE in cucumber run command",
      "line":5
    },
    {
      "value":"# Cucumber run cmd : cucumber -p desktop_dev_chrome -t @rq_desktop_google APP=GOOGLE",
      "line":6
    },
    {
      "value":"#                  : you can use any desktop browser profile in -p",
      "line":7
    },
    {
      "value":"# Rake run cmd     : rake desktop_google_search",
      "line":8
    }
  ],
  "keyword":"Feature",
  "name":"Google for a given input string",
  "line":11,
  "description":"",
  "tags":[
    {
      "name":"@rq_desktop_google",
      "line":10
    }
  ],
  "id":"google-for-a-given-input-string",
  "uri":"features\\desktop\\google_search\\google_search.feature",
  "elements":[
    {
      "keyword":"Scenario",
      "name":"Search for \"bet365\" in google and open \"bet365.com\" website",
      "line":14,
      "description":"",
      "tags":[
        {
          "name":"@tc_01",
          "line":13
        }
      ],
      "id":"google-for-a-given-input-string;search-for-\"bet365\"-in-google-and-open-\"bet365.com\"-website",
      "type":"scenario",
      "steps":[
        {
          "keyword":"Given ",
          "name":"the user is on the Google home page",
          "line":15,
          "match":{
            "location":"step_definitions/desktop/google_search_steps.rb:5"
          },
          "result":{
            "status":"passed",
            "duration":1029104000
          }
        },
        {
          "keyword":"When ",
          "name":"the user enters \"bet365\" in the search textbox and clicks the search button",
          "line":16,
          "output":[
            "Search completed successfully for string 'bet365'"
          ],
          "match":{
            "arguments":[
              {
                "offset":17,
                "val":"bet365"
              }
            ],
            "location":"step_definitions/desktop/google_search_steps.rb:10"
          },
          "result":{
            "status":"passed",
            "duration":1395476000
          }
        },
        {
          "keyword":"Then ",
          "name":"the user should be shown the search results",
          "line":17,
          "output":[
            "Successfully found search results"
          ],
          "match":{
            "location":"step_definitions/desktop/google_search_steps.rb:15"
          },
          "result":{
            "status":"passed",
            "duration":1087971000
          }
        },
        {
          "keyword":"When ",
          "name":"the user clicks the link for bet365",
          "line":18,
          "output":[
            "Bet365.com link clicked successfully",
            "Successfully clicked Bet365.com link"
          ],
          "match":{
            "arguments":[
              {
                "offset":32,
                "val":"365"
              }
            ],
            "location":"step_definitions/desktop/google_search_steps.rb:24"
          },
          "result":{
            "status":"passed",
            "duration":3504622000
          }
        },
        {
          "keyword":"Then ",
          "name":"the user should be redirected to the bet365.com website",
          "line":19,
          "output":[
            "Successfully redirected to Bet365.com page"
          ],
          "match":{
            "arguments":[
              {
                "offset":40,
                "val":"365"
              }
            ],
            "location":"step_definitions/desktop/google_search_steps.rb:30"
          },
          "result":{
            "status":"passed",
            "duration":1050734000
          }
        }
      ]
    }
  ]
}

]