I am facing a small problem in array.
I am placing the values of the select list in an array. Now I want to
check if any of the values in the array is greater then the “0.0” .
I had used the following command:
if ((p[x] >= 0.0))
I am getting the following error:
Loaded suite login
Web page opened successfully
.They can be used
Finished in 16.074 seconds.
NoMethodError: undefined method
>=' for nil:NilClass login.rb:111:intest_b_add_activity’
2 tests, 0 assertions, 0 failures, 1 errors
Can anyone suggest me the solution for this?
Thanks in advance.