HI All,
I am using Expect and TCL to make some automation scripts.
I wanted to print some text in color to my output log file.
For example I have PASS or FAIL for each test case and wanted to show this in Green and Red colors to my output log file. Can this be done ?, Currently I have output...
Please help to resolve a problem related to regular expression and matching everything except "&&".
I have the following script
set bw tu12-1-1-1-3&tu12-1-2-1&&-3&tu12-1-3-1&tu12-1-7-2&&-3
regexp {([^&&]*)} $bw match
puts $match -> the output is "tu12-1-1-1-3"
==========
I wanted to match...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.