51Testing软件测试论坛

标题: 关于类似Google日历的控件。。里面的元素怎么定位啊。。 [打印本页]

作者: happy_ymm    时间: 2016-1-11 20:07
标题: 关于类似Google日历的控件。。里面的元素怎么定位啊。。
本帖最后由 happy_ymm 于 2016-1-11 20:14 编辑

本人测试小白~~最近刚刚学习selenium,先用selenium IDE录制了脚本,然后用的C#导出修改的,遇到了问题,求解啊!!
C:\Users\Public\QQ图片20160111200427

  1. <div data-reactid=".0.2.0.0.1.2.0.3.2" style="position:absolute;top:0;left:0;right:-17px;bottom:-17px;overflow:scroll;-webkit-overflow-scrolling:touch;">
  2. <div class="meeting-filter-calendar fc fc-ltr fc-unthemed" data-reactid=".0.2.0.0.1.2.0.3.2.0">
  3. <div class="fc-view-container" style="">
  4. <div class="fc-view fc-agendaWeek-view fc-agenda-view" style="">
  5. <table>
  6. <thead class="fc-head">
  7. <tr>
  8. <td class="fc-widget-header">
  9. <div class="fc-row fc-widget-header">
  10. <table>
  11. <thead>
  12. <tr>
  13. <th class="fc-axis fc-widget-header" style="width: 48px;"></th>
  14. <th class="fc-day-header fc-widget-header fc-mon">11</th>
  15. <th class="fc-day-header fc-widget-header fc-tue">12</th>
  16. <th class="fc-day-header fc-widget-header fc-wed">13</th>
  17. <th class="fc-day-header fc-widget-header fc-thu">14</th>
  18. <th class="fc-day-header fc-widget-header fc-fri">15</th>
  19. <th class="fc-day-header fc-widget-header fc-sat">16</th>
  20. <th class="fc-day-header fc-widget-header fc-sun">17</th>
  21. </tr>
  22. </thead>
  23. </table>
  24. </div>
  25. </td>
  26. </tr>
  27. </thead>
  28. <tbody class="fc-body">
  29. <tr>
  30. <td class="fc-widget-content">
  31. <div class="fc-time-grid-container" style="height: 341px; overflow: hidden;">
  32. <div class="fc-time-grid">
  33. <div class="fc-bg">
  34. <table>
  35. <tbody>
  36. <tr>
  37. <td class="fc-axis fc-widget-content" style="width: 48px;"></td>
  38. <td class="fc-day fc-widget-content fc-mon fc-today fc-state-highlight" data-date="2016-01-11"></td>
  39. <td class="fc-day fc-widget-content fc-tue fc-future" data-date="2016-01-12"></td>
  40. <td class="fc-day fc-widget-content fc-wed fc-future" data-date="2016-01-13"></td>
  41. <td class="fc-day fc-widget-content fc-thu fc-future" data-date="2016-01-14"></td>
  42. <td class="fc-day fc-widget-content fc-fri fc-future" data-date="2016-01-15"></td>
  43. <td class="fc-day fc-widget-content fc-sat fc-future" data-date="2016-01-16"></td>
  44. <td class="fc-day fc-widget-content fc-sun fc-future" data-date="2016-01-17"></td>
  45. </tr>
  46. </tbody>
  47. </table>
  48. </div>
  49. <div class="fc-slats">
  50. <table>
  51. <tbody>
  52. <tr>
  53. <td class="fc-axis fc-time fc-widget-content" style="width: 48px;">
  54. <span>0:00</span>
  55. </td>
  56. <td class="fc-widget-content"></td>
  57. </tr>
  58. <tr class="fc-minor">
  59. <td class="fc-axis fc-time fc-widget-content" style="width: 48px;"></td>
  60. <td class="fc-widget-content"></td>
  61. </tr>
  62. <tr>
  63. <tr class="fc-minor">
  64. <tr>
  65. <tr class="fc-minor">
  66. <tr>
  67. <tr class="fc-minor">
  68. <tr>
  69. <tr class="fc-minor">
  70. <tr>
  71. <tr class="fc-minor">
  72. <tr>
  73. <tr class="fc-minor">
  74. <tr>
  75. <tr class="fc-minor">
  76. <tr>
  77. <tr class="fc-minor">
  78. <tr>
  79. <tr class="fc-minor">
  80. <tr>
  81. <tr class="fc-minor">
  82. <tr>
  83. <tr class="fc-minor">
  84. <tr>
  85. <tr class="fc-minor">
  86. <tr>
  87. <tr class="fc-minor">
  88. <tr>
  89. <tr class="fc-minor">
  90. <tr>
  91. <tr class="fc-minor">
  92. <tr>
  93. <tr class="fc-minor">
  94. <tr>
  95. <tr class="fc-minor">
  96. <tr>
  97. <tr class="fc-minor">
  98. <tr>
  99. <tr class="fc-minor">
  100. <tr>
  101. <tr class="fc-minor">
  102. <tr>
  103. <tr class="fc-minor">
  104. <tr>
  105. <tr class="fc-minor">
  106. <tr>
  107. <tr class="fc-minor">
  108. </tbody>
  109. </table>
  110. </div>
  111. <hr class="fc-divider fc-widget-header" style="display: block;">
  112. <div class="fc-content-skeleton">
  113. <table>
  114. <tbody>
  115. <tr>
  116. <td class="fc-axis" style="width:48px"></td>
  117. <td>
  118. <div class="fc-event-container"></div>
  119. </td>
  120. <td>
  121. <td>
  122. <td>
  123. <td>
  124. <td>
  125. <td>
  126. </tr>
  127. </tbody>
  128. </table>
  129. </div>
  130. </div>
  131. </div>
  132. </td>
  133. </tr>
  134. </tbody>
  135. </table>
  136. </div>
  137. </div>
  138. </div>
  139. </div>
  140. </div>
  141. <hr data-reactid=".0.2.0.0.1.2.0.4" style="position:relative;top:-2px;z-index:10;">
复制代码






欢迎光临 51Testing软件测试论坛 (http://bbs.51testing.com/) Powered by Discuz! X3.2