2018 up to now | 2017 | 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 2007

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

[QF-Test] Setup, dependencies and exception handling

  • Subject: [QF-Test] Setup, dependencies and exception handling
  • From: "Kelstrup, Louise" <louise.kelstrup@?.com>
  • Date: Tue, 10 Jul 2007 13:37:45 +0200

This dependency stuff is really hard to get right :-)
I have observed that parent dependencies are not executed if the child contains a setup node. Is that correct behaviour?
Testset GranParent
  Dependency A
  Testset Parent (inherits dependencies)
      Setup B: Change data
      Testcase C
      Testcase D
I use dependency A to ensure that all preconditions are met (example application started and mainwindow open). The Setup B node is used for doing some steps that all testcases in the set starts with (instead of repeating myself in every testcase). I would expect the execution of testset Parent to ´start executing Dependency A before the setup node, but the dependency is skipped. 
I understand that it will work if I change the setup B to a dependency, but I like to keep the distinction between preconditions and steps that I want to be performed for every testcase.
I would like to hear comments on this.
By the way, does anyone have some good examples of how to implement high-level exception handling in the script? I am trying to make my script more exception resistent and would appreciate some inspiration. Thank you.
Louise Kelstrup

Capgemini Danmark A/S, Registered office: Gentofte, Reg.No. 25606965



This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message.