← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #245657]: Multiple Test Cases

 

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

    Status: Answered => Open

prateek gupta is still having a problem:
HI,
 i have looked into PolicyOne file, but i did not found anything related to existing 

CONTENTS -

from sikuli import *
##### Deploy Policy Only #####
#### IMPORT  DATAHOME ######
myScriptPath = "C:\\Users\pgupta\\Automation\\DataHome"
if not myScriptPath in sys.path: sys.path.append(myScriptPath)
import DataHome
#### IMPORT END ####
#### Writing Policy / upto deployment window ####
hover("1394780278064.png")
click()
wait(5)
type(Key.DOWN + Key.DOWN + Key.LEFT + Key.DOWN)
wait(5)
rightClick("1394780466763.png")
type(Key.DOWN + Key.DOWN + Key.DOWN + Key.ENTER + Key.TAB)
type("a", KEY_CTRL)
type("Bangalore" + Key.ENTER)
print("PTS Cluster name changed")
hover("1394780618441.png")
click()
type(Key.TAB + Key.TAB + Key.TAB)
wait(5)
type("a", KEY_CTRL)
wait(5)
type(Key.F10, KeyModifier.SHIFT)
type(Key.UP + Key.ENTER + Key.TAB + "C:\Users\pgupta\Desktop\policy.conf.txt" + Key.ENTER)
print("Policy import done")
type('y', Key.ALT)
type("s", KEY_CTRL)
rightClick("1394781365742.png")
type(Key.DOWN + Key.DOWN + Key.RIGHT + Key.DOWN + Key.DOWN + Key.RIGHT + Key.DOWN + Key.DOWN + Key.ENTER)
###### IMPORTING Deployment Procedure ######
myScriptPath = "C:\\Users\pgupta\\Automation\\Deployment"
if not myScriptPath in sys.path: sys.path.append(myScriptPath)
import Deployment
print("policy only deployment is done")
###### Deploy "policy only" is done #####

#### IMPORT  TECHDUMP ######
myScriptPath = "C:\\Users\pgupta\\Automation\\TechDump"
if not myScriptPath in sys.path: sys.path.append(myScriptPath)
import TechDump
#### IMPORT END ####

##### CleanUp ######
myScriptPath = "C:\\Users\pgupta\\Automation\\CleanUp"
if not myScriptPath in sys.path: sys.path.append(myScriptPath)
import CleanUp

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