Class: OnlyofficeDocumentserverTestingFramework::DocEditor

Inherits:
Object
  • Object
show all
Defined in:
lib/onlyoffice_documentserver_testing_framework/test_instance_docs/doc_editor.rb

Overview

Class for all Doc Editor actions

Direct Known Subclasses

PresentationEditor, SpreadsheetEditor

Instance Method Summary collapse

Constructor Details

#initialize(instance) ⇒ DocEditor

Returns a new instance of DocEditor.



9
10
11
# File 'lib/onlyoffice_documentserver_testing_framework/test_instance_docs/doc_editor.rb', line 9

def initialize(instance)
  @instance = instance
end

Instance Method Details

#top_toolbarDocEditorTopToolbar

Returns top toolbar.

Returns:



14
15
16
# File 'lib/onlyoffice_documentserver_testing_framework/test_instance_docs/doc_editor.rb', line 14

def top_toolbar
  @top_toolbar ||= DocEditorTopToolbar.new(@instance)
end

#windowsDocEditorWindows

Returns windows of doc editor.

Returns:



19
20
21
# File 'lib/onlyoffice_documentserver_testing_framework/test_instance_docs/doc_editor.rb', line 19

def windows
  @windows ||= DocEditorWindows.new(@instance)
end