StandardLibrary ReleaseNotes
Aus ExpeccoWiki
This page lists the changes made to the StandardLibrary.
Inhaltsverzeichnis |
1.9.1
New Blocks
- "Windows [ Open Document ]" in "Tools"
- "HALT" in "Assertions, Exceptions & Logging"
- "PAUSE" in "Assertions, Exceptions & Logging"
Improvements
Many of the Assert-blocks show a better error message (especially, the equal and relop assertions).
General
New steps used to get an "unlimited parallelity" in previous expecco versions, and limited actions were marked as such. With 1.9.1, this was changed: new steps now get a limit of 1, and non-1-limited steps are marked. This is only a change in the look - not the semantics. If you load an older suite into 1.9.1 expecco, most steps will be shown with the [#] (parallel execution) indicator.
1.8.3
New Blocks
- "EBCDIC Encode" and "EBCDIC Decode" in "String Processing" - "Encoding"
- "StartTime of Current TestPlan" in "Misc" - "Expecco Reflection"
- "Current TestPlan" and "Current TestCase" in "Misc" - "Expecco Reflection"
- "Execute Smalltalk Expression" and "Execute JavaScript Expression" in "Misc" - "Special Execution"
- "OS [ Is Windows ]" and "OS [ Is Unix ]" in "OS"
- "String [ Regular Expression Match for Subexpressions? ]" in "String Processing" - "Comparing"
- Clear Transcript in "Assertions & Logging" - "Loggin & Messages"
- Contents of Transcript in "Assertions & Logging" - "Loggin & Messages"
1.8.1
New Blocks
- "Assert [ Same Collection Elements ]" in "Assertions"
- "Compare [ Same Collection Elements ]" in "Comparing"
- "Wait Forever" in "Misc"
- "Data Collector [ OrderedCollection ]" in "Collections" - "Collecting & Streaming"
- "Stream [ Reading from String ]" in "Stream I/O" - "Internal Streams"
- "Stream [ Writing Into String ]" in "Stream I/O" - "Internal Streams"
- "Stream [ Collected Contents ]" in "Stream I/O" - "Internal Streams"
- "Log [ Screendump to File ]" in "Assertions" - "Logging"
- "Log [ Screendump Area to File ]" in "Assertions" - "Logging"
1.7.4
New Blocks
- "Executor Specify Concrete Block" , "Executor Specify Concrete Library" in "Misc" - "Virtual to Concrete Mapping"
- "Get Resource by ID" , "Get Skill Attribute from Resource" and "Get Name from Resource" in "Misc" - "Resources"
- "Directory [ ProjectFile Path ]" in "Misc" - "Expecco Reflection"
1.7.3
New Blocks
- "32bit Sum", "32bit Difference" and "32bit Product" (in "Modulu Arithmetic"): New blocks for modulu arithmetic (to simulate C/C++/Java/C# arithmetic errors)
- "Name of Current TestCase" and "Name of Current TestPlan" (in "Expecco Reflection"): allow for customized info-messages or log-entries
- "Starttime of Current TestCase" (in "Expecco Reflection"): useful to compute relative times for log-entries
- "Confirm 2-way" and "Confirm with Cancel 3-way" in "GUI Dialogs"
- "Local Specify Concrete Block" , "Local Specify Concrete Library" , "Global Specify Concrete Block" and "Global Specify Concrete Library" in "Misc"-"Virtual to Concrete Mapping"
1.7.2
New Blocks
- "Report [Generate]" (in "Reporting"): New block to programatically generate reports (pdf or html).
- "Generate PrimeNumbers" (in "Data Generators"): Generates a collection of primeNumbers.
- "Next Prime" (in "Data Generators"): Generates the next prime number after some given number.
- "IsPrimeOrNot" and "IsPrime" (in "Arith / Misc Math"): Check if a number is a prime number.
- "Ld" (in "Arith"): Compute the logarithm base 2 (logarithm dualis). That is the number of binary digits needed to represent the input number.
- "HighBit" and "LowBit" (in "Arith / Bit Manipulation"): Compute the bit number of the highest/lowest bit of the input.
- "LeftShift" and "RightShift" (in "Arith / Bit Manipulation"): BitShifted integers.
- "BitAnd", "BitOr" and "BitXor"(in "Arith / Bit Manipulation"): Bit operations.
- "Sign?" and "Signum" (in "Arith"): Compare against 0.
- "JSON Encode" and "JSON Decode" (in "Networking & interfacing / JSON"): Encode and decode objects from and into JSON format.
- "Information Message" (in "Logging"): Shows a user information message at the window bottom.
- "Show / Hide Transcript" (in "Logging"): To make the transcript window visible/invisible.
- "Log [ Screendump Area ]": Like "Log [Screendump]" but generate a snapshot of a specified screen area (instead of the full screen).
- More value-check assertions.
- "Image [ From File ]" , "Image [ Save As File ]" , "Image [ Screendump ]" and other image manipulation blocks in the "Images" folder.
- "Stream [ EOF? ]" , "Stream [ ReadUpTo ]" , "Stream [ ReadThrough ]" and "Stream [ Skip ]" (in "Stream I/O").
- "TimeDuration [ Sum ]" , "TimeDuration [ Difference ]" and "TimeDuration [ Scale ]"
- "Dialog [ Show Table ]" (in GUI-Dialogs).
- "Collection [Enumerate with EndMark]" in "Collections"
- "Collection [Select XXX]" and "Filter [XXX]" in "Collections"
- "Cast [ Any-to-Any with Check ]" in "Type Conversions"
- "Environment [ Initialize Project Environment ]" in "Variables"
- "Convert [ String to ByteArray ]" and "Convert [ ByteArray to String ]"
- "Hash [ MD5 ]" , "Hash [ SHA1 ]" and "Hash [ CRC32 ]" (in "Networking & Interfacing/Checksums & Cryptography).
1.7.1
General
All blocks are now tagged as "standard" and a group-tag. By setting an "exclude-tag" in the report-template, all blocks from the std-lib can now be easily hidden from traces or activity logs. Of course, it is now also easier to find blocks using the tag as a filter (try "stream", "collection", "file" etc.)
Name Changes
The "HTTP[FetchPage]" block has been renamed and moved into a "backward compatibility" folder. A new "HTTP[FetchPage]" block has been added, which generates a much more structured HTTP-Element node tree instead of a linear token list.
New Blocks
- "Environment [Set-Variable]" (in "Variables"): Modifies the variable which is the freeze-value of its input. It has been added as many users misunderstood the operation of the "Env [Set]" block (assuming that they have to do an env-freeze at its input, to set that variable).
- "Environment [Create-Variable]" (in "Variables"): Creates new variables dynamically.
- "Environment [Wait]" and "Environment [Watch]" (in "Variables"): Wait for a variable to change.
- "HTTP [Add File Service]" allows for files to be provided by expecco to an HTTP-capable system-under-test.
- more data generators: "Generate Series" and "Generate Geometric Series".
- more random data: "Random [Permutation]"
- "Collection [Enumeration]" to allow for all elements of a collection to be processed individually
- "Collection [ Enumerate Keys & Values ]"
- "Collection [Average & Deviation]" for statistics
- "Collection [Some Elements]", "Collection [First N existing Elements]" and "Collection [Last N existing Elements]"
- "Arith [ Round ]" and "Arith [ RoundTo ]"
- "Arith [ Fibonacci ]" and "Arith [ RaisedTo]"
- "Arith [ Tan ]" , "Arith [ ArcSin ]" , "Arith [ ArcCos ]" , "Arith [ ArcTan ]"
- "Convert [ String to UUID ]" and "Convert [ String to TimeDuration]"
- "String [ Formatting ] " to generate a formatted printString.
- "FileStream [ Open for Appending ]"
- "OS [ Hostname ]"
- "SMTP [ send email ]"
- "Socket [ Connect ]"
- "Socket [ Wait for Connection ]"
- "Log [ Info & Details ]"
- "Log [ Failure & Details ]"
- "Log [ Warning & Details ]"
- additional log blocks with detail
1.6.2
Name Changes
The SUCCESS block was renamed to OK, to reflect what it really does: only finish the current activity. A new block named PASS can now be used to signal a testcases SUCCESS and finish all pending activities for that testcase.
New Blocks
- "PASS" (in "Assertions, Exceptions & Logging"): Reports a Passed Test.
- "PASS2" (in "Assertions, Exceptions & Logging"): Reports a Passed Test.
- "Generate all Permutations" (in "Data Generators"): Produces all permutaions of the input-collection.
- "Random [ Permutation ]" (in "Data Generators"): Produces random permutations of the input-collection.
- "Pass Data if XXX" (in "Misc"): Passes data conditionally along connection pathes.
Implication
If you reimport this version, the names of all old "SUCCESS" steps will change to "OK". The semantics has not changed.