[Dev] changing selected date range in cpia scripts

Katie Capps Parlante capps at osafoundation.org
Fri Oct 14 19:01:44 PDT 2005


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



More information about the Dev mailing list