Basically I just started learning the use of selenium on Rail 3, I started with Selenium IDE and generated the script in the RSPC format
Before running this script, I created the but as I use this script using the rspec command To run, I got it I have tried to find the answer, I found only one case which is close to me, which nobody has answered yet so far. CA Thank you in advance. Please note that the problem is your version of APC Selenium Gems are looking for 1.2.8 or higher, but In 2.0 its class structure had a hard change. Selenium is looking for files, sections and methods, which are no longer present in Rupe 2. If you uninstall then currently the current version of Rs: It should fix your issues if you are using RS for anything else in your automation, this is probably not a viable option. selenium-client ,
selenium ,
selenium-rails and
selenium-webdriver
C: /Ruby192/lib/ruby/site_ruby/1.9. 1 / rubygems / custom_require.rb: 58: in `require ': No such file to load - spec C (LoadError): /Ruby192/lib/ruby/site_ruby/1.9.1/rubygems/custom_require .rb: 58: Rescue in `require ': /Ruby192/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb: 35: to require Men` C' C: / Ruby192 /lib/ruby/gems/1.9.1/ Gemstones / Selenium-Client-2.1.28 / Leib / Selenium / RSPEC / Speck_Helper RB: 2: `` at the top (required) & gt; /Ruby192/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb :: 36: require the `C from C ': /Ruby192/lib/ruby/site_ruby/1.9.1/rubygems/custom_require .rb: 36: Requires 'from': Users / Quasang / Desktop / Code / Next Bigging / SPEC / Selenium / Content_NUUUSER RB: 5: `` and lieutenant; Top (required) & gt; From C: /Ruby192/lib/ruby/gems/1.9.1/gems/rspec-core-2.5.1/lib/rspec/core/configuration.rb: 386: 'Load' in C: / Ruby 192 / Lib / ruby / gems / 1.9.1 / gems / rspec core -2.5.1 / lib / rspec / core / configuration.rb: 386: /Ruby192/lib/ruby/gems/1.9: `block load_spec_files from C In. 1 / gemma / rspec-core-2.5.1 / lib / rspec / core / configuration.rb: 386: In 'map' with C: /Ruby192/lib/ruby/gems/1.9.1/gems/rspec-core- 2.5.1 / lib / rspec / core / configuration.rb: 386: in load_spec_files' from `C: /Ruby192/lib/ruby/gems/1.9.1/gems/rspec-core-2.5.1/lib/rspec/ Core / Command_lineRB: 18: 'Run' in C: / Ruby19/2 / Lib / Ruby / Games / 1.9.1 / Games / RSPC -core-2.5.1 / Lib / RSPC / Core / Roner RB: 55: in `Rn_in_proses 'in C: /Ruby192/lib/ruby/gems/1.9.1/gems/rspec-core-2.5.1/lib/rspec/core/runner.rb: 46:` Run' C: / Ruby 1 9 2 / Leib / Ruby / Gem / 1.9.1 / Gem / RSPEC-Core -2.5.1 / Leib / RSPEC / Core / Runner: Rb: 10: Block in 'AutoRun'
Install Gemepepepec -v 1.3.1
Comments
Post a Comment