You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

ButtonEnterWithWindowShortcut.html 2.1KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  3. <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  4. <head profile="http://selenium-ide.openqa.org/profiles/test-case">
  5. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  6. <link rel="selenium.base" href="" />
  7. <title>New Test</title>
  8. </head>
  9. <body>
  10. <table cellpadding="1" cellspacing="1" border="1">
  11. <thead>
  12. <tr><td rowspan="1" colspan="3">New Test</td></tr>
  13. </thead><tbody>
  14. <tr>
  15. <td>open</td>
  16. <td>/run/com.vaadin.tests.components.button.ButtonEnterWithWindowShortcut?restartApplication</td>
  17. <td></td>
  18. </tr>
  19. <tr>
  20. <td>pressSpecialKey</td>
  21. <td>vaadin=runcomvaadintestscomponentsbuttonButtonEnterWithWindowShortcut::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[1]/VButton[0]</td>
  22. <td>enter</td>
  23. </tr>
  24. <tr>
  25. <td>assertText</td>
  26. <td>vaadin=runcomvaadintestscomponentsbuttonButtonEnterWithWindowShortcut::PID_SLog_row_0</td>
  27. <td>1. button click listener fired</td>
  28. </tr>
  29. <tr>
  30. <td>pressSpecialKey</td>
  31. <td>vaadin=runcomvaadintestscomponentsbuttonButtonEnterWithWindowShortcut::</td>
  32. <td>enter</td>
  33. </tr>
  34. <tr>
  35. <td>assertText</td>
  36. <td>vaadin=runcomvaadintestscomponentsbuttonButtonEnterWithWindowShortcut::PID_SLog_row_0</td>
  37. <td>2. enter pressed in window</td>
  38. </tr>
  39. <!-- Can't test using space because of #8827 -->
  40. <!-- <tr>
  41. <td>pressSpecialKey</td>
  42. <td>vaadin=runcomvaadintestscomponentsbuttonButtonEnterWithWindowShortcut::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[1]/VButton[0]</td>
  43. <td>space</td>
  44. </tr>
  45. <tr>
  46. <td>assertText</td>
  47. <td>vaadin=runcomvaadintestscomponentsbuttonButtonEnterWithWindowShortcut::PID_SLog_row_0</td>
  48. <td>3. button click listener fired</td>
  49. </tr>
  50. <tr>
  51. <td>pressSpecialKey</td>
  52. <td>vaadin=runcomvaadintestscomponentsbuttonButtonEnterWithWindowShortcut::</td>
  53. <td>space</td>
  54. </tr>
  55. <tr>
  56. <td>assertText</td>
  57. <td>vaadin=runcomvaadintestscomponentsbuttonButtonEnterWithWindowShortcut::PID_SLog_row_0</td>
  58. <td>4. space pressed in window</td>
  59. </tr> -->
  60. </tbody></table>
  61. </body>
  62. </html>