tag:blogger.com,1999:blog-6898534150006909939.comments2023-08-10T18:13:42.401+10:00QA BlogUnknownnoreply@blogger.comBlogger131125tag:blogger.com,1999:blog-6898534150006909939.post-7122086507053846042016-01-12T07:51:28.739+11:002016-01-12T07:51:28.739+11:00"ansicon.exe -i" does nothing and keeps ..."ansicon.exe -i" does nothing and keeps the screen idle not installing anything.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-6898534150006909939.post-62601289872760312902016-01-05T23:58:31.394+11:002016-01-05T23:58:31.394+11:00what should we do instead what should we do instead Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-6898534150006909939.post-28376193620746521992015-12-11T03:25:22.783+11:002015-12-11T03:25:22.783+11:00Wow,awriter.org
I'm a lefty too and i dont kn...Wow,<a href="http://awriter.org/awritercom/" rel="nofollow">awriter.org</a><br /> I'm a lefty too and i dont know if all that it true but still WOW! i never knew all those ppl wer leftys cuz i aint american so yea. but still, nice work n u shudna put the jealousy part.... just sayin......Anonymoushttps://www.blogger.com/profile/09183453024192072639noreply@blogger.comtag:blogger.com,1999:blog-6898534150006909939.post-51231667531957290002015-11-24T12:08:52.985+11:002015-11-24T12:08:52.985+11:00it means that you have two or more steps definitio...it means that you have two or more steps definitions that are the same. You can try checking your steps definition again to make sure they are unique. Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-6898534150006909939.post-91043208984249773842015-11-10T15:33:58.214+11:002015-11-10T15:33:58.214+11:00You can run again with --guess to make Cucumber be...You can run again with --guess to make Cucumber be more smart about it<br /> (Cucumber::Ambiguous)<br />C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/cucumber-2.1.0/lib/cucumber/runtime/support_code.rb:199:in `step_match_without_cache'<br />C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/cucumber-2.1.0/lib/cucumber/runtime/support_code.rb:190:in `step_match'<br />C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/cucumber-2.1.0/lib/cucumber/runtime/support_code.rb:140:in `find_match'<br />C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/cucumber-2.1.0/lib/cucumber/filters/activate_steps.rb:28:in `attempt_to_activate'<br />C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/cucumber-2.1.0/lib/cucumber/filters/activate_steps.rb:24:in `map'<br />C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/cucumber-2.1.0/lib/cucumber/filters/activate_steps.rb:24:in `new_test_steps'<br />C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/cucumber-2.1.0/lib/cucumber/filters/activate_steps.rb:18:in `test_case'<br />C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/cucumber-2.1.0/lib/cucumber/filters/activate_steps.rb:8:in `test_case'<br />C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/cucumber-core-1.3.0/lib/cucumber/core/test/case.rb:22:in `describe_to'<br />C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/cucumber-2.1.0/lib/cucumber/filters/quit.rb:11:in `test_case'<br />C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/cucumber-core-1.3.0/lib/cucumber/core/test/case.rb:22:in `describe_to'<br />C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/cucumber-core-1.3.0/lib/cucumber/core/test/filters/locations_filter.rb:17:in `block in done'<br />C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/cucumber-core-1.3.0/lib/cucumber/core/test/filters/locations_filter.rb:16:in `each'<br />C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/cucumber-core-1.3.0/lib/cucumber/core/test/filters/locations_filter.rb:16:in `done'<br />C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/cucumber-core-1.3.0/lib/cucumber/core/filter.rb:61:in `done'<br />C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/cucumber-core-1.3.0/lib/cucumber/core/test/filters/tag_filter.rb:18:in `done'<br />C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/cucumber-core-1.3.0/lib/cucumber/core/compiler.rb:23:in `done'<br />C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/cucumber-core-1.3.0/lib/cucumber/core/gherkin/parser.rb:39:in `done'<br />C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/cucumber-core-1.3.0/lib/cucumber/core.rb:29:in `parse'<br />C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/cucumber-core-1.3.0/lib/cucumber/core.rb:18:in `compile'<br />C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/cucumber-2.1.0/lib/cucumber/runtime.rb:70:in `run!'<br />C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/cucumber-2.1.0/lib/cucumber/cli/main.rb:32:in `execute!'<br />C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/cucumber-2.1.0/bin/cucumber:8:in `'<br />C:/Ruby22-x64/bin/cucumber:23:in `load'<br />C:/Ruby22-x64/bin/cucumber:23:in `'<br /><br /><br />I am getting those errors what does that mean???Anonymoushttps://www.blogger.com/profile/16323236984012403384noreply@blogger.comtag:blogger.com,1999:blog-6898534150006909939.post-63998735184792694352015-08-27T02:26:55.814+10:002015-08-27T02:26:55.814+10:00Did exactly as above but got the following error:
...Did exactly as above but got the following error:<br />"undefined local variable or method '_FILE_' for main:Object (NameError).<br />I am new to cucumber so please any help would be hugely appreciated.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-6898534150006909939.post-9851886868191347942014-11-30T14:06:50.460+11:002014-11-30T14:06:50.460+11:00This method works fine in other browsers like FF. ...This method works fine in other browsers like FF. When I try to just find the element by using the<br /> find(:css, ".submit")<br /> it can return this: #Obat24https://connect.detik.com/marketingobat24/aboutnoreply@blogger.comtag:blogger.com,1999:blog-6898534150006909939.post-76342819240722777692014-11-27T19:05:56.928+11:002014-11-27T19:05:56.928+11:00To fix the issue, just remove the "-" fr...To fix the issue, just remove the "-" from config.yml so that ruby can parse the yml file<br /><br />test_server:<br /> member_no: 00000010<br /> member_name: cucumber<br /> year: 2014Joshhttp://www.butuhobat.com/beli-purwoceng-xtra/noreply@blogger.comtag:blogger.com,1999:blog-6898534150006909939.post-22343180743638977062014-11-27T10:55:17.288+11:002014-11-27T10:55:17.288+11:00Thanks this is what I needThanks this is what I needMichaelhttp://www.apotikonline.co.id/noreply@blogger.comtag:blogger.com,1999:blog-6898534150006909939.post-80062618118964004292014-04-10T01:37:41.110+10:002014-04-10T01:37:41.110+10:00on_page_with :google do |page|
What does "on...on_page_with :google do |page|<br /><br />What does "on_page_with" here?Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-6898534150006909939.post-79175204900690968992013-12-25T00:17:47.336+11:002013-12-25T00:17:47.336+11:00hello Fudge, how can create an environment variabl...hello Fudge, how can create an environment variable called "https_proxy" with a value of ":" to resolve this problem? thanks.Anonymoushttps://www.blogger.com/profile/02933144657328623210noreply@blogger.comtag:blogger.com,1999:blog-6898534150006909939.post-81019339284567261322013-11-10T17:48:21.387+11:002013-11-10T17:48:21.387+11:00After triggering, I got console output as:
Scena...After triggering, I got console output as:<br /><br /><br />Scenario: A simple google search scenario # regression\search.feature:3<br />Given I am on the main google search # regression\search.feature:4<br />And I search for "site:qastuffs.blogspot.com" # regression\search.feature:5<br />And I click on the search button # regression\search.feature:6<br />And I click on the first result # regression\search.feature:7<br />Then I should land on the qastuffs blog # regression\search.feature:8<br /><br />1 scenario (1 undefined)<br />5 steps (5 undefined)<br />0m0.022s<br /><br />You can implement step definitions for undefined steps with these snippets:<br /><br />Given /^I am on the main google search$/ do<br />pending # express the regexp above with the code you wish you had<br />end<br /><br />Given /^I search for "(.*?)"$/ do |arg1|<br />pending # express the regexp above with the code you wish you had<br />end<br /><br />Given /^I click on the search button$/ do<br />pending # express the regexp above with the code you wish you had<br />end<br /><br />Given /^I click on the first result$/ do<br />pending # express the regexp above with the code you wish you had<br />end<br /><br />Then /^I should land on the qastuffs blog$/ do<br />pending # express the regexp above with the code you wish you had<br />end<br /><br />If you want snippets in a different programming language,<br />just make sure a file with the appropriate file extension<br />exists where cucumber looks for step definitions.<br /><br />Please help as I want to let it work correctly.................<br />Also it would be helpful if you have some answers for questions like:<br />1.What type of application testing is most suited with capybara+ruby?<br />2.Why Capybara?<br />3.How to use capybara?<br />4.how we can use capybara for web app test automation?<br />5.how capybara best from selenium web driver.<br /><br /><br />Please reply...................Deepak Chennoriahttps://www.blogger.com/profile/09806529653888918358noreply@blogger.comtag:blogger.com,1999:blog-6898534150006909939.post-38617596248855360422013-11-10T16:50:34.830+11:002013-11-10T16:50:34.830+11:00Excellent work buddy.................Excellent work buddy.................Deepak Chennoriahttps://www.blogger.com/profile/09806529653888918358noreply@blogger.comtag:blogger.com,1999:blog-6898534150006909939.post-11845089615776027302013-10-29T01:46:14.843+11:002013-10-29T01:46:14.843+11:00Hi MonsterEnergy,
you should probably use 'pag...Hi MonsterEnergy,<br />you should probably use 'page' instead of 'response' everywhere, like this:<br />page.driver.browser.switch_to.window(page.driver.browser.window_handles[0])Anonymoushttps://www.blogger.com/profile/03318596308266258369noreply@blogger.comtag:blogger.com,1999:blog-6898534150006909939.post-85158328004216931642013-09-28T02:25:00.553+10:002013-09-28T02:25:00.553+10:00Can I ask the use case for that please ?Can I ask the use case for that please ?Anonymoushttps://www.blogger.com/profile/01797338709819701087noreply@blogger.comtag:blogger.com,1999:blog-6898534150006909939.post-55287039429805723272013-08-25T10:04:37.900+10:002013-08-25T10:04:37.900+10:00Hi BA,
profile = Selenium::WebDriver::IE::Profile...Hi BA,<br /><br />profile = Selenium::WebDriver::IE::Profile.new<br /><br />The above statement does not work with Internet explorer so it says and suggestion?<br />uninitialized constant Selenium::WebDriver::IE (NameError)<br />Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-6898534150006909939.post-38680249025764468362013-08-25T01:05:49.281+10:002013-08-25T01:05:49.281+10:00Is it possible I can pass variable here
profile =...Is it possible I can pass variable here <br />profile = Selenium::WebDriver::Variable::Profile.new<br />instead of <br />profile = Selenium::WebDriver::Firefox::Profile.new<br /><br />and I can give any value to that variable like Firefox or ChromeAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-6898534150006909939.post-41003112605329773752013-07-25T03:29:34.496+10:002013-07-25T03:29:34.496+10:00Hi, first thank you for posting this. I am a manua...Hi, first thank you for posting this. I am a manual tester but would like to up my skills and become an automated tester. I too am having trouble with:<br /><br />undefined method `page' for module `Capybara' (NameError)<br /><br />I am using RubyMine<br />Copied & Pasted your code (modifying require 'features/support/patches/capybara' to require File.dirname(__FILE__) + '/patches/capybara')<br /><br />Gems install include:<br /><br />source 'https://rubygems.org'<br />gem 'shotgun'<br />gem 'nokogiri', '1.6.0'<br />gem 'rake'<br />gem 'launchy'<br />gem 'gherkin'<br />gem 'cucumber'<br />gem 'capybara'<br />gem 'rspec'<br />gem 'selenium'<br />gem 'selenium-webdriver'<br />gem 'gizmo'<br />gem 'term-ansicolor'<br /><br />Here is my env file:<br />#require 'rspec/expectations'<br />require 'uri'<br />require 'net/http'<br /><br />#CAPYBARA<br />require 'capybara/cucumber'<br />require 'capybara/session'<br /><br />require File.dirname(__FILE__) + '/patches/capybara'<br />Capybara.default_driver = :selenium<br />Capybara.run_server = false<br />Capybara.default_selector = :css<br />Capybara.default_wait_time = 20<br /><br />#gizmo<br />require 'gizmo'<br />World(Gizmo::Helpers)<br /><br />Gizmo.configure do |config|<br /> config.mixin_dir = File.dirname(__FILE__) + '/../pages'<br />end<br />dwhelannoreply@blogger.comtag:blogger.com,1999:blog-6898534150006909939.post-28357194864659997632013-07-19T16:51:33.687+10:002013-07-19T16:51:33.687+10:00Hi I tried this way and it helped me set manual ne...Hi I tried this way and it helped me set manual network setting in fire fox .<br /> <br />address : "x.x.x.x:8080" and Import respective packages<br /> <br />enter code here<br /> <br /> <br /> <br />public class SeleniumUtil <br /> <br />WebDriver driver;<br /> <br />SeleniumUtil()<br /> <br />String PROXY = "192.1.1.1:8080";<br /> <br />org.openqa.selenium.Proxy proxy = new org.openqa.selenium.Proxy();<br /> ProxysetSslProxy=proxy.setHttpProxy(PROXY).setFtpProxy(PROXY).setSslProxy(PROXY);<br /> <br />DesiredCapabilities cap = new DesiredCapabilities();<br />cap.setCapability(CapabilityType.PROXY, proxy);<br />driver = new FirefoxDriver(cap);<br /> <br />@BeforeSuite(alwaysRun = true)<br />public void setupBeforeSuite() <br /> Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-6898534150006909939.post-66180968753645821032013-07-11T17:19:42.830+10:002013-07-11T17:19:42.830+10:00How can we take the whole browser screenshot, not ...How can we take the whole browser screenshot, not the page alone. I want the whole desktop screenshot when a scenario fails.Vinothhttps://www.blogger.com/profile/07040220308523516319noreply@blogger.comtag:blogger.com,1999:blog-6898534150006909939.post-78885472416165137372013-07-08T12:15:47.313+10:002013-07-08T12:15:47.313+10:00To install ruby you can use the windows installer....To install ruby you can use the windows installer. just search railsinstallerWedding Organizer Jogjahttp://newdaywedding.netnoreply@blogger.comtag:blogger.com,1999:blog-6898534150006909939.post-48399943109958000822013-06-22T19:04:18.723+10:002013-06-22T19:04:18.723+10:00Great Tutorial on cucumber. Will try it nowGreat Tutorial on cucumber. Will try it nowUndangan Pernikahan Klatenhttp://undanganpernikahanklaten.wordpress.com/noreply@blogger.comtag:blogger.com,1999:blog-6898534150006909939.post-1251932682527625422013-04-07T19:32:12.935+10:002013-04-07T19:32:12.935+10:00Hi Sudhir,
Have you resolved the Nameerror problem...Hi Sudhir,<br />Have you resolved the Nameerror problem? if so how?<br /><br />undefined method `page' for module `Capybara' (NameError)<br />./features/support/patches/capybara.rb:3Unknownhttps://www.blogger.com/profile/16645379642530585310noreply@blogger.comtag:blogger.com,1999:blog-6898534150006909939.post-65962505083718053992013-03-07T06:56:16.404+11:002013-03-07T06:56:16.404+11:00Do you have additional settings for Capybara runni...Do you have additional settings for Capybara running your server locally during testing on example.com (local DNS)? Trying to get past setting up a server before running tests if I can. Can't find the right introspection URL to pass to Savon.jancelhttps://www.blogger.com/profile/03507603666894833823noreply@blogger.comtag:blogger.com,1999:blog-6898534150006909939.post-60687076412394129442013-03-01T09:43:43.353+11:002013-03-01T09:43:43.353+11:00Hi Arun,
The code is just to click an element wit...Hi Arun,<br /><br />The code is just to click an element with a particular ID.<br /><br />The solution above is basically to try clicking the element again if we encountered the (Selenium::WebDriver::Error::ObsoleteElementError) errorBAhttps://www.blogger.com/profile/14228063565985062632noreply@blogger.com