Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test fixes #49

Merged
merged 1 commit into from Mar 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Expand Up @@ -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
}
Expand Down
Expand Up @@ -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"
Expand Down
Expand Up @@ -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
Expand All @@ -52,17 +60,17 @@ 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
select "Q7Project/F" | select "Q7Project/F" | get-menu Paste | click
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

}

Expand Down