So I'm running my newly made program and the code compiles but I do get this debugging output every time I run it: 'ir.exe' (Managed (v4.0.30319)): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_32\mscorlib\v4.0_4.0.0.0__b77a5c561934e089\mscorlib.dll' 'ir.exe' (Managed (v4.0.30319)): Loaded 'C:\Program Files (x86)\IronRuby 1.1\bin\ir.exe' 'ir.exe' (Managed (v4.0.30319)): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\IronRuby\v4.0_1.1.3.0__7f709c5b713576e1\IronRuby.dll' 'ir.exe' (Managed (v4.0.30319)): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Core\v4.0_4.0.0.0__b77a5c561934e089\System.Core.dll' 'ir.exe' (Managed (v4.0.30319)): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System\v4.0_4.0.0.0__b77a5c561934e089\System.dll' 'ir.exe' (Managed (v4.0.30319)): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\Microsoft.Dynamic\v4.0_1.1.0.20__7f709c5b713576e1\Microsoft.Dynamic.dll' 'ir.exe' (Managed (v4.0.30319)): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\Microsoft.Scripting\v4.0_1.1.0.20__7f709c5b713576e1\Microsoft.Scripting.dll' 'ir.exe' (Managed (v4.0.30319)): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Configuration\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Configuration.dll' 'ir.exe' (Managed (v4.0.30319)): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Xml\v4.0_4.0.0.0__b77a5c561934e089\System.Xml.dll' 'ir.exe' (Managed (v4.0.30319)): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\IronRuby.Libraries\v4.0_1.1.3.0__7f709c5b713576e1\IronRuby.Libraries.dll' A first chance exception of type 'IronRuby.Builtins.SyntaxError' occurred in IronRuby.dll The program '[2432] ir.exe: Managed (v4.0.30319)' has exited with code 1 (0x1). Any ideas what's going on here? Googling this Syntax Error didn't help much. Thanks.
on 2012-03-06 22:47
on 2012-03-09 22:54
Sure, here it is:
class login
include Tester
before(:all) do
@app = Bewildr::Application.start('c:/windows/notepad.exe')
end
There were some commented lines but I took them out.
Previously I've worked with Watir and used this:
test_suite "Login" do
include TestHelper
before(:all) do
open_browser("http://localhost:54850/home")
end
Is it possible to have an equivalent of test_suite declaration in IR?
Please log in before posting. Registration is free and takes only a minute.
Existing account
(Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
Log in with Google account | Log in with Yahoo account
No account? Register here.