K
Karthi kn
Hi,
I am writing automated test scripts using ruby. I have written two
files.
test_one.rb
test_two.rb
I have written some methods both the files. When one of the methods of
test_one.rb is running, If a condition fails, the control should exit
from test_one.rb and should continue with test_two.rb.
I tried with "exit" method. But it exits from the whole(i.e -
test_two.rb is not executed). I want to exit from the test_one.rb and
continue with test_two.rb.
Any of your suggestion is appreciated.
Thanks in advance...
I am writing automated test scripts using ruby. I have written two
files.
test_one.rb
test_two.rb
I have written some methods both the files. When one of the methods of
test_one.rb is running, If a condition fails, the control should exit
from test_one.rb and should continue with test_two.rb.
I tried with "exit" method. But it exits from the whole(i.e -
test_two.rb is not executed). I want to exit from the test_one.rb and
continue with test_two.rb.
Any of your suggestion is appreciated.
Thanks in advance...