← Back to team overview

sikuli-driver team mailing list archive

[Question #695520]: So I worte this function and sometimes its able to grabbed the text in table and sometimes it doesnt

 

New question #695520 on Sikuli:
https://answers.launchpad.net/sikuli/+question/695520

So I want it to run consistently, i dont understand why it's not able to  grabbed the text in column.  This is the function I am using:

def copyBookOutsTableTradeID():
    print "Copy Trade ID in Bookouts"
    r=Region(218,195,209,148)

    wait(.5)
    click(Location(509, 227))
    x=r.find("SRCTradeIDHeader.png").below(51).highlight(.5).text()

    
    print("ID is "+x)
    return x

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.