Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » RCP Testing Tool » Parameter Use
Parameter Use [message #1445367] Wed, 15 October 2014 10:36 Go to next message
maherzia belaazi is currently offline maherzia belaaziFriend
Messages: 41
Registered: October 2014
Member
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 10:48 Go to previous messageGo to next message
Ivan Inozemtsev is currently offline Ivan InozemtsevFriend
Messages: 0
Registered: January 2015
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 11:04 Go to previous message
maherzia belaazi is currently offline maherzia belaaziFriend
Messages: 41
Registered: October 2014
Member
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: Thu Apr 25 17:53:19 GMT 2024

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

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

Back to the top