msjit / testcasedb

TestCaseDB - Web based test case management
MIT License
40 stars 18 forks source link

NameError: undefined local variable or method `qax' for #<TcdbHome:0x00000000e0ea70> #34

Closed kirantpatil closed 10 years ago

kirantpatil commented 10 years ago

Steps to reproduce: 1) Created the single automation testcase as per automation_example.pdf file 2) Executed as below ruby test_suite.rb

Actual output: 1) All testcases runs as per in the script on the browser 2) Once all steps finished its output is as below [smita@localhost qax]$ ruby test_suite.rb Run options:

Running tests:

E

Finished tests in 8.921268s, 0.1121 tests/s, 0.0000 assertions/s.

1) Error: test_tcdb_home(TcdbHome): NameError: undefined local variable or method qax' for #<TcdbHome:0x00000000e0ea70> test_suite.rb:82:inrecord_result' /home/smita/Documents/qax/tcdb_home.rb:24:in `teardown'

1 tests, 0 assertions, 0 failures, 1 errors, 0 skips

Expected output: The testcase is passed and it should have published "Passed" in the testcase result at TestcaseDB server

Observation: The line where it shows error is where domain name is mentioned, in our case

Generate the HTTP request. Enable SSL if https included in URI

82 http://qax.greenturtles.in

kirantpatil commented 10 years ago

@joffems, what has gone wrong here ? Let me know if you need any further information.

kirantpatil commented 10 years ago

sorry, there was a extra line added when copy pasting the code. The error has gone once we removed the that line.