Welcome to your new site! You can edit this page by clicking on the Edit link. For more information about customizing your site check out http://learn.wordpress.com/
Recent Posts
VBS: Connecting to a VM without User/Passwrd
Option Explicit Const ForReading = 1 Dim WshShell,objReadTextFile,remoteDesktopName,addCredential set WshShell=CreateObject(“WScript.Shell”) remoteDesktopName = InputBox(“1 : ISM” & chr(10) & “2 : AUD” & chr(10) & “3 : SBM/SPI” & chr(10) & “4 : LSM” & chr(10) & “5 : STVM” & chr(10) & “6 : GRCF” & chr(10) & “7 : MET” & chr(10) & “8 … Continue reading VBS: Connecting to a VM without User/Passwrd
BAT file: Clearing cookies, cache of the browsers and all the temporary file
erase “%TEMP%\*.*” /f /s /q for /D %%i in (“%TEMP%\*”) do RD /S /Q “%%i” erase “%TMP%\*.*” /f /s /q for /D %%i in (“%TMP%\*”) do RD /S /Q “%%i” erase “%ALLUSERSPROFILE%\TEMP\*.*” /f /s /q for /D %%i in (“%ALLUSERSPROFILE%\TEMP\*”) do RD /S /Q “%%i” erase “%SystemRoot%\TEMP\*.*” /f /s /q for /D %%i in (“%SystemRoot%\TEMP\*”) … Continue reading BAT file: Clearing cookies, cache of the browsers and all the temporary file
Python,SVN: Update the SVN folder
mfastUrlforCorewrapper=”http://rndsvn/svn/MFAST/MFASTTestHarness/” + ciVariables.MFASTVersion +”/TestScripts/corewrappers.sah” svnExportCmd=”svn export –username=”+ciVariables.svnUser+” –password=”+ciVariables.svnPwd+” –force ” +mfastUrlforCorewrapper+” “+scriptFolder def updateMFAST(): ”’ This function updates the MFAST folder with corewrapper and mfastutils and lib folder @returns None ”’ scriptFolder = os.path.join(ciVariables.mfastHome,”TestScripts”) mfastutilsFolder = os.path.join(ciVariables.mfastHome,”Testdata”,”mfastutils”) if(ciVariables.updateMFAST==”YES”): #deleting Corewrapper file corewrappersFile=scriptFolder+”/corewrappers.sah” if os.path.isfile(corewrappersFile): os.remove(corewrappersFile,dir_fd=None) #Copying the new Corewrapper file #svn export command mfastUrlforCorewrapper=”http://rndsvn/svn/MFAST/MFASTTestHarness/” + … Continue reading Python,SVN: Update the SVN folder
Python: Send Email
def sendEmail(emailSubject,body): ”’ This function is will send email updates to the recipient @toRecipient: mail id to which mail will be sent @emailSubject: subject of the mail @body: body of the mail ”’ sender = ‘dev1@dev.com’ #list receivers = [toRecipient] #receivers = [toRecipient] receivers= ciVariables.emailRecipient.split(“,”) #message = “””From: From CI -Admin #To: To Dev Team … Continue reading Python: Send Email