Mailing list - Entries of 2006

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

[qftestJUI] using toServer and fromSUT

  • Subject: [qftestJUI] using toServer and fromSUT
  • From: "Eyere Takem" <Eyere.Takem@?.de>
  • Date: Thu, 26 Oct 2006 10:04:52 +0200

Hi Gregor,


I do not know where I am going wrong. I want to pass a variable from an SUT script to a server script.


  1. I set a global variable in a Server script

rc.setGlobal("table", "eyere")


  1. In the SUT script


# get the table component


table = rc.getComponent("scrollRight.table")



rc.toServer (table)


  1. In a Server script


        table2= rc.fromSUT("modeus","table")



When I run the above, I get the following error


KeyError: table



Where I am going wrong?


Best regards.



Videos Downloads Documentation Buy Free Trial