@@ -1550,15 +1550,15 @@ modified or altered in any way.
1550
1550
Trace . WriteLine ( "Failed replace, via replace button" ) ;
1551
1551
w . SendKeystrokes ( "{HOME}" ) ;
1552
1552
findDialog = OpenReplaceDialog ( ) ;
1553
- findDialog . Window . SendKeystrokes ( "will not find%r " ) ;
1553
+ findDialog . Window . SendKeystrokes ( "will not find%R " ) ;
1554
1554
var popup = findDialog . Window . ExpectingPopup ( "Find Error" ) ;
1555
1555
popup . DismissPopUp ( "{ENTER}" ) ;
1556
1556
1557
1557
Trace . WriteLine ( "Test we can replace 2 things in sequence" ) ;
1558
1558
w . SendKeystrokes ( "{HOME}" ) ;
1559
- findDialog . Window . SendKeystrokes ( "XML{TAB}XXXXX%w%r " ) ;
1560
- findDialog . Window . SendKeystrokes ( "%r " ) ; // make the first change
1561
- findDialog . Window . SendKeystrokes ( "%r " ) ; // make the second change
1559
+ findDialog . Window . SendKeystrokes ( "XML{TAB}XXXXX%w%R " ) ;
1560
+ findDialog . Window . SendKeystrokes ( "%R " ) ; // make the first change
1561
+ findDialog . Window . SendKeystrokes ( "%R " ) ; // make the second change
1562
1562
popup = findDialog . Window . ExpectingPopup ( "Replace Complete" ) ;
1563
1563
popup . DismissPopUp ( "{ENTER}" ) ;
1564
1564
@@ -1598,9 +1598,11 @@ public void TestReplaceBackwards()
1598
1598
1599
1599
Trace . WriteLine ( "Test we can replace 2 things in backwards sequence" ) ;
1600
1600
w . SendKeystrokes ( "{HOME}" ) ;
1601
- findDialog . Window . SendKeystrokes ( "XML{TAB}XXXXX%m%w%u%r" ) ;
1602
- findDialog . Window . SendKeystrokes ( "%r" ) ; // make the first change
1603
- findDialog . Window . SendKeystrokes ( "%r" ) ; // make the second change
1601
+ findDialog . Window . SendKeystrokes ( "XML{TAB}XXXXX%m%w%u%R" ) ;
1602
+ Sleep ( 100 ) ;
1603
+ findDialog . Window . SendKeystrokes ( "%R" ) ; // make the first change
1604
+ Sleep ( 100 ) ;
1605
+ findDialog . Window . SendKeystrokes ( "%R" ) ; // make the second change
1604
1606
var popup = findDialog . Window . ExpectingPopup ( "Replace Complete" ) ;
1605
1607
popup . DismissPopUp ( "{ENTER}" ) ;
1606
1608
findDialog . Window . DismissPopUp ( "{ESC}" ) ;
0 commit comments