Changeset dde9e0e in sasview


Ignore:
Timestamp:
Aug 22, 2016 7:25:19 AM (8 years ago)
Author:
Piotr Rozyczko <rozyczko@…>
Branches:
master, ESS_GUI, ESS_GUI_Docs, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_iss879, ESS_GUI_iss959, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc, costrafo411, magnetic_scatt, release-4.1.1, release-4.1.2, release-4.2.2, release_4.0.1, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
Children:
e9f8208
Parents:
525aaa2
Message:

Deployment script: added a test of compiled models

File:
1 edited

Legend:

Unmodified
Added
Removed
  • build_tools/sasview_deploy_test.au3

    r55bbe0b2 rdde9e0e  
    9292   ; Start app - DEBUG ONLY 
    9393   ;;Run("C:\Program Files (x86)\SasView\SasView.exe") 
     94   Run("C:\util\SasView\SasView.exe") 
     95   local $sActiveWindow = "SasView  - Fitting -" 
    9496   Local $iFailFlag = 2 
    9597   ; Wait for the window 
    9698   Sleep(1000) 
    97    Local $hWnd = WinWaitActive("SasView  - Fitting -", "", $lTimeout) 
     99   Local $hWnd = WinWaitActive($sActiveWindow, "", $lTimeout) 
    98100   Assert($hWnd, $iFailFlag) 
    99101 
     
    113115   ControlClick($hWnd, "Send To", 231) 
    114116 
    115    ;; Choose a model 
     117   ;; Choose a python model 
    116118   ControlCommand($hWnd, "", "ComboBox3", "SetCurrentSelection", 1) 
    117  
    118119   ;; Calculate the model 
    119120   ControlClick($hWnd, "Compute", 211) 
     121   ;; Assure we got the charts 
     122   Local $hPlot = WinWait($sActiveWindow, "Graph2", $lTimeout) 
     123   Assert($hPlot, $iFailFlag) 
     124   $hPlot = WinWait($sActiveWindow, "Graph3", $lTimeout) 
     125   Assert($hPlot, $iFailFlag) 
     126 
     127   sleep(1000) 
     128   ;; Calculate a compiled model 
     129   ControlClick($hWnd, "Send To", 231) 
     130 
     131   ;; Choose Shapes/Cylinder 
     132   ControlCommand($hWnd, "", "ComboBox2", "SetCurrentSelection", 1) 
     133   ControlCommand($hWnd, "", "ComboBox3", "SetCurrentSelection", 11) 
     134   ;; Calculate the model 
     135   ControlClick($hWnd, "Compute", 211) 
     136 
     137   ;; Assure we got another chart 
     138   $hPlot = WinWait($sActiveWindow, "Graph4", $lTimeout) 
     139   Assert($hPlot, $iFailFlag) 
    120140 
    121141   ;; Close SasView 
Note: See TracChangeset for help on using the changeset viewer.