VisualWorks Testing Plugin Reference/en: Unterschied zwischen den Versionen

Aus expecco Wiki (Version 2.x)
Zur Navigation springen Zur Suche springen
Zeile 20: Zeile 20:
== GUIBrowser Integration ==
== GUIBrowser Integration ==


[[Datei:OpenGuiBrowser.png|200px|thumb|right|Open GUIBrowser Tab]]
Assuming that the expecco bridge is already running in your VisualWorks image,
Assuming that the expecco bridge is already running in your VisualWorks image,
open the GUIBrowser tab,
open the GUIBrowser tab,

[[Datei:OpenGuiBrowser.png|200px]]

and connect to the VisualWorks image via the connect-"Smalltalk" dialog:
and connect to the VisualWorks image via the connect-"Smalltalk" dialog:



Version vom 5. Mai 2020, 08:08 Uhr

Introduction[Bearbeiten]

The VisualWorks plugin interfaces to running VisualWorks application via the expecco bridge protocol, which is based on the protocol described [ Embedded_Systems_C_Bridge_API#Bridge_Wire_Protocol | here ].

The plugin provides the following functionality:

  • explore the UI in the expecco GUI browser (the widget hierarchy)
  • interact with VisualWorks UI components (simulate user interactions)
  • record/playback
  • execute code inside the VisualWorks image

Preparation[Bearbeiten]

The VisualWorks image must have the expecco bridge code installed and running. For this, it must either be started with a script (command line argument) to load the expecco bridge code upon startup, or it must have been deployed with the bridge parcel already installed.

The expecco bridge code is a separate package, provided by exept.

Code Execution[Bearbeiten]

You can create elememtary VisualWorks action blocks, which contain Smalltalk code which will be executed inside the VisualWorks image. This is similar to remote Smalltalk/X code execution and the API is described in the [Expecco_API/en#Bridged_Smalltalk_Elementary_Blocks | Bridges Smalltalk Elementary Blocks API Documentation].

GUIBrowser Integration[Bearbeiten]

Assuming that the expecco bridge is already running in your VisualWorks image, open the GUIBrowser tab,

OpenGuiBrowser.png

and connect to the VisualWorks image via the connect-"Smalltalk" dialog:

GuiBrowserConnectSmalltalk.png



Copyright © 2014-2024 eXept Software AG