When running cpia scripts, Chandler will always start up at "today". If you'd like Chandler to jump to the same date range every test for more predictable functional or performance tests, you can use the code below:

  from datetime import datetime

  # Jump to the week of Dec 14, 2005
  testdate = datetime(2005, 12, 14)
  App_ns.root.SelectedDateChanged(start=testdate)

Cheers,
Katie

_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

Open Source Applications Foundation "Dev" mailing list
http://lists.osafoundation.org/mailman/listinfo/dev

Reply via email to