Logo QF-Test

Finding valuable answers
in the Mailing List Archive.


Free Trial  Download  Buy

Thomas Max, QF-Test training and support

Use the full-text search on our web site to find helpful tips on the mailing list.

Thomas Max, 
Sr. Software Engineer & Trainer, QFS

2017 up to now  | 2016 | 2015 | 2014 | 2013 | 2012 | 2011 | 2010 | 2009 | 2008 | 2007

(older archive entries before 2007 are not shown here, but included in the onsite-search)

Mailing List - Entries of 2012

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[QF-Test] Passing values between Jython server script & QF-Test procedure

  • Subject: [QF-Test] Passing values between Jython server script & QF-Test procedure
  • From: "Jayakumar, Sumathi" <Sumathi.Jayakumar@?.com>
  • Date: Tue, 22 May 2012 09:38:54 +0200



I have a procedure that has a Jython server script that does string manipulation and splits a given URL to Host and Port.


Second procedure needs to receive the HostName and Port name and make connections based on these.



global hostName

global PortNo



var1= myurl[:-5]




print hostName                               





PortNo = myurl[l2:l]

print PortNo



My concerns here are:

  1. The value of myurl will be passed from command line. So how do I adopt it in the Server script?
  2. The second procedure which actually performs the connection in eclipse – how do I pass the variables (hostname and PortNo) to this?



Please help me find a lead here.




Best Regards,




Videos Downloads Documentation Buy Free Trial