This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'operawatir/desktop_helper' | |
describe 'Password Strength' do | |
before :all do | |
browser.open_dialog_with_action('Feature Dialog', 'Set up Sync') | |
browser.quick_button(:name, 'button_Next').change_page_with_click | |
@new_password_edit = browser.quick_editfield(:name, 'new_password_edit') | |
end | |
before :each do |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
● gem install rspec --version "2.6.0" | |
System.java:-2:in `arraycopy': java.lang.ArrayIndexOutOfBoundsException | |
from DefaultResolver.java:111:in `makeTime' | |
from DefaultResolver.java:277:in `create' | |
from DefaultResolver.java:317:in `handleScalar' | |
from DefaultResolver.java:435:in `orgHandler' | |
from DefaultResolver.java:455:in `node_import' | |
from org/yecht/ruby/DefaultResolver$s_method_1_0$RUBYINVOKER$node_import.gen:65535:in `call' | |
from CachingCallSite.java:146:in `call' | |
from RubyLoadHandler.java:40:in `handle' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
● gem install rspec | |
Successfully installed rspec-core-2.6.2 | |
Successfully installed diff-lcs-1.1.2 | |
Successfully installed rspec-expectations-2.6.0 | |
Successfully installed rspec-mocks-2.6.0 | |
Successfully installed rspec-2.6.0 | |
5 gems installed | |
● rspec --version | |
2.6.2 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'operawatir/helper' | |
describe '323197' do | |
before :all do | |
browser.goto 'http://t/core/bts/interactive/323197/001.html' | |
@counter = browser.div | |
end | |
# | |
# The counter should increase each time you press F10. If the count |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
● $OPERA_PATH | |
(<unknown>:2485): Gtk-WARNING **: /usr/lib/gtk-2.0/2.10.0/immodules/im-ibus.so: wrong ELF class: ELFCLASS64 | |
(<unknown>:2485): Gtk-WARNING **: Loading IM context type 'ibus' failed | |
/usr/lib/gtk-2.0/2.10.0/menuproxies/libappmenu.so: wrong ELF class: ELFCLASS64 | |
(<unknown>:2485): Gtk-WARNING **: Failed to load type module: /usr/lib/gtk-2.0/2.10.0/menuproxies/libappmenu.so | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.opera.core.systems; | |
import junit.framework.Assert; | |
import org.junit.After; | |
import org.junit.AfterClass; | |
import org.junit.Before; | |
import org.junit.BeforeClass; | |
import org.junit.Ignore; | |
import org.junit.Test; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.opera.core.systems; | |
import junit.framework.Assert; | |
import org.junit.Before; | |
import org.junit.Test; | |
public class EcmaScriptTest extends TestBase { | |
@Before |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.opera.core.systems; | |
import junit.framework.Assert; | |
import org.junit.Before; | |
import org.junit.Test; | |
import org.openqa.selenium.WebDriverException; | |
public class EcmaScriptTest extends TestBase { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'watir-webdriver' | |
describe 'A Website' do | |
before(:all) { @browser = Watir::Browser.new :firefox } | |
it 'contains "Mozilla"' do | |
@browser.goto 'http://mozilla.org/' | |
@browser.text.should include 'Mozilla' | |
end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.opera.core.systems.example; | |
import com.opera.core.systems.OperaDriver; | |
import com.opera.core.systems.settings.OperaDriverSettings; | |
import org.openqa.selenium.By; | |
public class ManualExample { | |
public static void main(String[] args) { | |
OperaDriverSettings settings = new OperaDriverSettings(); |