Class: RFormSpec::Process

Inherits:
Object
  • Object
show all
Includes:
Driver, Singleton
Defined in:
lib/rformspec/process.rb

Class Method Summary collapse

Instance Method Summary collapse

Methods included from Driver

#close_window, #driver, #focus_window, #key_press, #mouse_click, #mouse_move, #open_file_dialog, #try_for, #wait_and_focus_window, #wait_for_window, #window_exists?

Methods included from TestWisePlugin

#connect_to_testwise, #debug, #dump_caller_stack, #notify_screenshot_location, #operation_delay

Class Method Details

.execute(prog, work_path = nil) ⇒ Object



14
15
16
# File 'lib/rformspec/process.rb', line 14

def self.execute(prog, work_path = nil)
  instance._run(prog, work_path)
end

.run(prog, work_path = nil) ⇒ Object



10
11
12
# File 'lib/rformspec/process.rb', line 10

def self.run(prog, work_path = nil)
  instance._run(prog, work_path)
end

Instance Method Details

#_run(program, work_path = nil) ⇒ Object

– instance methods



20
21
22
# File 'lib/rformspec/process.rb', line 20

def _run(program, work_path = nil)
  driver.Run(program, work_path)
end