Esempio n. 1
0
assert tests.sensitization6()
# Delete schedule
findWidget('OOF2:Scheduled Output Page:HPane0:HPane2:Schedule:Delete').clicked()
checkpoint OOF.Mesh.Scheduled_Output.Schedule.Delete
assert tests.sensitization7()
# Delete destination
findWidget('OOF2:Scheduled Output Page:HPane0:HPane2:Destination:Delete').clicked()
checkpoint OOF.Mesh.Scheduled_Output.Destination.Delete
findWidget('OOF2').resize(673, 350)
findWidget('OOF2 Messages 1').resize(720, 200)
findWidget('OOF2 Activity Viewer').resize(400, 300)
assert tests.sensitization4()
# Delete output
findWidget('OOF2:Scheduled Output Page:HPane0:HPaneL:Output:Delete').clicked()
checkpoint OOF.Mesh.Scheduled_Output.Delete
assert tests.sensitization8()
# Delete last output
findWidget('OOF2:Scheduled Output Page:HPane0:HPaneL:Output:list').get_selection().select_path((0,))
findWidget('OOF2:Scheduled Output Page:HPane0:HPaneL:Output:Delete').clicked()
checkpoint OOF.Mesh.Scheduled_Output.Delete
assert tests.sensitization1()
# Create two outputs
findWidget('OOF2:Scheduled Output Page:HPane0:HPaneL:Output:New').clicked()
checkpoint toplevel widget mapped Dialog-Define a new Output
findWidget('Dialog-Define a new Output').resize(472, 430)
findWidget('Dialog-Define a new Output:gtk-ok').clicked()
checkpoint OOF.Mesh.Scheduled_Output.New
findWidget('OOF2:Scheduled Output Page:HPane0:HPaneL:Output:New').clicked()
checkpoint toplevel widget mapped Dialog-Define a new Output
findWidget('Dialog-Define a new Output').resize(472, 430)
setComboBox(findWidget('Dialog-Define a new Output:output:Bulk Analysis:data:Scalar:Parameters:component'), 'y')
Esempio n. 2
0
checkpoint mesh page sensitized
checkpoint page installed FE Mesh
findWidget('OOF2:FE Mesh Page:Pane:Subproblems:New').clicked()
checkpoint toplevel widget mapped Dialog-Create a new subproblem
findWidget('Dialog-Create a new subproblem').resize(291, 102)
findWidget('Dialog-Create a new subproblem:name:Text').set_text('subprob')
findWidget('Dialog-Create a new subproblem:name:Text').set_text('subprob3')
findWidget('Dialog-Create a new subproblem:gtk-ok').clicked()
checkpoint mesh page subproblems sensitized
checkpoint OOF.Subproblem.New
checkpoint Solver page sensitized
findWidget('OOF2:Navigation:NextHist').clicked()
checkpoint page installed Solver
assert tests.listCheck("default", "subprob2", "subprob3")
checkpoint Solver page sensitized
assert tests.sensitization8()
assert tests.selection(1)
findWidget('OOF2').resize(705, 500)
findWidget('OOF2:Solver Page:VPane').set_position(160)
findWidget('OOF2').resize(708, 533)
findWidget('OOF2').resize(709, 568)
findWidget('OOF2').resize(709, 603)
findWidget('OOF2').resize(707, 629)
findWidget('OOF2').resize(706, 647)
findWidget('OOF2:Solver Page:VPane').set_position(234)
findWidget('OOF2:Solver Page:VPane:Subproblems:SubproblemScroll').get_vadjustment().set_value( 0.0000000000000e+00)
findWidget('OOF2').resize(705, 651)
findWidget('OOF2').resize(705, 654)
findWidget('OOF2').resize(705, 655)
findWidget('OOF2:Solver Page:VPane').set_position(238)
# Select third subproblem