--- RCPTT testcase ---
Format-Version: 1.0
Contexts: _7RlJ4GaBEeWE-JfpwaFXMg
Element-Name: ExampleWorkflowWithPlaceholder_Script_with_all_API_methods
Element-Type: testcase
Element-Version: 3.0
External-Reference: 
Id: _7W_OUGaBEeWE-JfpwaFXMg
Runtime-Version: 2.0.0.201506120617
Save-Time: 9/29/15 11:17 AM
Testcase-Type: ecl

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

// Note: This test case assumes that the command "python" is known to the operating system
get-view "Project Explorer" | get-tree | get-menu "New/Workflow Examples Project" | click
get-window -class WizardDialog | get-button Finish | click
get-view "Project Explorer" | get-tree | select "Workflow Examples Project/Script_with_all_API_methods.wf"
	| double-click
with [get-editor "Script_with_all_API_methods.wf" | get-diagram -index 1] {
	mouse-move 112 191 button3 -height 627 -width 1202
	mouse-press 112 191 button3 -height 627 -width 1202
	mouse-release 112 191 button3 2097152 -height 627 -width 1202
	get-menu "Execute Workflow" | click
}
get-window "Execute workflow" | get-button "Next >" | click
set-dialog-result File python
with [get-window "Execute workflow"] {
	with [get-group "Component runtime configuration" | get-tree] {
		get-button "..." | click
		get-button "Apply to all" | click
	}
	get-button Ok | click
}
// wait until wf has finished and then verify finished state
loop {
	if [get-tab-folder -index 1 | get-property activePage -raw | contains Finished] {
		get-tab-folder -index 1 | get-property activePage | contains Finished | verify-true
		log -message "Finished!!"
	} -else {
		log -message "Not finished yet!!"
		recur
	}
}
------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac--
