Tuesday, December 20, 2011

Adding webGUI automation in IxNetwork using Sikuli



Sikuli uses screenshot to do GUI automation. The first part of the video shows the script to invoke Chrome browser, go to a Dlink router emulator site and navigate through the setup. We'll run it first in Sikuli to make sure that the script is running perfectly then save the config.
Start the IxNetwork's Test Composer, from the composer, look for and choose "run process". From the run process, type in the path of the sikuli cli exe file plus an argument of -r (run) and the save script file.

           i.e. c:\program files\sikuli x\sikuli-ide.exe -r test.sikuli


Now in Test Composer, just add a wait time or sleep time after the run process followed by whatever steps you have in your configuration.

No comments:

Post a Comment