Advertisement
Guest User

Untitled

a guest
Mar 28th, 2015
183
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 37.62 KB | None | 0 0
  1.  
  2. ok 107 - Check for .AddAll element (is '1')
  3. ok 108 - Deleted test542830 ACL
  4. ok 109 - Set test user 1260 to invalid
  5. ok 110 - Shutting down Selenium scenario.
  6. ok 111 - Selenium command success: $VAR1 = {
  7. 'command' => 'quit',
  8. 'session_id' => 'd44beeb0-d57a-11e4-bc01-edf8c52c3a09'
  9. };
  10.  
  11. +-------------------------------------------------------------------+
  12. /Users/Carlos/Dev/OTRS/otrs_head/scripts/test/Selenium/Agent/Admin/AdminAttachment.t:
  13. +-------------------------------------------------------------------+
  14. ok 1 - Starting up Selenium scenario...
  15. ok 2 - Selenium command success: $VAR1 = {
  16. 'command' => 'setWindowSize',
  17. 'height' => 1024,
  18. 'session_id' => 'de24af30-d57a-11e4-bc01-edf8c52c3a09',
  19. 'width' => 768,
  20. 'window_handle' => 'current'
  21. };
  22.  
  23. ok 3 - Created test user 1261
  24. ok 4 - Added test user test199893 to group admin
  25. ok 5 - Set user UserLanguage to en
  26. ok 6 - Initiating login...
  27. ok 7 - Selenium command success: $VAR1 = {
  28. 'command' => 'deleteAllCookies',
  29. 'session_id' => 'de24af30-d57a-11e4-bc01-edf8c52c3a09'
  30. };
  31.  
  32. ok 8 - Selenium command success: $VAR1 = {
  33. 'command' => 'get',
  34. 'session_id' => 'de24af30-d57a-11e4-bc01-edf8c52c3a09',
  35. 'url' => 'http://otrs_master.mandalore.com/otrs/index.pl'
  36. };
  37.  
  38. ok 9 - Selenium command success: $VAR1 = {
  39. 'command' => 'deleteAllCookies',
  40. 'session_id' => 'de24af30-d57a-11e4-bc01-edf8c52c3a09'
  41. };
  42.  
  43. ok 10 - Selenium command success: $VAR1 = {
  44. 'command' => 'get',
  45. 'session_id' => 'de24af30-d57a-11e4-bc01-edf8c52c3a09',
  46. 'url' => 'http://otrs_master.mandalore.com/otrs/index.pl'
  47. };
  48.  
  49. ok 11 - Selenium command success: $VAR1 = {
  50. 'command' => 'findElement',
  51. 'session_id' => 'de24af30-d57a-11e4-bc01-edf8c52c3a09',
  52. 'using' => 'css selector',
  53. 'value' => 'input#User'
  54. };
  55.  
  56. ok 12 - Selenium command success: $VAR1 = {
  57. 'command' => 'isElementDisplayed',
  58. 'id' => ':wdc:1427568443592',
  59. 'session_id' => 'de24af30-d57a-11e4-bc01-edf8c52c3a09'
  60. };
  61.  
  62. ok 13 - Selenium command success: $VAR1 = {
  63. 'command' => 'isElementEnabled',
  64. 'id' => ':wdc:1427568443592',
  65. 'session_id' => 'de24af30-d57a-11e4-bc01-edf8c52c3a09'
  66. };
  67.  
  68. ok 14 - Selenium command success: $VAR1 = {
  69. 'command' => 'sendKeysToElement',
  70. 'id' => ':wdc:1427568443592',
  71. 'session_id' => 'de24af30-d57a-11e4-bc01-edf8c52c3a09',
  72. 'value' => [
  73. 'test199893'
  74. ]
  75. };
  76.  
  77. ok 15 - Selenium command success: $VAR1 = {
  78. 'command' => 'findElement',
  79. 'session_id' => 'de24af30-d57a-11e4-bc01-edf8c52c3a09',
  80. 'using' => 'css selector',
  81. 'value' => 'input#Password'
  82. };
  83.  
  84. ok 16 - Selenium command success: $VAR1 = {
  85. 'command' => 'isElementDisplayed',
  86. 'id' => ':wdc:1427568443593',
  87. 'session_id' => 'de24af30-d57a-11e4-bc01-edf8c52c3a09'
  88. };
  89.  
  90. ok 17 - Selenium command success: $VAR1 = {
  91. 'command' => 'isElementEnabled',
  92. 'id' => ':wdc:1427568443593',
  93. 'session_id' => 'de24af30-d57a-11e4-bc01-edf8c52c3a09'
  94. };
  95.  
  96. ok 18 - Selenium command success: $VAR1 = {
  97. 'command' => 'sendKeysToElement',
  98. 'id' => ':wdc:1427568443593',
  99. 'session_id' => 'de24af30-d57a-11e4-bc01-edf8c52c3a09',
  100. 'value' => [
  101. 'test199893'
  102. ]
  103. };
  104.  
  105. ok 19 - Selenium command success: $VAR1 = {
  106. 'command' => 'submitElement',
  107. 'id' => ':wdc:1427568443593',
  108. 'session_id' => 'de24af30-d57a-11e4-bc01-edf8c52c3a09'
  109. };
  110.  
  111. ok 20 - Selenium command success: $VAR1 = {
  112. 'command' => 'findElement',
  113. 'session_id' => 'de24af30-d57a-11e4-bc01-edf8c52c3a09',
  114. 'using' => 'css selector',
  115. 'value' => 'a#LogoutButton'
  116. };
  117.  
  118. ok 21 - Login sequence ended...
  119. ok 22 - Selenium command success: $VAR1 = {
  120. 'command' => 'get',
  121. 'session_id' => 'de24af30-d57a-11e4-bc01-edf8c52c3a09',
  122. 'url' => 'http://otrs_master.mandalore.com/otrs/index.pl?Action=AdminAttachment'
  123. };
  124.  
  125. ok 23 - Selenium command success: $VAR1 = {
  126. 'command' => 'findElement',
  127. 'session_id' => 'de24af30-d57a-11e4-bc01-edf8c52c3a09',
  128. 'using' => 'css selector',
  129. 'value' => 'table'
  130. };
  131.  
  132. ok 24 - Selenium command success: $VAR1 = {
  133. 'command' => 'findElement',
  134. 'session_id' => 'de24af30-d57a-11e4-bc01-edf8c52c3a09',
  135. 'using' => 'css selector',
  136. 'value' => 'table thead tr th'
  137. };
  138.  
  139. ok 25 - Selenium command success: $VAR1 = {
  140. 'command' => 'findElement',
  141. 'session_id' => 'de24af30-d57a-11e4-bc01-edf8c52c3a09',
  142. 'using' => 'css selector',
  143. 'value' => 'table tbody tr td'
  144. };
  145.  
  146. ok 26 - Selenium command success: $VAR1 = {
  147. 'command' => 'findElement',
  148. 'session_id' => 'de24af30-d57a-11e4-bc01-edf8c52c3a09',
  149. 'using' => 'xpath',
  150. 'value' => '//a[contains(@href, \'Subaction=Add\' )]'
  151. };
  152.  
  153. ok 27 - Selenium command success: $VAR1 = {
  154. 'command' => 'clickElement',
  155. 'id' => ':wdc:1427568445713',
  156. 'session_id' => 'de24af30-d57a-11e4-bc01-edf8c52c3a09'
  157. };
  158.  
  159. ok 28 - Selenium command success: $VAR1 = {
  160. 'command' => 'findElement',
  161. 'session_id' => 'de24af30-d57a-11e4-bc01-edf8c52c3a09',
  162. 'using' => 'css selector',
  163. 'value' => '#Name'
  164. };
  165.  
  166. ok 29 - Selenium command success: $VAR1 = {
  167. 'command' => 'sendKeysToElement',
  168. 'id' => ':wdc:1427568446377',
  169. 'session_id' => 'de24af30-d57a-11e4-bc01-edf8c52c3a09',
  170. 'value' => [
  171. 'test268001'
  172. ]
  173. };
  174.  
  175. ok 30 - Selenium command success: $VAR1 = {
  176. 'command' => 'findElement',
  177. 'session_id' => 'de24af30-d57a-11e4-bc01-edf8c52c3a09',
  178. 'using' => 'css selector',
  179. 'value' => '#ValidID option[value=\'1\']'
  180. };
  181.  
  182. ok 31 - Selenium command success: $VAR1 = {
  183. 'command' => 'clickElement',
  184. 'id' => ':wdc:1427568446378',
  185. 'session_id' => 'de24af30-d57a-11e4-bc01-edf8c52c3a09'
  186. };
  187.  
  188. ok 32 - Selenium command success: $VAR1 = {
  189. 'command' => 'findElement',
  190. 'session_id' => 'de24af30-d57a-11e4-bc01-edf8c52c3a09',
  191. 'using' => 'css selector',
  192. 'value' => '#FileUpload'
  193. };
  194.  
  195. ok 33 - Selenium command success: $VAR1 = {
  196. 'command' => 'sendKeysToElement',
  197. 'id' => ':wdc:1427568446379',
  198. 'session_id' => 'de24af30-d57a-11e4-bc01-edf8c52c3a09',
  199. 'value' => [
  200. '/Users/Carlos/Dev/OTRS/otrs_head/scripts/test/sample/StdAttachment/StdAttachment-Test1.xls'
  201. ]
  202. };
  203.  
  204. ok 34 - Selenium command success: $VAR1 = {
  205. 'command' => 'findElement',
  206. 'session_id' => 'de24af30-d57a-11e4-bc01-edf8c52c3a09',
  207. 'using' => 'css selector',
  208. 'value' => '#Name'
  209. };
  210.  
  211. ok 35 - Selenium command success: $VAR1 = {
  212. 'command' => 'submitElement',
  213. 'id' => ':wdc:1427568446377',
  214. 'session_id' => 'de24af30-d57a-11e4-bc01-edf8c52c3a09'
  215. };
  216.  
  217. ok 36 - Selenium command success: $VAR1 = {
  218. 'command' => 'getPageSource',
  219. 'session_id' => 'de24af30-d57a-11e4-bc01-edf8c52c3a09'
  220. };
  221.  
  222. ok 37 - test268001 standard attachment found on page
  223. ok 38 - Selenium command success: $VAR1 = {
  224. 'command' => 'findElement',
  225. 'session_id' => 'de24af30-d57a-11e4-bc01-edf8c52c3a09',
  226. 'using' => 'css selector',
  227. 'value' => 'table'
  228. };
  229.  
  230. ok 39 - Selenium command success: $VAR1 = {
  231. 'command' => 'findElement',
  232. 'session_id' => 'de24af30-d57a-11e4-bc01-edf8c52c3a09',
  233. 'using' => 'css selector',
  234. 'value' => 'table thead tr th'
  235. };
  236.  
  237. ok 40 - Selenium command success: $VAR1 = {
  238. 'command' => 'findElement',
  239. 'session_id' => 'de24af30-d57a-11e4-bc01-edf8c52c3a09',
  240. 'using' => 'css selector',
  241. 'value' => 'table tbody tr td'
  242. };
  243.  
  244. ok 41 - Selenium command success: $VAR1 = {
  245. 'command' => 'findElement',
  246. 'session_id' => 'de24af30-d57a-11e4-bc01-edf8c52c3a09',
  247. 'using' => 'link text',
  248. 'value' => 'test268001'
  249. };
  250.  
  251. ok 42 - Selenium command success: $VAR1 = {
  252. 'command' => 'clickElement',
  253. 'id' => ':wdc:1427568447114',
  254. 'session_id' => 'de24af30-d57a-11e4-bc01-edf8c52c3a09'
  255. };
  256.  
  257. ok 43 - Selenium command success: $VAR1 = {
  258. 'command' => 'findElement',
  259. 'session_id' => 'de24af30-d57a-11e4-bc01-edf8c52c3a09',
  260. 'using' => 'css selector',
  261. 'value' => '#ValidID option[value=\'2\']'
  262. };
  263.  
  264. ok 44 - Selenium command success: $VAR1 = {
  265. 'command' => 'clickElement',
  266. 'id' => ':wdc:1427568447759',
  267. 'session_id' => 'de24af30-d57a-11e4-bc01-edf8c52c3a09'
  268. };
  269.  
  270. ok 45 - Selenium command success: $VAR1 = {
  271. 'command' => 'findElement',
  272. 'session_id' => 'de24af30-d57a-11e4-bc01-edf8c52c3a09',
  273. 'using' => 'css selector',
  274. 'value' => '#Comment'
  275. };
  276.  
  277. ok 46 - Selenium command success: $VAR1 = {
  278. 'command' => 'sendKeysToElement',
  279. 'id' => ':wdc:1427568447760',
  280. 'session_id' => 'de24af30-d57a-11e4-bc01-edf8c52c3a09',
  281. 'value' => [
  282. 'Selenium test attachment'
  283. ]
  284. };
  285.  
  286. ok 47 - Selenium command success: $VAR1 = {
  287. 'command' => 'findElement',
  288. 'session_id' => 'de24af30-d57a-11e4-bc01-edf8c52c3a09',
  289. 'using' => 'css selector',
  290. 'value' => '#Name'
  291. };
  292.  
  293. ok 48 - Selenium command success: $VAR1 = {
  294. 'command' => 'submitElement',
  295. 'id' => ':wdc:1427568447761',
  296. 'session_id' => 'de24af30-d57a-11e4-bc01-edf8c52c3a09'
  297. };
  298.  
  299. ok 49 - Selenium command success: $VAR1 = {
  300. 'command' => 'getPageSource',
  301. 'session_id' => 'de24af30-d57a-11e4-bc01-edf8c52c3a09'
  302. };
  303.  
  304. ok 50 - $RandomID found on table
  305. ok 51 - Selenium command success: $VAR1 = {
  306. 'command' => 'findElement',
  307. 'session_id' => 'de24af30-d57a-11e4-bc01-edf8c52c3a09',
  308. 'using' => 'link text',
  309. 'value' => 'test268001'
  310. };
  311.  
  312. ok 52 - Selenium command success: $VAR1 = {
  313. 'command' => 'clickElement',
  314. 'id' => ':wdc:1427568448596',
  315. 'session_id' => 'de24af30-d57a-11e4-bc01-edf8c52c3a09'
  316. };
  317.  
  318. ok 53 - Selenium command success: $VAR1 = {
  319. 'command' => 'findElement',
  320. 'session_id' => 'de24af30-d57a-11e4-bc01-edf8c52c3a09',
  321. 'using' => 'css selector',
  322. 'value' => '#ValidID'
  323. };
  324.  
  325. ok 54 - Selenium command success: $VAR1 = {
  326. 'command' => 'getElementAttribute',
  327. 'id' => ':wdc:1427568449233',
  328. 'name' => 'value',
  329. 'session_id' => 'de24af30-d57a-11e4-bc01-edf8c52c3a09'
  330. };
  331.  
  332. ok 55 - #ValidID updated value (is '2')
  333. ok 56 - Selenium command success: $VAR1 = {
  334. 'command' => 'findElement',
  335. 'session_id' => 'de24af30-d57a-11e4-bc01-edf8c52c3a09',
  336. 'using' => 'css selector',
  337. 'value' => '#Comment'
  338. };
  339.  
  340. ok 57 - Selenium command success: $VAR1 = {
  341. 'command' => 'getElementAttribute',
  342. 'id' => ':wdc:1427568449234',
  343. 'name' => 'value',
  344. 'session_id' => 'de24af30-d57a-11e4-bc01-edf8c52c3a09'
  345. };
  346.  
  347. ok 58 - #Comment updated value (is 'Selenium test attachment')
  348. ok 59 - Selenium command success: $VAR1 = {
  349. 'command' => 'goBack',
  350. 'session_id' => 'de24af30-d57a-11e4-bc01-edf8c52c3a09'
  351. };
  352.  
  353. ok 60 - Selenium command success: $VAR1 = {
  354. 'command' => 'findElement',
  355. 'session_id' => 'de24af30-d57a-11e4-bc01-edf8c52c3a09',
  356. 'using' => 'xpath',
  357. 'value' => '//a[contains(@href, \'Subaction=Delete;ID=198\' )]'
  358. };
  359.  
  360. ok 61 - Selenium command success: $VAR1 = {
  361. 'command' => 'clickElement',
  362. 'id' => ':wdc:1427568449920',
  363. 'session_id' => 'de24af30-d57a-11e4-bc01-edf8c52c3a09'
  364. };
  365.  
  366. ok 62 - Selenium command success: $VAR1 = {
  367. 'command' => 'findElement',
  368. 'session_id' => 'de24af30-d57a-11e4-bc01-edf8c52c3a09',
  369. 'using' => 'xpath',
  370. 'value' => '//a[contains(@href, \'Subaction=Add\' )]'
  371. };
  372.  
  373. ok 63 - Selenium command success: $VAR1 = {
  374. 'command' => 'clickElement',
  375. 'id' => ':wdc:1427568450874',
  376. 'session_id' => 'de24af30-d57a-11e4-bc01-edf8c52c3a09'
  377. };
  378.  
  379. ok 64 - Selenium command success: $VAR1 = {
  380. 'command' => 'findElement',
  381. 'session_id' => 'de24af30-d57a-11e4-bc01-edf8c52c3a09',
  382. 'using' => 'css selector',
  383. 'value' => '#Name'
  384. };
  385.  
  386. ok 65 - Selenium command success: $VAR1 = {
  387. 'command' => 'sendKeysToElement',
  388. 'id' => ':wdc:1427568451426',
  389. 'session_id' => 'de24af30-d57a-11e4-bc01-edf8c52c3a09',
  390. 'value' => [
  391. 'test103121'
  392. ]
  393. };
  394.  
  395. ok 66 - Selenium command success: $VAR1 = {
  396. 'command' => 'findElement',
  397. 'session_id' => 'de24af30-d57a-11e4-bc01-edf8c52c3a09',
  398. 'using' => 'css selector',
  399. 'value' => '#ValidID option[value=\'1\']'
  400. };
  401.  
  402. ok 67 - Selenium command success: $VAR1 = {
  403. 'command' => 'clickElement',
  404. 'id' => ':wdc:1427568451427',
  405. 'session_id' => 'de24af30-d57a-11e4-bc01-edf8c52c3a09'
  406. };
  407.  
  408. ok 68 - Selenium command success: $VAR1 = {
  409. 'command' => 'findElement',
  410. 'session_id' => 'de24af30-d57a-11e4-bc01-edf8c52c3a09',
  411. 'using' => 'css selector',
  412. 'value' => '#FileUpload'
  413. };
  414.  
  415. ok 69 - Selenium command success: $VAR1 = {
  416. 'command' => 'sendKeysToElement',
  417. 'id' => ':wdc:1427568451428',
  418. 'session_id' => 'de24af30-d57a-11e4-bc01-edf8c52c3a09',
  419. 'value' => [
  420. '/Users/Carlos/Dev/OTRS/otrs_head/scripts/test/sample/StdAttachment/StdAttachment-Test1.txt'
  421. ]
  422. };
  423.  
  424. ok 70 - Selenium command success: $VAR1 = {
  425. 'command' => 'findElement',
  426. 'session_id' => 'de24af30-d57a-11e4-bc01-edf8c52c3a09',
  427. 'using' => 'css selector',
  428. 'value' => '#Name'
  429. };
  430.  
  431. ok 71 - Selenium command success: $VAR1 = {
  432. 'command' => 'submitElement',
  433. 'id' => ':wdc:1427568451426',
  434. 'session_id' => 'de24af30-d57a-11e4-bc01-edf8c52c3a09'
  435. };
  436.  
  437. ok 72 - Selenium command success: $VAR1 = {
  438. 'command' => 'getPageSource',
  439. 'session_id' => 'de24af30-d57a-11e4-bc01-edf8c52c3a09'
  440. };
  441.  
  442. ok 73 - test103121 standard attachment found on page
  443. ok 74 - Selenium command success: $VAR1 = {
  444. 'command' => 'findElement',
  445. 'session_id' => 'de24af30-d57a-11e4-bc01-edf8c52c3a09',
  446. 'using' => 'css selector',
  447. 'value' => 'table'
  448. };
  449.  
  450. ok 75 - Selenium command success: $VAR1 = {
  451. 'command' => 'findElement',
  452. 'session_id' => 'de24af30-d57a-11e4-bc01-edf8c52c3a09',
  453. 'using' => 'css selector',
  454. 'value' => 'table thead tr th'
  455. };
  456.  
  457. ok 76 - Selenium command success: $VAR1 = {
  458. 'command' => 'findElement',
  459. 'session_id' => 'de24af30-d57a-11e4-bc01-edf8c52c3a09',
  460. 'using' => 'css selector',
  461. 'value' => 'table tbody tr td'
  462. };
  463.  
  464. ok 77 - Selenium command success: $VAR1 = {
  465. 'command' => 'findElement',
  466. 'session_id' => 'de24af30-d57a-11e4-bc01-edf8c52c3a09',
  467. 'using' => 'link text',
  468. 'value' => 'test103121'
  469. };
  470.  
  471. ok 78 - Selenium command success: $VAR1 = {
  472. 'command' => 'clickElement',
  473. 'id' => ':wdc:1427568452134',
  474. 'session_id' => 'de24af30-d57a-11e4-bc01-edf8c52c3a09'
  475. };
  476.  
  477. ok 79 - Selenium command success: $VAR1 = {
  478. 'command' => 'findElement',
  479. 'session_id' => 'de24af30-d57a-11e4-bc01-edf8c52c3a09',
  480. 'using' => 'css selector',
  481. 'value' => '#ValidID option[value=\'2\']'
  482. };
  483.  
  484. ok 80 - Selenium command success: $VAR1 = {
  485. 'command' => 'clickElement',
  486. 'id' => ':wdc:1427568452722',
  487. 'session_id' => 'de24af30-d57a-11e4-bc01-edf8c52c3a09'
  488. };
  489.  
  490. ok 81 - Selenium command success: $VAR1 = {
  491. 'command' => 'findElement',
  492. 'session_id' => 'de24af30-d57a-11e4-bc01-edf8c52c3a09',
  493. 'using' => 'css selector',
  494. 'value' => '#Comment'
  495. };
  496.  
  497. ok 82 - Selenium command success: $VAR1 = {
  498. 'command' => 'sendKeysToElement',
  499. 'id' => ':wdc:1427568452723',
  500. 'session_id' => 'de24af30-d57a-11e4-bc01-edf8c52c3a09',
  501. 'value' => [
  502. 'Selenium test attachment'
  503. ]
  504. };
  505.  
  506. ok 83 - Selenium command success: $VAR1 = {
  507. 'command' => 'findElement',
  508. 'session_id' => 'de24af30-d57a-11e4-bc01-edf8c52c3a09',
  509. 'using' => 'css selector',
  510. 'value' => '#Name'
  511. };
  512.  
  513. ok 84 - Selenium command success: $VAR1 = {
  514. 'command' => 'submitElement',
  515. 'id' => ':wdc:1427568452724',
  516. 'session_id' => 'de24af30-d57a-11e4-bc01-edf8c52c3a09'
  517. };
  518.  
  519. ok 85 - Selenium command success: $VAR1 = {
  520. 'command' => 'getPageSource',
  521. 'session_id' => 'de24af30-d57a-11e4-bc01-edf8c52c3a09'
  522. };
  523.  
  524. ok 86 - $RandomID found on table
  525. ok 87 - Selenium command success: $VAR1 = {
  526. 'command' => 'findElement',
  527. 'session_id' => 'de24af30-d57a-11e4-bc01-edf8c52c3a09',
  528. 'using' => 'link text',
  529. 'value' => 'test103121'
  530. };
  531.  
  532. ok 88 - Selenium command success: $VAR1 = {
  533. 'command' => 'clickElement',
  534. 'id' => ':wdc:1427568453394',
  535. 'session_id' => 'de24af30-d57a-11e4-bc01-edf8c52c3a09'
  536. };
  537.  
  538. ok 89 - Selenium command success: $VAR1 = {
  539. 'command' => 'findElement',
  540. 'session_id' => 'de24af30-d57a-11e4-bc01-edf8c52c3a09',
  541. 'using' => 'css selector',
  542. 'value' => '#ValidID'
  543. };
  544.  
  545. ok 90 - Selenium command success: $VAR1 = {
  546. 'command' => 'getElementAttribute',
  547. 'id' => ':wdc:1427568453932',
  548. 'name' => 'value',
  549. 'session_id' => 'de24af30-d57a-11e4-bc01-edf8c52c3a09'
  550. };
  551.  
  552. ok 91 - #ValidID updated value (is '2')
  553. ok 92 - Selenium command success: $VAR1 = {
  554. 'command' => 'findElement',
  555. 'session_id' => 'de24af30-d57a-11e4-bc01-edf8c52c3a09',
  556. 'using' => 'css selector',
  557. 'value' => '#Comment'
  558. };
  559.  
  560. ok 93 - Selenium command success: $VAR1 = {
  561. 'command' => 'getElementAttribute',
  562. 'id' => ':wdc:1427568453933',
  563. 'name' => 'value',
  564. 'session_id' => 'de24af30-d57a-11e4-bc01-edf8c52c3a09'
  565. };
  566.  
  567. ok 94 - #Comment updated value (is 'Selenium test attachment')
  568. ok 95 - Selenium command success: $VAR1 = {
  569. 'command' => 'goBack',
  570. 'session_id' => 'de24af30-d57a-11e4-bc01-edf8c52c3a09'
  571. };
  572.  
  573. ok 96 - Selenium command success: $VAR1 = {
  574. 'command' => 'findElement',
  575. 'session_id' => 'de24af30-d57a-11e4-bc01-edf8c52c3a09',
  576. 'using' => 'xpath',
  577. 'value' => '//a[contains(@href, \'Subaction=Delete;ID=199\' )]'
  578. };
  579.  
  580. ok 97 - Selenium command success: $VAR1 = {
  581. 'command' => 'clickElement',
  582. 'id' => ':wdc:1427568454497',
  583. 'session_id' => 'de24af30-d57a-11e4-bc01-edf8c52c3a09'
  584. };
  585.  
  586. ok 98 - Selenium command success: $VAR1 = {
  587. 'command' => 'findElement',
  588. 'session_id' => 'de24af30-d57a-11e4-bc01-edf8c52c3a09',
  589. 'using' => 'xpath',
  590. 'value' => '//a[contains(@href, \'Subaction=Add\' )]'
  591. };
  592.  
  593. ok 99 - Selenium command success: $VAR1 = {
  594. 'command' => 'clickElement',
  595. 'id' => ':wdc:1427568455398',
  596. 'session_id' => 'de24af30-d57a-11e4-bc01-edf8c52c3a09'
  597. };
  598.  
  599. ok 100 - Selenium command success: $VAR1 = {
  600. 'command' => 'findElement',
  601. 'session_id' => 'de24af30-d57a-11e4-bc01-edf8c52c3a09',
  602. 'using' => 'css selector',
  603. 'value' => '#Name'
  604. };
  605.  
  606. ok 101 - Selenium command success: $VAR1 = {
  607. 'command' => 'sendKeysToElement',
  608. 'id' => ':wdc:1427568456008',
  609. 'session_id' => 'de24af30-d57a-11e4-bc01-edf8c52c3a09',
  610. 'value' => [
  611. 'test784032'
  612. ]
  613. };
  614.  
  615. ok 102 - Selenium command success: $VAR1 = {
  616. 'command' => 'findElement',
  617. 'session_id' => 'de24af30-d57a-11e4-bc01-edf8c52c3a09',
  618. 'using' => 'css selector',
  619. 'value' => '#ValidID option[value=\'1\']'
  620. };
  621.  
  622. ok 103 - Selenium command success: $VAR1 = {
  623. 'command' => 'clickElement',
  624. 'id' => ':wdc:1427568456009',
  625. 'session_id' => 'de24af30-d57a-11e4-bc01-edf8c52c3a09'
  626. };
  627.  
  628. ok 104 - Selenium command success: $VAR1 = {
  629. 'command' => 'findElement',
  630. 'session_id' => 'de24af30-d57a-11e4-bc01-edf8c52c3a09',
  631. 'using' => 'css selector',
  632. 'value' => '#FileUpload'
  633. };
  634.  
  635. ok 105 - Selenium command success: $VAR1 = {
  636. 'command' => 'sendKeysToElement',
  637. 'id' => ':wdc:1427568456010',
  638. 'session_id' => 'de24af30-d57a-11e4-bc01-edf8c52c3a09',
  639. 'value' => [
  640. '/Users/Carlos/Dev/OTRS/otrs_head/scripts/test/sample/StdAttachment/StdAttachment-Test1.doc'
  641. ]
  642. };
  643.  
  644. ok 106 - Selenium command success: $VAR1 = {
  645. 'command' => 'findElement',
  646. 'session_id' => 'de24af30-d57a-11e4-bc01-edf8c52c3a09',
  647. 'using' => 'css selector',
  648. 'value' => '#Name'
  649. };
  650.  
  651. ok 107 - Selenium command success: $VAR1 = {
  652. 'command' => 'submitElement',
  653. 'id' => ':wdc:1427568456008',
  654. 'session_id' => 'de24af30-d57a-11e4-bc01-edf8c52c3a09'
  655. };
  656.  
  657. ok 108 - Selenium command success: $VAR1 = {
  658. 'command' => 'getPageSource',
  659. 'session_id' => 'de24af30-d57a-11e4-bc01-edf8c52c3a09'
  660. };
  661.  
  662. ok 109 - test784032 standard attachment found on page
  663. ok 110 - Selenium command success: $VAR1 = {
  664. 'command' => 'findElement',
  665. 'session_id' => 'de24af30-d57a-11e4-bc01-edf8c52c3a09',
  666. 'using' => 'css selector',
  667. 'value' => 'table'
  668. };
  669.  
  670. ok 111 - Selenium command success: $VAR1 = {
  671. 'command' => 'findElement',
  672. 'session_id' => 'de24af30-d57a-11e4-bc01-edf8c52c3a09',
  673. 'using' => 'css selector',
  674. 'value' => 'table thead tr th'
  675. };
  676.  
  677. ok 112 - Selenium command success: $VAR1 = {
  678. 'command' => 'findElement',
  679. 'session_id' => 'de24af30-d57a-11e4-bc01-edf8c52c3a09',
  680. 'using' => 'css selector',
  681. 'value' => 'table tbody tr td'
  682. };
  683.  
  684. ok 113 - Selenium command success: $VAR1 = {
  685. 'command' => 'findElement',
  686. 'session_id' => 'de24af30-d57a-11e4-bc01-edf8c52c3a09',
  687. 'using' => 'link text',
  688. 'value' => 'test784032'
  689. };
  690.  
  691. ok 114 - Selenium command success: $VAR1 = {
  692. 'command' => 'clickElement',
  693. 'id' => ':wdc:1427568456742',
  694. 'session_id' => 'de24af30-d57a-11e4-bc01-edf8c52c3a09'
  695. };
  696.  
  697. ok 115 - Selenium command success: $VAR1 = {
  698. 'command' => 'findElement',
  699. 'session_id' => 'de24af30-d57a-11e4-bc01-edf8c52c3a09',
  700. 'using' => 'css selector',
  701. 'value' => '#ValidID option[value=\'2\']'
  702. };
  703.  
  704. ok 116 - Selenium command success: $VAR1 = {
  705. 'command' => 'clickElement',
  706. 'id' => ':wdc:1427568457327',
  707. 'session_id' => 'de24af30-d57a-11e4-bc01-edf8c52c3a09'
  708. };
  709.  
  710. ok 117 - Selenium command success: $VAR1 = {
  711. 'command' => 'findElement',
  712. 'session_id' => 'de24af30-d57a-11e4-bc01-edf8c52c3a09',
  713. 'using' => 'css selector',
  714. 'value' => '#Comment'
  715. };
  716.  
  717. ok 118 - Selenium command success: $VAR1 = {
  718. 'command' => 'sendKeysToElement',
  719. 'id' => ':wdc:1427568457328',
  720. 'session_id' => 'de24af30-d57a-11e4-bc01-edf8c52c3a09',
  721. 'value' => [
  722. 'Selenium test attachment'
  723. ]
  724. };
  725.  
  726. ok 119 - Selenium command success: $VAR1 = {
  727. 'command' => 'findElement',
  728. 'session_id' => 'de24af30-d57a-11e4-bc01-edf8c52c3a09',
  729. 'using' => 'css selector',
  730. 'value' => '#Name'
  731. };
  732.  
  733. ok 120 - Selenium command success: $VAR1 = {
  734. 'command' => 'submitElement',
  735. 'id' => ':wdc:1427568457329',
  736. 'session_id' => 'de24af30-d57a-11e4-bc01-edf8c52c3a09'
  737. };
  738.  
  739. ok 121 - Selenium command success: $VAR1 = {
  740. 'command' => 'getPageSource',
  741. 'session_id' => 'de24af30-d57a-11e4-bc01-edf8c52c3a09'
  742. };
  743.  
  744. ok 122 - $RandomID found on table
  745. ok 123 - Selenium command success: $VAR1 = {
  746. 'command' => 'findElement',
  747. 'session_id' => 'de24af30-d57a-11e4-bc01-edf8c52c3a09',
  748. 'using' => 'link text',
  749. 'value' => 'test784032'
  750. };
  751.  
  752. ok 124 - Selenium command success: $VAR1 = {
  753. 'command' => 'clickElement',
  754. 'id' => ':wdc:1427568458019',
  755. 'session_id' => 'de24af30-d57a-11e4-bc01-edf8c52c3a09'
  756. };
  757.  
  758. ok 125 - Selenium command success: $VAR1 = {
  759. 'command' => 'findElement',
  760. 'session_id' => 'de24af30-d57a-11e4-bc01-edf8c52c3a09',
  761. 'using' => 'css selector',
  762. 'value' => '#ValidID'
  763. };
  764.  
  765. ok 126 - Selenium command success: $VAR1 = {
  766. 'command' => 'getElementAttribute',
  767. 'id' => ':wdc:1427568458581',
  768. 'name' => 'value',
  769. 'session_id' => 'de24af30-d57a-11e4-bc01-edf8c52c3a09'
  770. };
  771.  
  772. ok 127 - #ValidID updated value (is '2')
  773. ok 128 - Selenium command success: $VAR1 = {
  774. 'command' => 'findElement',
  775. 'session_id' => 'de24af30-d57a-11e4-bc01-edf8c52c3a09',
  776. 'using' => 'css selector',
  777. 'value' => '#Comment'
  778. };
  779.  
  780. ok 129 - Selenium command success: $VAR1 = {
  781. 'command' => 'getElementAttribute',
  782. 'id' => ':wdc:1427568458582',
  783. 'name' => 'value',
  784. 'session_id' => 'de24af30-d57a-11e4-bc01-edf8c52c3a09'
  785. };
  786.  
  787. ok 130 - #Comment updated value (is 'Selenium test attachment')
  788. ok 131 - Selenium command success: $VAR1 = {
  789. 'command' => 'goBack',
  790. 'session_id' => 'de24af30-d57a-11e4-bc01-edf8c52c3a09'
  791. };
  792.  
  793. ok 132 - Selenium command success: $VAR1 = {
  794. 'command' => 'findElement',
  795. 'session_id' => 'de24af30-d57a-11e4-bc01-edf8c52c3a09',
  796. 'using' => 'xpath',
  797. 'value' => '//a[contains(@href, \'Subaction=Delete;ID=200\' )]'
  798. };
  799.  
  800. ok 133 - Selenium command success: $VAR1 = {
  801. 'command' => 'clickElement',
  802. 'id' => ':wdc:1427568459156',
  803. 'session_id' => 'de24af30-d57a-11e4-bc01-edf8c52c3a09'
  804. };
  805.  
  806. ok 134 - Selenium command success: $VAR1 = {
  807. 'command' => 'findElement',
  808. 'session_id' => 'de24af30-d57a-11e4-bc01-edf8c52c3a09',
  809. 'using' => 'xpath',
  810. 'value' => '//a[contains(@href, \'Subaction=Add\' )]'
  811. };
  812.  
  813. ok 135 - Selenium command success: $VAR1 = {
  814. 'command' => 'clickElement',
  815. 'id' => ':wdc:1427568460042',
  816. 'session_id' => 'de24af30-d57a-11e4-bc01-edf8c52c3a09'
  817. };
  818.  
  819. ok 136 - Selenium command success: $VAR1 = {
  820. 'command' => 'findElement',
  821. 'session_id' => 'de24af30-d57a-11e4-bc01-edf8c52c3a09',
  822. 'using' => 'css selector',
  823. 'value' => '#Name'
  824. };
  825.  
  826. ok 137 - Selenium command success: $VAR1 = {
  827. 'command' => 'sendKeysToElement',
  828. 'id' => ':wdc:1427568460647',
  829. 'session_id' => 'de24af30-d57a-11e4-bc01-edf8c52c3a09',
  830. 'value' => [
  831. 'test348497'
  832. ]
  833. };
  834.  
  835. ok 138 - Selenium command success: $VAR1 = {
  836. 'command' => 'findElement',
  837. 'session_id' => 'de24af30-d57a-11e4-bc01-edf8c52c3a09',
  838. 'using' => 'css selector',
  839. 'value' => '#ValidID option[value=\'1\']'
  840. };
  841.  
  842. ok 139 - Selenium command success: $VAR1 = {
  843. 'command' => 'clickElement',
  844. 'id' => ':wdc:1427568460648',
  845. 'session_id' => 'de24af30-d57a-11e4-bc01-edf8c52c3a09'
  846. };
  847.  
  848. ok 140 - Selenium command success: $VAR1 = {
  849. 'command' => 'findElement',
  850. 'session_id' => 'de24af30-d57a-11e4-bc01-edf8c52c3a09',
  851. 'using' => 'css selector',
  852. 'value' => '#FileUpload'
  853. };
  854.  
  855. ok 141 - Selenium command success: $VAR1 = {
  856. 'command' => 'sendKeysToElement',
  857. 'id' => ':wdc:1427568460649',
  858. 'session_id' => 'de24af30-d57a-11e4-bc01-edf8c52c3a09',
  859. 'value' => [
  860. '/Users/Carlos/Dev/OTRS/otrs_head/scripts/test/sample/StdAttachment/StdAttachment-Test1.png'
  861. ]
  862. };
  863.  
  864. ok 142 - Selenium command success: $VAR1 = {
  865. 'command' => 'findElement',
  866. 'session_id' => 'de24af30-d57a-11e4-bc01-edf8c52c3a09',
  867. 'using' => 'css selector',
  868. 'value' => '#Name'
  869. };
  870.  
  871. ok 143 - Selenium command success: $VAR1 = {
  872. 'command' => 'submitElement',
  873. 'id' => ':wdc:1427568460647',
  874. 'session_id' => 'de24af30-d57a-11e4-bc01-edf8c52c3a09'
  875. };
  876.  
  877. ok 144 - Selenium command success: $VAR1 = {
  878. 'command' => 'getPageSource',
  879. 'session_id' => 'de24af30-d57a-11e4-bc01-edf8c52c3a09'
  880. };
  881.  
  882. ok 145 - test348497 standard attachment found on page
  883. ok 146 - Selenium command success: $VAR1 = {
  884. 'command' => 'findElement',
  885. 'session_id' => 'de24af30-d57a-11e4-bc01-edf8c52c3a09',
  886. 'using' => 'css selector',
  887. 'value' => 'table'
  888. };
  889.  
  890. ok 147 - Selenium command success: $VAR1 = {
  891. 'command' => 'findElement',
  892. 'session_id' => 'de24af30-d57a-11e4-bc01-edf8c52c3a09',
  893. 'using' => 'css selector',
  894. 'value' => 'table thead tr th'
  895. };
  896.  
  897. ok 148 - Selenium command success: $VAR1 = {
  898. 'command' => 'findElement',
  899. 'session_id' => 'de24af30-d57a-11e4-bc01-edf8c52c3a09',
  900. 'using' => 'css selector',
  901. 'value' => 'table tbody tr td'
  902. };
  903.  
  904. ok 149 - Selenium command success: $VAR1 = {
  905. 'command' => 'findElement',
  906. 'session_id' => 'de24af30-d57a-11e4-bc01-edf8c52c3a09',
  907. 'using' => 'link text',
  908. 'value' => 'test348497'
  909. };
  910.  
  911. ok 150 - Selenium command success: $VAR1 = {
  912. 'command' => 'clickElement',
  913. 'id' => ':wdc:1427568461370',
  914. 'session_id' => 'de24af30-d57a-11e4-bc01-edf8c52c3a09'
  915. };
  916.  
  917. ok 151 - Selenium command success: $VAR1 = {
  918. 'command' => 'findElement',
  919. 'session_id' => 'de24af30-d57a-11e4-bc01-edf8c52c3a09',
  920. 'using' => 'css selector',
  921. 'value' => '#ValidID option[value=\'2\']'
  922. };
  923.  
  924. ok 152 - Selenium command success: $VAR1 = {
  925. 'command' => 'clickElement',
  926. 'id' => ':wdc:1427568461955',
  927. 'session_id' => 'de24af30-d57a-11e4-bc01-edf8c52c3a09'
  928. };
  929.  
  930. ok 153 - Selenium command success: $VAR1 = {
  931. 'command' => 'findElement',
  932. 'session_id' => 'de24af30-d57a-11e4-bc01-edf8c52c3a09',
  933. 'using' => 'css selector',
  934. 'value' => '#Comment'
  935. };
  936.  
  937. ok 154 - Selenium command success: $VAR1 = {
  938. 'command' => 'sendKeysToElement',
  939. 'id' => ':wdc:1427568461956',
  940. 'session_id' => 'de24af30-d57a-11e4-bc01-edf8c52c3a09',
  941. 'value' => [
  942. 'Selenium test attachment'
  943. ]
  944. };
  945.  
  946. ok 155 - Selenium command success: $VAR1 = {
  947. 'command' => 'findElement',
  948. 'session_id' => 'de24af30-d57a-11e4-bc01-edf8c52c3a09',
  949. 'using' => 'css selector',
  950. 'value' => '#Name'
  951. };
  952.  
  953. ok 156 - Selenium command success: $VAR1 = {
  954. 'command' => 'submitElement',
  955. 'id' => ':wdc:1427568461957',
  956. 'session_id' => 'de24af30-d57a-11e4-bc01-edf8c52c3a09'
  957. };
  958.  
  959. ok 157 - Selenium command success: $VAR1 = {
  960. 'command' => 'getPageSource',
  961. 'session_id' => 'de24af30-d57a-11e4-bc01-edf8c52c3a09'
  962. };
  963.  
  964. ok 158 - $RandomID found on table
  965. ok 159 - Selenium command success: $VAR1 = {
  966. 'command' => 'findElement',
  967. 'session_id' => 'de24af30-d57a-11e4-bc01-edf8c52c3a09',
  968. 'using' => 'link text',
  969. 'value' => 'test348497'
  970. };
  971.  
  972. ok 160 - Selenium command success: $VAR1 = {
  973. 'command' => 'clickElement',
  974. 'id' => ':wdc:1427568462641',
  975. 'session_id' => 'de24af30-d57a-11e4-bc01-edf8c52c3a09'
  976. };
  977.  
  978. ok 161 - Selenium command success: $VAR1 = {
  979. 'command' => 'findElement',
  980. 'session_id' => 'de24af30-d57a-11e4-bc01-edf8c52c3a09',
  981. 'using' => 'css selector',
  982. 'value' => '#ValidID'
  983. };
  984.  
  985. ok 162 - Selenium command success: $VAR1 = {
  986. 'command' => 'getElementAttribute',
  987. 'id' => ':wdc:1427568463205',
  988. 'name' => 'value',
  989. 'session_id' => 'de24af30-d57a-11e4-bc01-edf8c52c3a09'
  990. };
  991.  
  992. ok 163 - #ValidID updated value (is '2')
  993. ok 164 - Selenium command success: $VAR1 = {
  994. 'command' => 'findElement',
  995. 'session_id' => 'de24af30-d57a-11e4-bc01-edf8c52c3a09',
  996. 'using' => 'css selector',
  997. 'value' => '#Comment'
  998. };
  999.  
  1000. ok 165 - Selenium command success: $VAR1 = {
  1001. 'command' => 'getElementAttribute',
  1002. 'id' => ':wdc:1427568463206',
  1003. 'name' => 'value',
  1004. 'session_id' => 'de24af30-d57a-11e4-bc01-edf8c52c3a09'
  1005. };
  1006.  
  1007. ok 166 - #Comment updated value (is 'Selenium test attachment')
  1008. ok 167 - Selenium command success: $VAR1 = {
  1009. 'command' => 'goBack',
  1010. 'session_id' => 'de24af30-d57a-11e4-bc01-edf8c52c3a09'
  1011. };
  1012.  
  1013. ok 168 - Selenium command success: $VAR1 = {
  1014. 'command' => 'findElement',
  1015. 'session_id' => 'de24af30-d57a-11e4-bc01-edf8c52c3a09',
  1016. 'using' => 'xpath',
  1017. 'value' => '//a[contains(@href, \'Subaction=Delete;ID=201\' )]'
  1018. };
  1019.  
  1020. ok 169 - Selenium command success: $VAR1 = {
  1021. 'command' => 'clickElement',
  1022. 'id' => ':wdc:1427568463771',
  1023. 'session_id' => 'de24af30-d57a-11e4-bc01-edf8c52c3a09'
  1024. };
  1025.  
  1026. ok 170 - Selenium command success: $VAR1 = {
  1027. 'command' => 'findElement',
  1028. 'session_id' => 'de24af30-d57a-11e4-bc01-edf8c52c3a09',
  1029. 'using' => 'xpath',
  1030. 'value' => '//a[contains(@href, \'Subaction=Add\' )]'
  1031. };
  1032.  
  1033. ok 171 - Selenium command success: $VAR1 = {
  1034. 'command' => 'clickElement',
  1035. 'id' => ':wdc:1427568464656',
  1036. 'session_id' => 'de24af30-d57a-11e4-bc01-edf8c52c3a09'
  1037. };
  1038.  
  1039. ok 172 - Selenium command success: $VAR1 = {
  1040. 'command' => 'findElement',
  1041. 'session_id' => 'de24af30-d57a-11e4-bc01-edf8c52c3a09',
  1042. 'using' => 'css selector',
  1043. 'value' => '#Name'
  1044. };
  1045.  
  1046. ok 173 - Selenium command success: $VAR1 = {
  1047. 'command' => 'sendKeysToElement',
  1048. 'id' => ':wdc:1427568465188',
  1049. 'session_id' => 'de24af30-d57a-11e4-bc01-edf8c52c3a09',
  1050. 'value' => [
  1051. 'test915852'
  1052. ]
  1053. };
  1054.  
  1055. ok 174 - Selenium command success: $VAR1 = {
  1056. 'command' => 'findElement',
  1057. 'session_id' => 'de24af30-d57a-11e4-bc01-edf8c52c3a09',
  1058. 'using' => 'css selector',
  1059. 'value' => '#ValidID option[value=\'1\']'
  1060. };
  1061.  
  1062. ok 175 - Selenium command success: $VAR1 = {
  1063. 'command' => 'clickElement',
  1064. 'id' => ':wdc:1427568465189',
  1065. 'session_id' => 'de24af30-d57a-11e4-bc01-edf8c52c3a09'
  1066. };
  1067.  
  1068. ok 176 - Selenium command success: $VAR1 = {
  1069. 'command' => 'findElement',
  1070. 'session_id' => 'de24af30-d57a-11e4-bc01-edf8c52c3a09',
  1071. 'using' => 'css selector',
  1072. 'value' => '#FileUpload'
  1073. };
  1074.  
  1075. ok 177 - Selenium command success: $VAR1 = {
  1076. 'command' => 'sendKeysToElement',
  1077. 'id' => ':wdc:1427568465190',
  1078. 'session_id' => 'de24af30-d57a-11e4-bc01-edf8c52c3a09',
  1079. 'value' => [
  1080. '/Users/Carlos/Dev/OTRS/otrs_head/scripts/test/sample/StdAttachment/StdAttachment-Test1.pdf'
  1081. ]
  1082. };
  1083.  
  1084. ok 178 - Selenium command success: $VAR1 = {
  1085. 'command' => 'findElement',
  1086. 'session_id' => 'de24af30-d57a-11e4-bc01-edf8c52c3a09',
  1087. 'using' => 'css selector',
  1088. 'value' => '#Name'
  1089. };
  1090.  
  1091. ok 179 - Selenium command success: $VAR1 = {
  1092. 'command' => 'submitElement',
  1093. 'id' => ':wdc:1427568465188',
  1094. 'session_id' => 'de24af30-d57a-11e4-bc01-edf8c52c3a09'
  1095. };
  1096.  
  1097. ok 180 - Selenium command success: $VAR1 = {
  1098. 'command' => 'getPageSource',
  1099. 'session_id' => 'de24af30-d57a-11e4-bc01-edf8c52c3a09'
  1100. };
  1101.  
  1102. ok 181 - test915852 standard attachment found on page
  1103. ok 182 - Selenium command success: $VAR1 = {
  1104. 'command' => 'findElement',
  1105. 'session_id' => 'de24af30-d57a-11e4-bc01-edf8c52c3a09',
  1106. 'using' => 'css selector',
  1107. 'value' => 'table'
  1108. };
  1109.  
  1110. ok 183 - Selenium command success: $VAR1 = {
  1111. 'command' => 'findElement',
  1112. 'session_id' => 'de24af30-d57a-11e4-bc01-edf8c52c3a09',
  1113. 'using' => 'css selector',
  1114. 'value' => 'table thead tr th'
  1115. };
  1116.  
  1117. ok 184 - Selenium command success: $VAR1 = {
  1118. 'command' => 'findElement',
  1119. 'session_id' => 'de24af30-d57a-11e4-bc01-edf8c52c3a09',
  1120. 'using' => 'css selector',
  1121. 'value' => 'table tbody tr td'
  1122. };
  1123.  
  1124. ok 185 - Selenium command success: $VAR1 = {
  1125. 'command' => 'findElement',
  1126. 'session_id' => 'de24af30-d57a-11e4-bc01-edf8c52c3a09',
  1127. 'using' => 'link text',
  1128. 'value' => 'test915852'
  1129. };
  1130.  
  1131. ok 186 - Selenium command success: $VAR1 = {
  1132. 'command' => 'clickElement',
  1133. 'id' => ':wdc:1427568465906',
  1134. 'session_id' => 'de24af30-d57a-11e4-bc01-edf8c52c3a09'
  1135. };
  1136.  
  1137. ok 187 - Selenium command success: $VAR1 = {
  1138. 'command' => 'findElement',
  1139. 'session_id' => 'de24af30-d57a-11e4-bc01-edf8c52c3a09',
  1140. 'using' => 'css selector',
  1141. 'value' => '#ValidID option[value=\'2\']'
  1142. };
  1143.  
  1144. ok 188 - Selenium command success: $VAR1 = {
  1145. 'command' => 'clickElement',
  1146. 'id' => ':wdc:1427568466492',
  1147. 'session_id' => 'de24af30-d57a-11e4-bc01-edf8c52c3a09'
  1148. };
  1149.  
  1150. ok 189 - Selenium command success: $VAR1 = {
  1151. 'command' => 'findElement',
  1152. 'session_id' => 'de24af30-d57a-11e4-bc01-edf8c52c3a09',
  1153. 'using' => 'css selector',
  1154. 'value' => '#Comment'
  1155. };
  1156.  
  1157. ok 190 - Selenium command success: $VAR1 = {
  1158. 'command' => 'sendKeysToElement',
  1159. 'id' => ':wdc:1427568466493',
  1160. 'session_id' => 'de24af30-d57a-11e4-bc01-edf8c52c3a09',
  1161. 'value' => [
  1162. 'Selenium test attachment'
  1163. ]
  1164. };
  1165.  
  1166. ok 191 - Selenium command success: $VAR1 = {
  1167. 'command' => 'findElement',
  1168. 'session_id' => 'de24af30-d57a-11e4-bc01-edf8c52c3a09',
  1169. 'using' => 'css selector',
  1170. 'value' => '#Name'
  1171. };
  1172.  
  1173. ok 192 - Selenium command success: $VAR1 = {
  1174. 'command' => 'submitElement',
  1175. 'id' => ':wdc:1427568466494',
  1176. 'session_id' => 'de24af30-d57a-11e4-bc01-edf8c52c3a09'
  1177. };
  1178.  
  1179. ok 193 - Selenium command success: $VAR1 = {
  1180. 'command' => 'getPageSource',
  1181. 'session_id' => 'de24af30-d57a-11e4-bc01-edf8c52c3a09'
  1182. };
  1183.  
  1184. ok 194 - $RandomID found on table
  1185. ok 195 - Selenium command success: $VAR1 = {
  1186. 'command' => 'findElement',
  1187. 'session_id' => 'de24af30-d57a-11e4-bc01-edf8c52c3a09',
  1188. 'using' => 'link text',
  1189. 'value' => 'test915852'
  1190. };
  1191.  
  1192. ok 196 - Selenium command success: $VAR1 = {
  1193. 'command' => 'clickElement',
  1194. 'id' => ':wdc:1427568467192',
  1195. 'session_id' => 'de24af30-d57a-11e4-bc01-edf8c52c3a09'
  1196. };
  1197.  
  1198. ok 197 - Selenium command success: $VAR1 = {
  1199. 'command' => 'findElement',
  1200. 'session_id' => 'de24af30-d57a-11e4-bc01-edf8c52c3a09',
  1201. 'using' => 'css selector',
  1202. 'value' => '#ValidID'
  1203. };
  1204.  
  1205. ok 198 - Selenium command success: $VAR1 = {
  1206. 'command' => 'getElementAttribute',
  1207. 'id' => ':wdc:1427568467732',
  1208. 'name' => 'value',
  1209. 'session_id' => 'de24af30-d57a-11e4-bc01-edf8c52c3a09'
  1210. };
  1211.  
  1212. ok 199 - #ValidID updated value (is '2')
  1213. ok 200 - Selenium command success: $VAR1 = {
  1214. 'command' => 'findElement',
  1215. 'session_id' => 'de24af30-d57a-11e4-bc01-edf8c52c3a09',
  1216. 'using' => 'css selector',
  1217. 'value' => '#Comment'
  1218. };
  1219.  
  1220. ok 201 - Selenium command success: $VAR1 = {
  1221. 'command' => 'getElementAttribute',
  1222. 'id' => ':wdc:1427568467733',
  1223. 'name' => 'value',
  1224. 'session_id' => 'de24af30-d57a-11e4-bc01-edf8c52c3a09'
  1225. };
  1226.  
  1227. ok 202 - #Comment updated value (is 'Selenium test attachment')
  1228. ok 203 - Selenium command success: $VAR1 = {
  1229. 'command' => 'goBack',
  1230. 'session_id' => 'de24af30-d57a-11e4-bc01-edf8c52c3a09'
  1231. };
  1232.  
  1233. ok 204 - Selenium command success: $VAR1 = {
  1234. 'command' => 'findElement',
  1235. 'session_id' => 'de24af30-d57a-11e4-bc01-edf8c52c3a09',
  1236. 'using' => 'xpath',
  1237. 'value' => '//a[contains(@href, \'Subaction=Delete;ID=202\' )]'
  1238. };
  1239.  
  1240. ok 205 - Selenium command success: $VAR1 = {
  1241. 'command' => 'clickElement',
  1242. 'id' => ':wdc:1427568468302',
  1243. 'session_id' => 'de24af30-d57a-11e4-bc01-edf8c52c3a09'
  1244. };
  1245.  
  1246. ok 206 - Set test user 1261 to invalid
  1247. ok 207 - Shutting down Selenium scenario.
  1248. ok 208 - Selenium command success: $VAR1 = {
  1249. 'command' => 'quit',
  1250. 'session_id' => 'de24af30-d57a-11e4-bc01-edf8c52c3a09'
  1251. };
  1252.  
  1253. +-------------------------------------------------------------------+
  1254. /Users/Carlos/Dev/OTRS/otrs_head/scripts/test/Selenium/Agent/Admin/AdminAutoResponse.t:
  1255. +-------------------------------------------------------------------+
  1256. ok 1 - Starting up Selenium scenario...
  1257. ok 2 - Selenium command success: $VAR1 = {
  1258. 'command' => 'setWindowSize',
  1259. 'height' => 1024,
  1260. 'session_id' => 'ee81ae00-d57a-11e4-bc01-edf8c52c3a09',
  1261. 'width' => 768,
  1262. 'window_handle' => 'current'
  1263. };
  1264.  
  1265. ok 3 - Creating backup of the system configuration
  1266. ok 4 - Created test user 1262
  1267. ok 5 - Added test user test251738 to group admin
  1268. ok 6 - Set user UserLanguage to en
  1269. ok 7 - Initiating login...
  1270. ok 8 - Selenium command success: $VAR1 = {
  1271. 'command' => 'deleteAllCookies',
  1272. 'session_id' => 'ee81ae00-d57a-11e4-bc01-edf8c52c3a09'
  1273. };
  1274.  
  1275. ok 9 - Selenium command success: $VAR1 = {
  1276. 'command' => 'get',
  1277. 'session_id' => 'ee81ae00-d57a-11e4-bc01-edf8c52c3a09',
  1278. 'url' => 'http://otrs_master.mandalore.com/otrs/index.pl'
  1279. };
  1280.  
  1281. ok 10 - Selenium command success: $VAR1 = {
  1282. 'command' => 'deleteAllCookies',
  1283. 'session_id' => 'ee81ae00-d57a-11e4-bc01-edf8c52c3a09'
  1284. };
  1285.  
  1286. ok 11 - Selenium command success: $VAR1 = {
  1287. 'command' => 'get',
  1288. 'session_id' => 'ee81ae00-d57a-11e4-bc01-edf8c52c3a09',
  1289. 'url' => 'http://otrs_master.mandalore.com/otrs/index.pl'
  1290. };
  1291.  
  1292. ok 12 - Selenium command success: $VAR1 = {
  1293. 'command' => 'findElement',
  1294. 'session_id' => 'ee81ae00-d57a-11e4-bc01-edf8c52c3a09',
  1295. 'using' => 'css selector',
  1296. 'value' => 'input#User'
  1297. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement