diff --git a/rcpttTests/ECL_IDE_module/selfAUTTests/q7commands/TakeScreenshot.test b/rcpttTests/ECL_IDE_module/selfAUTTests/q7commands/TakeScreenshot.test index 2514fef58..603732ef1 100644 --- a/rcpttTests/ECL_IDE_module/selfAUTTests/q7commands/TakeScreenshot.test +++ b/rcpttTests/ECL_IDE_module/selfAUTTests/q7commands/TakeScreenshot.test @@ -71,11 +71,17 @@ with [get-window "Execution details"] { get-property activePage | equals Screenshots | verify-true get-property tabCount | equals 2 | verify-true } - get-label "Screenshot 1 from 2" | get-property caption | equals "Screenshot 1 from 2" | verify-true + get-label "Screenshot 1 from 5" | get-property caption | equals "Screenshot 1 from 5" | verify-true +} +with [get-window "Execution details" | get-button Next]{ + + click + click + click + click } -get-window "Execution details" | get-button Next | click with [get-window "Execution details"] { - get-label "Screenshot 2 from 2" | get-property caption | equals "Screenshot 2 from 2" | verify-true + get-label "Screenshot 5 from 5" | get-property caption | equals "Screenshot 5 from 5" | verify-true get-button Next | get-property enablement | equals false | verify-true get-button Previous | get-property enablement | equals true | verify-true } diff --git a/rcpttTests/platform_tests/Recording/EclipseForms/FormToolkitRecording.test b/rcpttTests/platform_tests/Recording/EclipseForms/FormToolkitRecording.test index 50c5c4b72..b6154f0d1 100644 --- a/rcpttTests/platform_tests/Recording/EclipseForms/FormToolkitRecording.test +++ b/rcpttTests/platform_tests/Recording/EclipseForms/FormToolkitRecording.test @@ -42,7 +42,9 @@ get-aut "mockupsQ7" | eval { click -metaKeys SHIFT click -metaKeys 393216 } - get-tree | select "node 4/node 4 - 3" + try -times 10 -delay 1000 -command{ + get-tree | select "node 4/node 4 - 3" + } get-label "Label for mouse clicking test" | click } get-label "Label \"Label for mouse clicking test\" clicked. MouseButton: 1. StateMask: 0" diff --git a/rcpttTests/platform_tests/selfAUTTests/RCPTT-478_HTML report looks different if it is copied as only html-file.test b/rcpttTests/platform_tests/selfAUTTests/RCPTT-478_HTML report looks different if it is copied as only html-file.test index 106e9255c..8bbd112f5 100644 --- a/rcpttTests/platform_tests/selfAUTTests/RCPTT-478_HTML report looks different if it is copied as only html-file.test +++ b/rcpttTests/platform_tests/selfAUTTests/RCPTT-478_HTML report looks different if it is copied as only html-file.test @@ -37,6 +37,14 @@ Verify that report styles are not broken. Content-Type: text/ecl Entry-Name: .content +get-preferences-menu | click +with [get-window Preferences] { + get-tree | select "General/Web Browser" + get-button "Use internal web browser" | click -metaKeys "" + get-button Apply | click -metaKeys "" + get-button "Apply and Close" | click -metaKeys "" +} + get-view "Test Explorer" | get-tree | select "Q7Project/test1" | select "Q7Project/test1" | double-click get-editor test1 | get-button Replay | click get-view "Execution View" | get-button Report | click @@ -52,9 +60,9 @@ with [get-window "New Folder"] { } get-view "Test Explorer" | get-tree | select "Q7Project/test1.*.html" | double-click -let [val reportContent [get-editor [get-by-os -macosx ".*.html" -win ".*.html" -linux "Web Browser"] | get-control Browser | get-property text -raw]]{ +let [val reportContent [get-editor [get-by-os -macosx ".*.html" -win ".*.html" -linux ".*.html"] | get-control Browser | get-property text -raw]]{ - get-editor [get-by-os -macosx ".*.html" -win ".*.html" -linux "Web Browser"] | close + get-editor [get-by-os -macosx ".*.html" -win ".*.html" -linux ".*.html"] | close with [get-view "Test Explorer" | get-tree] { select "Q7Project/test1.*.html" | get-menu Copy | click @@ -62,7 +70,7 @@ let [val reportContent [get-editor [get-by-os -macosx ".*.html" -win ".*.html" - select "Q7Project/F/test1.*.html" | double-click } - get-editor [get-by-os -macosx ".*.html" -win ".*.html" -linux "Web Browser"] | get-control Browser | get-property text -raw | eq $reportContent | verify-true + get-editor [get-by-os -macosx ".*.html" -win ".*.html" -linux ".*.html"] | get-control Browser | get-property text -raw | eq $reportContent | verify-true }