") + result.console_output.split("\n").join("

") unless result.console_output.nil? if text.empty? lines = [] begin File.open("ls_#{result.id}.out","r").each_line do |line| lines << line end rescue lines << "Could not get console output" end text = lines.join("

") end suite = Kaya::Suites::Suite.get(result.suite_id) custom_params = result.custom_params.empty? ? 'Not Defined' : result.custom_params_values.gsub('kaya_custom_params=',"") execution_name = result.execution_name.empty? ? 'Not Defined' : result.execution_name.gsub('-_-',' ') git_log = result.git_log.split('Author').first javascript = Mote.parse(File.read("#{Kaya::View.path}/javascript.mote"), self, []).call() ?> Result for {{result.suite_name}} {{javascript}}

Result for {{result.suite_name}} execution {{result.stopped? ? '(Stopped)' : ''}}

Result ID: {{result.id}}
% if Kaya::Support::Configuration.use_git?
Git log: {{git_log}}
% end
Status: {{result.status}}
% if result.timeout
Timeout: Stopped After {{result.timeout}} seconds
% end % if result.started_at
Duration: {{result.elapsed_time}} seconds
% end
Execution Name: {{execution_name}}
Custom parameters:{{custom_params}}
 
Close this window Result Data Execution Data % unless result.status =~ /finished|stopped/ Stop execution % end
% if (result.process_running? or result.running?) and (result.seconds_without_changes > Kaya::Support::Configuration.inactivity_timeout) and Kaya::Support::Configuration.reset_execution_availability? % elapsed = Kaya::View.formatted_for(result.seconds_without_changes)

There is no changes in this execution since more than {{elapsed}}.

If the suite you asked is still running, you can stop it by pressing the following button

Stop execution {{result.suite_name}}  

% end
{{text}}


Close this window