Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » RCP Testing Tool » how to use listen api for AUT's console log(how to use listen api for AUT's console log)
how to use listen api for AUT's console log [message #1739581] Wed, 03 August 2016 06:55
Shilpee Kh is currently offline Shilpee KhFriend
Messages: 3
Registered: August 2016
Junior Member
I want to use "listen" api in ecl to check a text in AUT console log.

Existing example in ECL says,
// assert no new errors while clicking on the button
listen errorLog {
get-button OK | click
} | assert-empty

Instead of errorLog, I want to use my AUT's console to check for a text and if I find the text, my test would pass.

Something like :
listen consoleLog{
get-property text | contains "myText"
} | verify-true

Not sure, how to specify AUT console log.
Previous Topic:Runner exit codes
Next Topic:Resolving AUT in maven
Goto Forum:
  


Current Time: Thu Apr 25 05:34:04 GMT 2024

Powered by FUDForum. Page generated in 0.02717 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top