def acoe(): r.init(visual_automation=True) r.url("https://acoe.annauniv.edu/rusa/login/student") # rollNo = r.ask("enter roll number") r.type("input", "2018103549") r.type("password", "Amiami@143[enter]") r.dclick("login")
def faceBook(): r.init(visual_automation=True) r.url("https://www.facebook.com") r.dclick("email") userName = r.ask("Enter the User Name") r.type("email", userName) password = r.ask("Enter the password") r.type("pass", password + "[enter]")
def hackerrank(): r.init(visual_automation=True) r.url("https://www.hackerrank.com/dashboard") r.dclick(".login.pull-right.btn.btn-dark.btn-default.mmT") r.dclick("input-1") userName = r.ask("Enter the User Name") r.type("input-1", userName) password = r.ask("Enter the password") r.type("input-2", password + "[enter]")
import rpa as r r.init(visual_automation=True) r.dclick('outlook_icon.png') r.click('new_mail.png') ... r.type('message_box.png', 'message') r.click('send_button.png') r.close()
def youtube(): r.init(visual_automation=True) r.url("https://www.youtube.com/") r.dclick("img")