--- RCPTT testcase ---
Format-Version: 1.0
Contexts: _7RlJ4GaBEeWE-JfpwaFXMg
Element-Name: ManyEndpoints
Element-Type: testcase
Element-Version: 3.0
External-Reference: 
Id: _7XI_UGaBEeWE-JfpwaFXMg
Runtime-Version: 2.0.0.201506120617
Save-Time: 9/29/15 10:46 AM
Testcase-Type: ecl

------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac
Content-Type: text/ecl
Entry-Name: .content

get-button "Create workflow (Ctrl+Shift+N)" | click
with [get-window "New Workflow"] {
	get-editbox -after [get-label "Workflow name:"] | type-text new
	get-button Finish | click
}
with [get-editor "new.wf"] {
	with [get-palette] {
		with [get-palette-entry Script] {
			mouse-move 52 6 button1 -height 24 -width 107
			mouse-press 52 6 button1 -height 24 -width 107
			get-figure 0 | drag-start 52 6
		}
	}
	with [get-diagram -index 1 | get-edit-part -className WorkflowPart] {
		drag-enter 431 167 -detail move
		drag-over 428 166 -detail copy
	}
	get-palette | get-palette-entry | mouse-release "-1540" "-176" button1 -height 811 -width 107
	with [get-diagram -index 1 | get-edit-part -className WorkflowPart] {
		drag-exit
		drag-accept 428 166 -detail copy
	}
	get-palette | drag-set-data
	get-diagram -index 1 | get-edit-part -className WorkflowPart | drop 428 166 -detail copy
	get-palette | drag-end -detail move
}
loop [val count 0] {
	if [$count | lt 500] {
		with [get-view Properties] {
			get-property-tab "Inputs/Outputs" | click
			get-section Inputs | get-button Add | click
		}
		with [get-window "Add Input"] {
			get-editbox -after [get-label "Name:"] | set-text $count
			get-button OK | click
		}
		get-view Properties | get-section Outputs | get-button Add | click
		with [get-window "Add Output"] {
			get-editbox -after [get-label "Name:"] | set-text $count
			get-button OK | click
		}
		recur [$count | plus 1]
	}
}
------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac--
