← Back to team overview

sikuli-driver team mailing list archive

[Question #196722]: how to type the value in textbox from the FOR loop

 

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

Hi,

i am automating my "USB2 Hub Transaction Translator" test using sikuli, i used win xp system.
 the problem is, i want to run the same code for 6 times, i used FOR loop for this. 
i want to print the value of current 'n' value in the textbox of the test tool.

this is the code i using, what i want change in this?


for n in range(0,6):
          click("HunTestSuite.png")
#wait("1336481937003.png",15)
#click("1336481997673.png")
          wait("1336461115774.png",10)
          click("1336367719618.png")
          type("4")
          click("1336454365526.png")
          click("1336454386648.png")
          click("1336454403989.png")
          click("1336454429923.png")
          wait("1336482172308.png",5)
          click("1336454429923.png")
          wait("1336462550627.png",5)
          click("1336454440328.png")
          type("1336461313727.png","n")      # i want to print the current n value here
           click("1336454455872.png")
          wait("1336462307251.png",19223)
          click("1336454403989.png")

Thank you

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