Example Python Script Using Eggdrive
                                                        This example shows how you can use Eggdrive in a Python script. For more information about how to use Eggdrive, see Using Eggdrive.
                                                            
                                                        
import xmlrpclib
                                                            
                                                        
# ggPlant instanceに接続
server = xmlrpclib.ServerProxy("http://127.0.0.1:5400")
 
#セッションの開始
server.startsession("/path/to/my/suite")
                                                            
                                                        
# eggPlantをSUTに接続
server.execute("connect serverId:\"192.168.1.34\", password:\"mypass\"")
 
#必要な/実行したいeggPlantコードは何でも実行
server.execute("put \"my interesting string\"")
server.execute("click \"someImage\"")
 
#セッションの終了
server.endsession("")