Skip to content

Commit

Permalink
[Test] Fix failed test SearchAndReplace due to focus lost of Information
Browse files Browse the repository at this point in the history
view

Change-Id: Iad0f976c2729b0fed46c57efe3859854ea09a7aa
Signed-off-by: Tu Ton <minhtutonthat@gmail.com>
  • Loading branch information
minhtutonthat committed Apr 18, 2018
1 parent 485de93 commit 55f8065
Showing 1 changed file with 6 additions and 2 deletions.
Expand Up @@ -6,8 +6,8 @@ Element-Type: testcase
Element-Version: 3.0
External-Reference:
Id: _yFxMUJ6BEeWcU-ojRg-Rxw
Runtime-Version: 2.3.0.201712190725
Save-Time: 1/23/18 2:29 PM
Runtime-Version: 2.1.0.201606221726
Save-Time: 4/4/18 10:53 AM
Testcase-Type: ecl

------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac
Expand Down Expand Up @@ -61,6 +61,10 @@ with [get-window "Selection Dialog"] {
get-button "Replace All" | click
}
get-window "Selection Dialog" | get-button OK | click

// Sometimes RCPTT does not see the 3 lines in Information view, this makes sure that the view gets the focus before RCPTT does the verification
get-view Information | click

with [get-view Information | get-tree] {
get-property itemCount | equals 3 | verify-true
get-item "Impacted element names: 5" | get-property caption | equals "Impacted element names: 5" | verify-true
Expand Down

0 comments on commit 55f8065

Please sign in to comment.