Jump to content
UBot Underground

Could Not Upload File Using Change Field


Recommended Posts

Hi,

I don't know why But change field could not upload a file I am posting the code here..I hope someone can surely help me please..

 

NOTE:- PLEASE NOTE CONTENT OF THE SITE I WANT TO UPLOAD IS NOT SUITABLE (XVIDEOS)

 

When I use change field bot just stuck and bot return to main page..please help

create table from file("{$special folder("Application")}\\account.txt",&accountdata)
ui drop down("Category","Straight,Gay,Shemale",#category)
set(#accountrow,0,"Global")
define login(#logintoxvideo) {
    set user agent("Firefox 4")
    navigate("https://www.xvideos.com/account","Wait")
    type text($element offset(<email field>,0),$table cell(&accountdata,#accountrow,0),"Standard")
    wait(1)
    type text($element offset(<password field>,0),$table cell(&accountdata,#accountrow,1),"Standard")
    wait(1)
    click(<login button>,"Left Click","No")
    wait(1)
    wait for browser event("Everything Loaded","")
    navigate("https://www.xvideos.com/account/uploads/new","Wait")
    wait for browser event("Everything Loaded","")
    if($comparison(#category,"= Equals","Shemale")) {
        then {
            click(<id="upload_form_category_category_centered_category_shemale">,"Left Click","No")
        }
        else {
        }
    }
    if($comparison(#category,"= Equals","Straight")) {
        then {
            click(<id="upload_form_category_category_centered_category_straight">,"Left Click","No")
        }
        else {
        }
    }
    if($comparison(#category,"= Equals","Gay")) {
        then {
            click(<id="upload_form_category_category_centered_category_gay">,"Left Click","No")
        }
        else {
        }
    }
}
loop(1) {
    login(#logintoxvideo)
}
wait(10)
click($element offset(<class="icon-f icf-upload">,4),"Left Click","No")
change file field($element offset(<class="icon-f icf-upload">,4),"I:\\UBOT NEW BOTS\\xvideos\\helollo.mp4")

Link to post
Share on other sites

Hi, your ubot browser is not supporting the site , change browser 21 or 49 and check in both browser. If it still not work then you have no choice rather than using exbrowser. And one thing more don't try to- $element offset(<class="icon-f icf-upload">,4) like this search for exact element which is unique like id, innerterxt etc because the class and offset you have selected may change on a new request .Hope it helps you

 

skype id- live:69f5974a7e15e93e

Edited by tinku
Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...