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 2011

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

Re: [QF-Test] Any support for windows based SSH or Terminal from within QFTest

  • Subject: Re: [QF-Test] Any support for windows based SSH or Terminal from within QFTest
  • From: Gregor Schmid <Gregor.Schmid@?.de>
  • Date: Thu, 13 Oct 2011 08:38:36 +0200

Hi Sean,

last time I looked there wasn't ssh support in Jython and telnet
didn't work due to lack of native modules. With Jython 2.5, telnet
might work, but I don't think ssh is an option.

You can always look for native Java libs that can handle ssh or telnet
and use Jython to work their API. If security is not an issue, there's
a Java-based telnet server called PWTS that works well on Windows.

On the other hand: Instead of scripting all that yourself, why not use
expect itself on the target machines and just run expect from QF-Test?
It should even be possible to run the QF-Test daemon on the remote
hosts and use the qfs.daemon.startRemoteSUT procedure to launch the
expect script, then wait for it to finish, handle its exit code and
output just as if it were a locally started process.

Best regards,

Sean Cook <qftest@?.net> writes:

> I'm currently working on a windows test head and need to investigate having a test or script from
> within QFTest make a call or perform an ssh to a remote system and then would need to utilize
> "basic" expect functionality. If there were a python module that could be installed and utilized
> from within QFtest, that might be acceptable. Maintenance of the test heads is obviously more
> difficult as they are currently Windows based and some are individual laptops.
> Does QFTest have anything builtin with the current jython/groovy modules? 
> Has anyone done anything similar? Does anyone have recommendations?
> Cheers,
> Sean Cook

Gregor Schmid                                Gregor.Schmid@?.de
Quality First Software GmbH                     http://www.qfs.de
Tulpenstr. 41                               Tel: +49 8171 38648-0
DE-82538 Geretsried                         Fax: +49 8171 3864816
GF: Gregor Schmid, Karlheinz Kellerer          HRB München 140833

Videos Downloads Documentation Buy Free Trial