Mailingliste - Einträge 2006

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

Re: [qftestJUI] 2 questions

  • Subject: Re: [qftestJUI] 2 questions
  • From: Karlheinz Kellerer <Karlheinz.Kellerer@?.de>
  • Date: 30 Mar 2006 14:17:53 +0200

Hi Mark,

Mark Willburger <Mark_Willburger@?.com> writes:

>    1) is there a way to get the absolute timestamp (time since 1970 for
>    example)

For getting the miliseconds since Jan 1st 1970 you can e.g. put the 
following code in _server script_:

from java.util import Date
d = Date()
ms = d.getTime()
rc.setLocal("ms1970", ms)

>    2) can a single instance of qftest run/control more than one program
>    concurrently?

Yes, that's possible. Basically the "client" attribute specifies which client will be
controlled by the respective node (e.g. see 16.6.2  Start SUT client node). 
You can simply start and control a second programm by using a different "client"

A special form of running multiple clients is load testing as discribed in
manual "Chapter 14  Performing GUI-based load tests". 

Best regards, 

Karlheinz Kellerer                     Karlheinz.Kellerer@?.de
Quality First Software GmbH