Skip to main content



      Home
Home » Eclipse Projects » RCP Testing Tool » Parameter Use
Parameter Use [message #1445367] Wed, 15 October 2014 06:36 Go to next message
Eclipse UserFriend
Hello,
I need to use a parameter in text property.
My parameter
$ipAdderesse
My command
get-property text | contains "Connecting to" + $ipAdderesse
I got syntax error
Any idea about this ?
Re: Parameter Use [message #1445373 is a reply to message #1445367] Wed, 15 October 2014 06:48 Go to previous messageGo to next message
Eclipse UserFriend
Hi, you can use either concat, or format:
get-property text | contains [concat "Connecting to" $ipAdderesse] | verify-true
get-property text | contains [format "Connecting to %s" $ipAdderesse] | verify-true

Re: Parameter Use [message #1445385 is a reply to message #1445373] Wed, 15 October 2014 07:04 Go to previous message
Eclipse UserFriend
Thanks !
That's what i'm looking for !
Previous Topic:[TUTO] Super context with eclScript
Next Topic:Timeout during testcase execution
Goto Forum:
  


Current Time: Sun Jul 13 11:09:40 EDT 2025

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

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

Back to the top