Guest User

Untitled

a guest
Oct 23rd, 2017
98
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 1.34 KB | None | 0 0
  1.  clickElement(-1, "input[value='Upload video']");
  2.                 loadedLoop.exec();
  3.                 update_progress(60);
  4.  
  5.                 // Check For Format Errors Start
  6.                 wait_loop(2000);
  7.  
  8.                 if (contains(-1, "", "Please enter video title"))
  9.                 {
  10.  
  11. #if defined(QT_DEBUG)
  12.                         qDebug() << "Please provide a title for your submission. Exiting...";
  13. #endif
  14.  
  15.                         update_status("DONE", "FAILED  (Please provide a title for your submission)");
  16.                         save_page();
  17.                         /*close();*/exit(0);
  18.                 }
  19.  
  20.                 if (contains(-1, "", "Please enter tags"))
  21.                 {
  22.  
  23. #if defined(QT_DEBUG)
  24.                         qDebug() << "Please provide tags for your submission. Exiting...";
  25. #endif
  26.  
  27.                         update_status("DONE", "FAILED  (Please provide tags for your submission)");
  28.                         save_page();
  29.                         /*close();*/exit(0);
  30.                 }
  31.                 // Check For Format Errors Ends
  32.  
  33.                 //loadedLoop.exec();
  34.  
  35.                 setAttributeJS(-1, "input[name='file']", "value", video_180);
  36.                 clickElement(-1, "input[value='Upload']");
  37.                 loadedLoop.exec();
  38.                 update_progress(80);
  39.                 // Check For Upload Errors Start
Add Comment
Please, Sign In to add comment