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.

EmbeddedAltText.html 1.6KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  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="http://localhost:8068" />
  7. <title>EmbeddedAltText</title>
  8. </head>
  9. <body>
  10. <table cellpadding="1" cellspacing="1" border="1">
  11. <thead>
  12. <tr><td rowspan="1" colspan="3">EmbeddedAltText</td></tr>
  13. </thead><tbody>
  14. <tr>
  15. <td>open</td>
  16. <td>/run/com.vaadin.tests.components.embedded.EmbeddedAltText?restartApplication</td>
  17. <td></td>
  18. </tr>
  19. <tr>
  20. <td>assertAttribute</td>
  21. <td>vaadin=runcomvaadintestscomponentsembeddedEmbeddedAltText::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[0]/VEmbedded[0]/domChild[0]@alt</td>
  22. <td>Alt text of the image</td>
  23. </tr>
  24. <tr>
  25. <td>assertHtmlSource</td>
  26. <td>*Alt text of the object*</td>
  27. <td></td>
  28. </tr>
  29. <tr>
  30. <td>click</td>
  31. <td>vaadin=runcomvaadintestscomponentsembeddedEmbeddedAltText::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[2]/VButton[0]/domChild[0]/domChild[0]</td>
  32. <td></td>
  33. </tr>
  34. <tr>
  35. <td>assertAttribute</td>
  36. <td>vaadin=runcomvaadintestscomponentsembeddedEmbeddedAltText::/VVerticalLayout[0]/ChildComponentContainer[1]/VVerticalLayout[0]/ChildComponentContainer[0]/VEmbedded[0]/domChild[0]@alt</td>
  37. <td>New alt text of the image!</td>
  38. </tr>
  39. <tr>
  40. <td>assertHtmlSource</td>
  41. <td>*New alt text of the object!*</td>
  42. <td></td>
  43. </tr>
  44. </tbody></table>
  45. </body>
  46. </html>