korimo / firewatir

Automatically exported from code.google.com/p/firewatir
0 stars 0 forks source link

I am not able to call a ruby file from a ruby file after upgarding watir version to 1.6.2. #90

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. If i check on irb, it is working fine.
2. But when i execute ruby file automatically in which a different file is 
calling, it is not working fine.

What is the expected output? What do you see instead?
Expected behavior is it will call that ruby file by using th ruby exe.

Please use labels and text to provide additional information.
Following are the piece of code which i am using for calling a ruby file 
and gets error:

 begin
              @dt=HTMLReport.new("#{rptpath}/#{tstname}.html")
              @dt.CreateTitle(tstname)
              ccount=0
              @script_failed=false
              @stop_execution=true
              startTime = Time.new 
              while  @dtt.ReadData("Action#{ccount}","Flow") != "" and 
@dtt.ReadData("Action#{ccount}","Flow") != nil
                action_name=@dtt.ReadData("Action#{ccount}","Flow")
                $current_action = action_name
                tempr=@dtt.Findvalue("TC_ID","Testdata",tstname)
                @dtt.SetCurrentRow(tempr)
                self.send(action_name)
                 @dtt.SetCurrentRow(rr)
                 if @script_failed and @stop_execution and  @dtt.ReadData
("Action#{ccount+1}","Flow") != "" and @dtt.ReadData("Action#
{ccount+1}","Flow") != nil
                    while @dtt.ReadData("Action#{ccount+1}","Flow") != "" 
and @dtt.ReadData("Action#{ccount+1}","Flow") != nil
                      ccount+=1
                    end
                   ccount-=1
                  end
                ccount+=1
              end

Original issue reported on code.google.com by cutiemee...@gmail.com on 20 Oct 2009 at 5:31

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
moved to http://jira.openqa.org/browse/WTR-408

Original comment by zeljko.f...@gmail.com on 5 Nov 2009 at 2:41

GoogleCodeExporter commented 9 years ago
Ticket moved to http://jira.openqa.org/browse/WTR. Please see comments for
the exact URL.

Original comment by zeljko.f...@gmail.com on 20 Nov 2009 at 10:39