← Back to team overview

sikuli-driver team mailing list archive

[Question #204525]: Parameterization with sikuli

 

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

>how to use parametrization if  I want to parametrize username & password for the below script:
> Moto is to run below script n times with n number of users.
>please help 

import unittest
import HTMLTestRunner
class TestA(unittest.TestCase):
    def setUp(self):
        openApp("C:\\Program Files\\Microsoft Office\\Office14\\WINWORD.EXE")
        while not exists("Pr00fGuru-1.png"):
            sleep(5)
        click("Pr00fGuru.png")
        click("Starthacking.png")
        while not exists("SignInEmailI.png"):
            sleep(5)
        click("EmailID.png")
        type("ankit@xxxxxxxxxxxxx\t")
        type("testing")
        click("1342006158928.png")

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.