[
{ "comments":[ { "value":"# Name : Google Search", "line":1 }, { "value":"# Description : covers scenarios under Google search on mobile", "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 mobile_dev_chrome_device -t @rq_mobile_google APP=GOOGLE", "line":6 }, { "value":"# : you can use any mobile browser profile in -p", "line":7 }, { "value":"# Rake run cmd : rake mobile_google_search", "line":8 } ], "keyword":"Feature", "name":"Google for a given input string", "line":11, "description":"", "tags":[ { "name":"@rq_mobile_google", "line":10 } ], "id":"google-for-a-given-input-string", "uri":"features\\mobile\\google_search\\mobile_google_search.feature", "elements":[ { "keyword":"Scenario", "name":"Search for \"rubygems\" in google and open \"rubygems.org\" website", "line":14, "description":"", "tags":[ { "name":"@tc_05", "line":13 } ], "id":"google-for-a-given-input-string;search-for-\"rubygems\"-in-google-and-open-\"rubygems.org\"-website", "type":"scenario", "steps":[ { "keyword":"Given ", "name":"the user is on the mobile Google home page", "line":15, "match":{ "location":"step_definitions/mobile/mobile_google_search_steps.rb:5" }, "result":{ "status":"passed", "duration":3143146000 } }, { "keyword":"When ", "name":"the user searches for \"rubygems\"", "line":16, "output":[ "Search completed successfully for string 'rubygems'" ], "match":{ "arguments":[ { "offset":23, "val":"rubygems" } ], "location":"step_definitions/mobile/mobile_google_search_steps.rb:10" }, "result":{ "status":"passed", "duration":21857295000 } }, { "keyword":"Then ", "name":"the user should be shown search results", "line":17, "output":[ "Successfully found search results" ], "match":{ "location":"step_definitions/mobile/mobile_google_search_steps.rb:15" }, "result":{ "status":"passed", "duration":7900302000 } }, { "keyword":"When ", "name":"the user clicks the link for mobile rubygems", "line":18, "output":[ "rubygems link clicked successfully", "Successfully clicked rubygems.org link" ], "match":{ "location":"step_definitions/mobile/mobile_google_search_steps.rb:24" }, "result":{ "status":"passed", "duration":19150276000 } }, { "keyword":"Then ", "name":"the user should be redirected to the mobile rubygems.org website", "line":19, "output":[ "Successfully redirected to rubygems.org page" ], "match":{ "location":"step_definitions/mobile/mobile_google_search_steps.rb:30" }, "result":{ "status":"passed", "duration":5288166000 } } ] } ] }
]