← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #217330]: I want to write the scripts for client server application by using sikuli IDE?

 

Question #217330 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/217330

naveen gave more information on the question:
Hi,

My script is like below...

from sikuli import *
import unittest
import HTMLTestRunner
class RPM(unittest.TestCase):

 def test_RPM_TC_19_20(self):

       doubleClick("1355310652196.png")

      #openApp("C:\\Program Files\\Intel\\DSS RMPE Client Setup v0.11\\Build\\Bin\\DSS_Console.exe")
       sleep(2)


       type("1355401940222.png", "naveen")
       type(Key.TAB)
       type("1355401951587.png", "guest")
       type(Key.TAB)
       click("1348564004345.png")
       sleep(10)
       click("QDeviceManag.png")
       
       sleep(7)
       click("1349418350325.png")
       sleep(5)
       type("EnterIPAddre-1.png", "10.60.12.85")
       #type(key.TAB)
       type("AMTUsemameH.png", "admin")
    #type(key.TAB)
       type("AMTPasswordH.png", "Intel@123")
     
       click("AddDevice-1.png")
       sleep(15)

       click("1349418599878-1.png")
       sleep(7)
       #click("1355389435925.png")
       sleep(8)
       click("1355482529109.png")
       sleep(7)
       click("1355400975314.png")
       sleep(5)

       click("1PowerOFF.png")
       
       click("1355402635342.png")
       
       hover("1100AMQ-1.png")
      
       
       doubleClick("1355403018609.png") 
       
       wheel("1100AMQ-1.png",WHEEL_UP,6)
       
       sleep(5)

       doubleClick("UU.png")

       wheel("1100AMQ-1.png",WHEEL_UP,23)
       doubleClick("1355403066336.png")

       wheel("1100AMQ-1.png",WHEEL_UP,1)

       sleep(5)

       click("1355403174842.png")
       
       m=find("W11PowerOTED.png")

       for i in range(2):
           m.highlight(2)
           wait(0.5)

       assert exists("W11PowerOTED.png")

       sleep(15)

      
       
       click("1355402300142.png")
       
       click("1355402316821.png")
       
test2 = unittest.TestLoader().loadTestsFromTestCase(RPM)
outfile =  open("C:\\Sikuli\\Reports\\RPM_Report19_20.html", "wb") # path to report folder
runner = HTMLTestRunner.HTMLTestRunner(stream=outfile, title='DSS-RMPE Beta_Demo Test Report', description='RPM Testcases are executed based on Alpha release' )
runner.run(test2) 
outfile.close()      

   can any one suggest me ..............

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