Tiktok


SUBMITTED BY: gabrielrcruz

DATE: Sept. 17, 2023, 6:29 p.m.

FORMAT: Text only

SIZE: 14.4 kB

HITS: 2062

  1. {
  2. "Name": "GNR_SEGUE",
  3. "CreationDate": "2023-8-24",
  4. "Commands": [
  5. {
  6. "Command": "store",
  7. "Target": "true",
  8. "Value": "!errorignore",
  9. "Description": ""
  10. },
  11. {
  12. "Command": "label",
  13. "Target": "SemTarefa",
  14. "Value": "",
  15. "Description": ""
  16. },
  17. {
  18. "Command": "open",
  19. "Target": "https://www.ganharnasredes.com/painel/?pagina=sistema",
  20. "Value": "",
  21. "Description": ""
  22. },
  23. {
  24. "Command": "selectWindow",
  25. "Target": "tab=0",
  26. "Value": "",
  27. "Description": ""
  28. },
  29. {
  30. "Command": "select",
  31. "Target": "id=contatt",
  32. "Value": "value=401973",
  33. "Description": "Colocar o Id da conta aqui"
  34. },
  35. {
  36. "Command": "select",
  37. "Target": "id=ta",
  38. "Value": "value=2",
  39. "Targets": [
  40. "id=ta",
  41. "name=ta",
  42. "xpath=//*[@id=\"ta\"]",
  43. "xpath=//select[@id='ta']",
  44. "xpath=//select[2]",
  45. "css=#ta"
  46. ],
  47. "Description": "Colocar o Id da conta aqui"
  48. },
  49. {
  50. "Command": "click",
  51. "Target": "id=btn_iniciar",
  52. "Value": "",
  53. "Description": ""
  54. },
  55. {
  56. "Command": "pause",
  57. "Target": "20000",
  58. "Value": "",
  59. "Description": ""
  60. },
  61. {
  62. "Command": "assertText",
  63. "Target": "xpath=//*[@id=\"tarefa\"]/h3",
  64. "Value": "Tarefas Esgotadas",
  65. "Description": ""
  66. },
  67. {
  68. "Command": "gotoIf_v2",
  69. "Target": "${!LASTCOMMANDOK}",
  70. "Value": "SemTarefa",
  71. "Description": ""
  72. },
  73. {
  74. "Command": "assertText",
  75. "Target": "xpath=//*[@id=\"tarefa\"]/b",
  76. "Value": "[TT] Curtir Publicação",
  77. "Description": ""
  78. },
  79. {
  80. "Command": "gotoIf_v2",
  81. "Target": "${!LASTCOMMANDOK}",
  82. "Value": "TarefaNRealiza",
  83. "Description": ""
  84. },
  85. {
  86. "Command": "label",
  87. "Target": "ContinuarTarefaSeguir",
  88. "Value": "",
  89. "Description": ""
  90. },
  91. {
  92. "Command": "click",
  93. "Target": "linkText=Acesso Direto",
  94. "Value": "",
  95. "Description": ""
  96. },
  97. {
  98. "Command": "pause",
  99. "Target": "1500",
  100. "Value": "",
  101. "Description": ""
  102. },
  103. {
  104. "Command": "selectWindow",
  105. "Target": "tab=1",
  106. "Value": "",
  107. "Description": ""
  108. },
  109. {
  110. "Command": "pause",
  111. "Target": "1500",
  112. "Value": "",
  113. "Description": ""
  114. },
  115. {
  116. "Command": "click",
  117. "Target": "//*[text()[contains(.,'Seguir')]]",
  118. "Value": "",
  119. "Description": ""
  120. },
  121. {
  122. "Command": "pause",
  123. "Target": "2000",
  124. "Value": "",
  125. "Description": ""
  126. },
  127. {
  128. "Command": "refresh",
  129. "Target": "https://www.tiktok.com/",
  130. "Value": "",
  131. "Description": ""
  132. },
  133. {
  134. "Command": "pause",
  135. "Target": "2000",
  136. "Value": "",
  137. "Description": ""
  138. },
  139. {
  140. "Command": "waitForElementVisible",
  141. "Target": "xpath=//*[@id=\"main-content-others_homepage\"]/div/div/div/div[2]/div/div[2]/div",
  142. "Value": "",
  143. "Targets": [
  144. "xpath=//*[@id=\"main-content-others_homepage\"]/div/div/div/div[2]/div/div[2]/div",
  145. "xpath=//div[2]/div[2]/div/div/div/div[2]/div/div[2]/div",
  146. "css=#main-content-others_homepage > div > div.tiktok-1g04lal-DivShareLayoutHeader-StyledDivShareLayoutHeaderV2.enm41492 > div.tiktok-1gk89rh-DivShareInfo.ekmpd5l2 > div.tiktok-1hdrv89-DivShareTitleContainer.ekmpd5l3 > div > div.tiktok-1djryq8-DivMessageContainer.e18e4obn1 > div"
  147. ],
  148. "Description": ""
  149. },
  150. {
  151. "Command": "gotoIf_v2",
  152. "Target": "${!LASTCOMMANDOK}",
  153. "Value": "OK",
  154. "Description": ""
  155. },
  156. {
  157. "Command": "click",
  158. "Target": "xpath=//video",
  159. "Value": "",
  160. "Description": ""
  161. },
  162. {
  163. "Command": "pause",
  164. "Target": "2000",
  165. "Value": "",
  166. "Description": ""
  167. },
  168. {
  169. "Command": "click",
  170. "Target": "xpath=//*[@id=\"app\"]/div[3]/div[3]/div[2]/div[2]/div[2]/div[2]/button",
  171. "Value": "",
  172. "Targets": [
  173. "xpath=//*[@id=\"app\"]/div[3]/div[3]/div[2]/div[2]/div[2]/div[2]/button",
  174. "xpath=//div[2]/div[2]/button",
  175. "css=#app > div.tiktok-ywuvyb-DivBodyContainer.e1irlpdw0 > div.tiktok-1qg2388-DivBrowserModeContainer.e11s2kul0 > div.tiktok-3q30id-DivContentContainer.e1mecfx00 > div.tiktok-1h8ubbu-DivMainContent.e1mecfx01 > div.tiktok-iwpir3-DivContainer.ehlq8k30 > div.tiktok-4gicbl-DivCopyLinkContainer.ehlq8k33 > button"
  176. ],
  177. "Description": ""
  178. },
  179. {
  180. "Command": "click",
  181. "Target": "//*[text()[contains(.,'Seguir')]]",
  182. "Value": "",
  183. "Description": ""
  184. },
  185. {
  186. "Command": "pause",
  187. "Target": "2000",
  188. "Value": "",
  189. "Description": ""
  190. },
  191. {
  192. "Command": "refresh",
  193. "Target": "https://www.tiktok.com/",
  194. "Value": "",
  195. "Description": ""
  196. },
  197. {
  198. "Command": "pause",
  199. "Target": "2000",
  200. "Value": "",
  201. "Description": ""
  202. },
  203. {
  204. "Command": "assertText",
  205. "Target": "xpath=//*[@id=\"main-content-video_detail\"]/div/div[2]/div/div[2]/div/button",
  206. "Value": "Seguindo",
  207. "Description": ""
  208. },
  209. {
  210. "Command": "gotoIf_v2",
  211. "Target": "${!LASTCOMMANDOK}",
  212. "Value": "OK",
  213. "Description": ""
  214. },
  215. {
  216. "Command": "pause",
  217. "Target": "2000",
  218. "Value": "",
  219. "Description": ""
  220. },
  221. {
  222. "Command": "click",
  223. "Target": "//*[text()[contains(.,'Seguir')]]",
  224. "Value": "",
  225. "Description": ""
  226. },
  227. {
  228. "Command": "pause",
  229. "Target": "2000",
  230. "Value": "",
  231. "Description": ""
  232. },
  233. {
  234. "Command": "refresh",
  235. "Target": "https://www.tiktok.com/",
  236. "Value": "",
  237. "Description": ""
  238. },
  239. {
  240. "Command": "pause",
  241. "Target": "2000",
  242. "Value": "",
  243. "Description": ""
  244. },
  245. {
  246. "Command": "assertText",
  247. "Target": "xpath=//*[@id=\"main-content-others_homepage\"]/div/div/div/div[2]/div/div/button",
  248. "Value": "Seguir",
  249. "Description": ""
  250. },
  251. {
  252. "Command": "gotoIf_v2",
  253. "Target": "${!LASTCOMMANDOK}",
  254. "Value": "TarefaNRealiza",
  255. "Description": ""
  256. },
  257. {
  258. "Command": "assertText",
  259. "Target": "xpath=//*[@id=\"main-content-video_detail\"]/div/div[2]/div/div/div[2]/div/div/button/div",
  260. "Value": "Seguir",
  261. "Description": ""
  262. },
  263. {
  264. "Command": "gotoIf_v2",
  265. "Target": "${!LASTCOMMANDOK}",
  266. "Value": "TarefaNRealiza",
  267. "Description": ""
  268. },
  269. {
  270. "Command": "label",
  271. "Target": "OK",
  272. "Value": "",
  273. "Description": ""
  274. },
  275. {
  276. "Command": "label",
  277. "Target": "OKCurtir",
  278. "Value": "",
  279. "Description": ""
  280. },
  281. {
  282. "Command": "selectWindow",
  283. "Target": "tab=0",
  284. "Value": "",
  285. "Description": ""
  286. },
  287. {
  288. "Command": "click",
  289. "Target": "id=btn-confirmar",
  290. "Value": "",
  291. "Description": ""
  292. },
  293. {
  294. "Command": "pause",
  295. "Target": "2000",
  296. "Value": "",
  297. "Description": ""
  298. },
  299. {
  300. "Command": "selectWindow",
  301. "Target": "TAB=CLOSEALLOTHER",
  302. "Value": "",
  303. "Description": ""
  304. },
  305. {
  306. "Command": "pause",
  307. "Target": "10000",
  308. "Value": "",
  309. "Description": ""
  310. },
  311. {
  312. "Command": "assertText",
  313. "Target": "linkText=Acessar Perfil",
  314. "Value": "Acessar Perfil",
  315. "Description": ""
  316. },
  317. {
  318. "Command": "gotoIf_v2",
  319. "Target": "${!LASTCOMMANDOK}",
  320. "Value": "ContinuarTarefaSeguir",
  321. "Description": ""
  322. },
  323. {
  324. "Command": "assertText",
  325. "Target": "xpath=//*[@id=\"tarefa\"]/b",
  326. "Value": "[TT] Curtir Publicação",
  327. "Description": ""
  328. },
  329. {
  330. "Command": "gotoIf_v2",
  331. "Target": "${!LASTCOMMANDOK}",
  332. "Value": "TarefaNRealiza",
  333. "Description": ""
  334. },
  335. {
  336. "Command": "run",
  337. "Target": "GNR_SEGUE",
  338. "Value": "",
  339. "Description": ""
  340. },
  341. {
  342. "Command": "label",
  343. "Target": "TarefaNRealiza",
  344. "Value": "",
  345. "Description": ""
  346. },
  347. {
  348. "Command": "selectWindow",
  349. "Target": "tab=0",
  350. "Value": "",
  351. "Description": ""
  352. },
  353. {
  354. "Command": "click",
  355. "Target": "id=btn-pular",
  356. "Value": "",
  357. "Description": ""
  358. },
  359. {
  360. "Command": "selectWindow",
  361. "Target": "TAB=CLOSEALLOTHER",
  362. "Value": "",
  363. "Description": ""
  364. },
  365. {
  366. "Command": "pause",
  367. "Target": "10000",
  368. "Value": "",
  369. "Description": ""
  370. },
  371. {
  372. "Command": "assertText",
  373. "Target": "xpath=//*[@id=\"tarefa\"]/b",
  374. "Value": "[TT] Seguir Perfil",
  375. "Description": ""
  376. },
  377. {
  378. "Command": "gotoIf_v2",
  379. "Target": "${!LASTCOMMANDOK}",
  380. "Value": "ContinuarTarefaSeguir",
  381. "Description": ""
  382. },
  383. {
  384. "Command": "assertText",
  385. "Target": "xpath=//*[@id=\"tarefa\"]/b",
  386. "Value": "[TT] Curtir Publicação",
  387. "Description": ""
  388. },
  389. {
  390. "Command": "gotoIf_v2",
  391. "Target": "${!LASTCOMMANDOK}",
  392. "Value": "TarefaNRealiza",
  393. "Description": ""
  394. },
  395. {
  396. "Command": "run",
  397. "Target": "GNR_SEGUE",
  398. "Value": "",
  399. "Description": ""
  400. },
  401. {
  402. "Command": "label",
  403. "Target": "TarefaCurtir",
  404. "Value": "",
  405. "Description": ""
  406. },
  407. {
  408. "Command": "label",
  409. "Target": "ContinuarTarefaCurtir",
  410. "Value": "",
  411. "Description": ""
  412. },
  413. {
  414. "Command": "click",
  415. "Target": "linkText=Acesso Direto",
  416. "Value": "",
  417. "Description": ""
  418. },
  419. {
  420. "Command": "pause",
  421. "Target": "1500",
  422. "Value": "",
  423. "Description": ""
  424. },
  425. {
  426. "Command": "selectWindow",
  427. "Target": "tab=1",
  428. "Value": "",
  429. "Description": ""
  430. },
  431. {
  432. "Command": "pause",
  433. "Target": "1500",
  434. "Value": "",
  435. "Description": ""
  436. },
  437. {
  438. "Command": "click",
  439. "Target": "css=#app > div.tiktok-ywuvyb-DivBodyContainer.e1irlpdw0 > div.tiktok-5e76ju-DivMainContainer.elnrzms0 > div.tiktok-19j62s8-DivVideoDetailContainer.ege8lhx0 > div.tiktok-12kupwv-DivContentContainer.ege8lhx2 > div.tiktok-1senhbu-DivLeftContainer.ege8lhx3 > div.tiktok-1sb4dwc-DivPlayerContainer.eqrezik3 > div.tiktok-14a6qal-DivVideoContainer.eqrezik6 > div.tiktok-ln2tr4-DivActionItemContainer.ean6quk0 > button:nth-child(1) > span > svg",
  440. "Value": "",
  441. "Description": ""
  442. },
  443. {
  444. "Command": "pause",
  445. "Target": "2000",
  446. "Value": "",
  447. "Description": ""
  448. },
  449. {
  450. "Command": "refresh",
  451. "Target": "https://www.tiktok.com/",
  452. "Value": "",
  453. "Description": ""
  454. },
  455. {
  456. "Command": "pause",
  457. "Target": "2000",
  458. "Value": "",
  459. "Description": ""
  460. },
  461. {
  462. "Command": "click",
  463. "Target": "css=#app > div.tiktok-ywuvyb-DivBodyContainer.e1irlpdw0 > div.tiktok-5e76ju-DivMainContainer.elnrzms0 > div.tiktok-19j62s8-DivVideoDetailContainer.ege8lhx0 > div.tiktok-12kupwv-DivContentContainer.ege8lhx2 > div.tiktok-1senhbu-DivLeftContainer.ege8lhx3 > div.tiktok-1sb4dwc-DivPlayerContainer.eqrezik3 > div.tiktok-14a6qal-DivVideoContainer.eqrezik6 > div.tiktok-ln2tr4-DivActionItemContainer.ean6quk0 > button:nth-child(1) > span > svg",
  464. "Value": "",
  465. "Description": ""
  466. },
  467. {
  468. "Command": "gotoIf_v2",
  469. "Target": "!${!LASTCOMMANDOK}",
  470. "Value": "OKCurtir",
  471. "Description": ""
  472. },
  473. {
  474. "Command": "pause",
  475. "Target": "2000",
  476. "Value": "",
  477. "Description": ""
  478. },
  479. {
  480. "Command": "refresh",
  481. "Target": "https://www.tiktok.com/",
  482. "Value": "",
  483. "Description": ""
  484. },
  485. {
  486. "Command": "pause",
  487. "Target": "2000",
  488. "Value": "",
  489. "Description": ""
  490. },
  491. {
  492. "Command": "click",
  493. "Target": "css=#app > div.tiktok-ywuvyb-DivBodyContainer.e1irlpdw0 > div.tiktok-5e76ju-DivMainContainer.elnrzms0 > div.tiktok-19j62s8-DivVideoDetailContainer.ege8lhx0 > div.tiktok-12kupwv-DivContentContainer.ege8lhx2 > div.tiktok-1senhbu-DivLeftContainer.ege8lhx3 > div.tiktok-1sb4dwc-DivPlayerContainer.eqrezik3 > div.tiktok-14a6qal-DivVideoContainer.eqrezik6 > div.tiktok-ln2tr4-DivActionItemContainer.ean6quk0 > button:nth-child(1) > span > svg",
  494. "Value": "",
  495. "Description": ""
  496. },
  497. {
  498. "Command": "gotoIf_v2",
  499. "Target": "!${!LASTCOMMANDOK}",
  500. "Value": "OKCurtir",
  501. "Description": ""
  502. },
  503. {
  504. "Command": "pause",
  505. "Target": "2000",
  506. "Value": "",
  507. "Description": ""
  508. },
  509. {
  510. "Command": "refresh",
  511. "Target": "https://www.tiktok.com/",
  512. "Value": "",
  513. "Description": ""
  514. },
  515. {
  516. "Command": "pause",
  517. "Target": "2000",
  518. "Value": "",
  519. "Description": ""
  520. },
  521. {
  522. "Command": "verifyElementPresent",
  523. "Target": "css=#app > div.tiktok-ywuvyb-DivBodyContainer.e1irlpdw0 > div.tiktok-5e76ju-DivMainContainer.elnrzms0 > div.tiktok-19j62s8-DivVideoDetailContainer.ege8lhx0 > div.tiktok-12kupwv-DivContentContainer.ege8lhx2 > div.tiktok-1senhbu-DivLeftContainer.ege8lhx3 > div.tiktok-1sb4dwc-DivPlayerContainer.eqrezik3 > div.tiktok-14a6qal-DivVideoContainer.eqrezik6 > div.tiktok-ln2tr4-DivActionItemContainer.ean6quk0 > button:nth-child(1) > span > svg",
  524. "Value": "",
  525. "Description": ""
  526. },
  527. {
  528. "Command": "gotoIf_v2",
  529. "Target": "${!LASTCOMMANDOK}",
  530. "Value": "TarefaNRealiza",
  531. "Description": ""
  532. },
  533. {
  534. "Command": "gotoIf_v2",
  535. "Target": "${!LASTCOMMANDOK}",
  536. "Value": "OKCurtir",
  537. "Description": ""
  538. },
  539. {
  540. "Command": "run",
  541. "Target": "GNR_SEGUE",
  542. "Value": "",
  543. "Description": ""
  544. }
  545. ]
  546. }

comments powered by Disqus