Recorded UI test failure fixes
Merge pull request #1196 from Benglin/RecTestFixes

Recorded UI test failure fixes (20 test cases)