Listing: Jython script for extracting the width of a table cell
Listing: Jythonskript zum Extrahieren der Breite einer Tabellenzelle
Then the Jython script is used to read and parse the data from the file, iterate over the data-sets and call back to QF-Test for each table-row to be created.
Im Jython SUT Skript wird die Datei mit den Werten eingelesen und geparst. In einer Schleife wird über die Datensätze iteriert und für jede zu erstellende Tabellenzeile die Prozedur aufgerufen.
QF-Test discriminates between simple expression that it evaluates itself and complex expressions that are passed to the Jython script language to evaluate.
QF-Test unterscheidet hierbei zwischen einfachen Ausdrücken, die es selbst auswertet und komplexen Ausdrücken, die es an die Skriptsprache Jython weiterreicht.
Here is a short sample Jython script demonstrating the usage of the Image API
Hier sehen Sie ein kleines Jython Beispiel, um die Verwendung der Image API darzustellen
This is done in the following Jython script with the methods loadTable to read the data from the file and verifyTable to verify the results.
Dies geschieht im folgenden Jython Skript mit den Methoden loadTable zum Lesen der Daten aus der Datei und verifyTable zum Überprüfen der Tabelle.
Administration of IBM Connections live objects on the other hand features a case-sensitive command line interface in which the administrator needs to use complex and case sensitive, multilevel commands following the Jython script language syntax.
Die Administration von IBM Connections Live Objects benötigt dann wieder eine zeichengenaue Kommandozeile, in der Benutzer komplizierte, syntaxabhängige und mehrstufige Befehle in der Scriptsprache Jython eingeben müssen.
No technology skills required: Both XML editing and the Jython script commands are done by CAT, the administrator doesn't necessarily need to know either
Kein technisches Know-how benötigt: Sowohl das Editieren der XML-Dateien, als auch die Script-Befehle in Jython werden von CAT erledigt, der Administrator muss nichts davon beherrschen
Autres résultats
I used Jython scripts to time test actions like searching, opening records, and application startup.
Ich nutzte Jython Skripte, um Aktionen wie Suchen, Öffnen von Datensätzen und dem Start der Anwendung zu messen.
You can use this terminal to experiment with Jython scripts, get a feeling for the language, but also to try out some sophisticated stuff like setting up database connections.
Darin können Sie mit der jeweiligen Skriptsprache experimentieren, um ein Gefühl für die Sprache zu entwickeln, aber auch komplexe Dinge ausprobieren wie z.B. das Herstellen der Verbindung zu einer Datenbank.
Note Accessing QF-Test variables in a condition follows the same rules as in Jython scripts (see subsection 12.2.3).
Hinweis Der Zugriff auf QF-Test Variablen in Bedingungen folgt den selben Regeln wie in Jython Skripten (vgl. Abschnitt 12.2.3).
42.9 Exception handling All QF-Test exceptions listed in chapter 36 are automatically imported in Jython scripts and can be used for try/except clauses like
Alle QF-Test Exceptions, die in Kapitel 36 aufgeführt sind, werden in Jython automatisch importiert und stehen in Skripts für try/except zur Verfügung, z.B.
Note You may use QF-Test variables of the syntax $(var) or ${group:name} in Jython scripts.
Hinweis In Jython-Skripten können QF-Test Variablen der Form $(var) oder ${Gruppe:Name} verwendet werden.
Using the script languages Jython and Groovy, you can integrate your own scripts both client-side and server-side.
Les exemples vous aident à traduire le mot ou l’expression cherchés dans des contextes variés. Ils ne sont ni sélectionnés ni validés par nous et peuvent contenir des mots ou des idées inappropriés. Signalez des exemples à modifier ou à retirer. Les traductions potentiellement sensibles, inappropriées ou familières sont généralement marquées de rouge ou d’orange.