Skip to main content



      Home
Home » Eclipse Projects » RCP Testing Tool » How to log an entry to the XML report
How to log an entry to the XML report [message #1692062] Mon, 13 April 2015 02:43 Go to next message
Eclipse UserFriend
Hi,

Is there any ECL command/way to log an entry to the XML report ?

I want to log some custom messages in my final XML report . Is it possible to do that ?
Re: How to log an entry to the XML report [message #1692510 is a reply to message #1692062] Thu, 16 April 2015 06:06 Go to previous messageGo to next message
Eclipse UserFriend
I think you have to define your own XML parcer using XML. You can use the file read/write syntax. Below is an example.

get-file "file:/home/RCPTT/File_To_Check/file.txt" | get exists // Checking if a file exist
str "Hello WorlD" | write-lines "file:/home/RCPTT/File_To_Check/file.txt" append // Writing into the file
show-alert [concat "The number of lines is " [read-lines "file:/home/RCPTT/File_To_Check/file.txt" | length | str ]] // Reading the file and finding its length


Not sure if this is the best way, this this is a way.
Re: How to log an entry to the XML report [message #1710147 is a reply to message #1692062] Mon, 05 October 2015 02:27 Go to previous message
Eclipse UserFriend
Hi Jeevan,

Please look at trace ECL command, it should fit your needs.

Kind regards,
Ulyana.
Previous Topic:[SOLVED] After AUT Splash Log In (How to pass arguments using Maven)
Next Topic:RCPTT not triggering table row selection listener
Goto Forum:
  


Current Time: Fri Jun 13 13:35:26 EDT 2025

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

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

Back to the top