Sensitive data like passwords associated with any account used in scenarios (administration routers , proxy, FireWall , etc. . ) can be encrypted to prevent them to be read directly in NEWTEST scripts.
Encryption takes place in a secure file ( NEWPASS.INI in the installation directory of the robot ).
Passwords and encrypted password are recovered in the script using the BASIC NEWTEST GetPassword order.
NEWPASS.INI file is part of objects supported by centralized management of robots.
It is therefore possible to vary the elements encrypted in this file separately for each robot deployed.
Thus, information security are specific and are not clearly outlined in the scenarios.
To create an encrypted entry in the NEWPASS.INI file, please visit the Passwords tab of the project in Newtest Transaction Builder for New Robots and make the Alias window appears. Add an entry that designate the encrypted password ( ID ) . Then enter the password itself , confirm the input password and click Add.
The password will be encrypted with DES3.
The content of NEWPASS.INI file is as follows:
[MYPASSWORD]
Password = CWKBLKPGUGKBURGBENSYTOEVEXGO
[GENERAL]
ListIdent = MYPASSWORD ;
The following code retrieves the password after decryption for use in the scenarios:
reference to undefined name 'syntax' Une exception de type 'MindTouch.Deki.Script.Runtime.DekiScriptUndefinedNameException' a été levée. (click for details)Callstack:
at NEWTEST/NTBR_-_Newtest_Transaction_Builder/Operating/Password
MindTouch.Deki.Script.Runtime.DekiScriptUndefinedNameException: reference to undefined name 'syntax' Une exception de type 'MindTouch.Deki.Script.Runtime.DekiScriptUndefinedNameException' a été levée.
à MindTouch.Deki.Script.Compiler.DekiScriptExpressionEvaluation.Visit(DekiScriptVar expr, DekiScriptExpressionEvaluationState state)
à MindTouch.Deki.Script.Expr.DekiScriptVar.VisitWith[TState,TReturn](IDekiScriptExpressionVisitor`2 visitor, TState state)
à MindTouch.Deki.Script.Compiler.DekiScriptExpressionEvaluation.Evaluate(DekiScriptAccess expr, DekiScriptExpressionEvaluationState state, Boolean evaluateProperties)
à MindTouch.Deki.Script.Compiler.DekiScriptExpressionEvaluation.Visit(DekiScriptAccess expr, DekiScriptExpressionEvaluationState state)
à MindTouch.Deki.Script.Expr.DekiScriptAccess.VisitWith[TState,TReturn](IDekiScriptExpressionVisitor`2 visitor, TState state)
à MindTouch.Deki.Script.Compiler.DekiScriptExpressionEvaluation.Visit(DekiScriptCall expr, DekiScriptExpressionEvaluationState state)
à MindTouch.Deki.Script.Expr.DekiScriptCall.VisitWith[TState,TReturn](IDekiScriptExpressionVisitor`2 visitor, TState state)
à MindTouch.Deki.Script.Compiler.DekiScriptExpressionEvaluation.Visit(DekiScriptSequence expr, DekiScriptExpressionEvaluationState state)
à MindTouch.Deki.Script.Expr.DekiScriptSequence.VisitWith[TState,TReturn](IDekiScriptExpressionVisitor`2 visitor, TState state)
à MindTouch.Deki.Script.Compiler.DekiScriptExpressionEvaluation.Visit(DekiScriptReturnScope expr, DekiScriptExpressionEvaluationState state)
Comments