Mailing list - Entries of 2006


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

[qftestJUI] Procedure parameters evaluation


  • Subject: [qftestJUI] Procedure parameters evaluation
  • From: kokoth <kokoth@?.cz>
  • Date: Thu, 11 May 2006 16:21:57 +0200
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:sender:to:subject:mime-version:content-type:x-google-sender-auth; b=lQcRyLzd8ndAr9H2V10Qrz6gar4B2QsoBnZ5hBcQqfd8/xAFbQOZIya/1xBliB62sLZe1V2M824zPMvB4dLh7yzs2sqmz3zzz+fAS6NjQqiNpCIekMT5xGqABtNrkM0J8eX3xkUREMkbFUD58qY2sIZ6rapdxP09hFhmdo4DgHo=

Hello,
I have this test suite:

Test-suite
- Test
- Procedures
  - Procedure A (param=A)                                                                (1)
    - Server script (rc.logMessage("$(param)")) -> A                              (2)
    - Call procedure B($(param))                                                          (3)
  - Procedure B (param=B)                                                                (4)
    - Server script (rc.logMessage("$(param)")) -> B, SHOULD BE A      (5)
- Extras
  - Call procedure A()                                                                         (7)
- Windows and components

(1) procedure A has variable param with default value A
(2) script prints value of $(param) -> A
(3) procedure A calls procedure B with param=$(param)
(4) procedure B has variable param with default value B
(5) script prints value of $(param) -> B

Im not sure, but I think, that in step (5) I should get value A insted of B.

run-log (compact)
- Call procedure A()
  - Procedure A
    - Server script
      - xxx Expansion of code: 'rc.logMessage("$(param)")' => 'rc.logMessage("A")'
      - xxx A
    - Call procedure B($(param))
      - Procedure B
        - Server script
          - xxx Expansion of code: 'rc.logMessage("$(param)") => 'rc.logMessage("B")'
          - xxx B

Attachment: example.qft
Description: application/qftestjui


Videos Downloads Documentation Buy Free Trial