Bookshelf Home | Contents | Index | PDF | ![]() ![]() |
Testing Siebel Business Applications > Keywords Reference > Keywords Supporting Tools and Server Configuration > InvokePerlYou use the InvokePerl keyword to execute a Perl file. SignatureInvokePerl supports the following signature: InvokePerl(Select Machine|scriptname.pl:@VAR/String[String1,String2....N]/NULL|Output Variable)
Declaring PerlExecStatus in the Perl FileYou must declare the PerlExecStatus variable in the Perl file. For example, at the end of the Perl file, print the PerlExecStatus as follows: print"PerlExecStatus = $PerlExecStatus"; Use the following syntax in the Perl file to save a value to PerlExecStatus: print"\@invokePerl1=$ARGV[1]."; print"\@invokePerl2=$ARGV[0]."; print"perlexecstatus = $PerlExecStatus"; Test Harness Folder StructureThe Perl file to be executed must be placed in the invokePerl folder on the Test Harness machine. The Exefiles folder must be placed on the Test Harness Machine. INI File StructureAn eample of the INI file structure is as follows: ----SERVER_MACHINE will be passed as $ARGV[0] to the perl file SERVER_LOGIN=ORADEV\\userid|password ----SERVER_LOGIN will be passed as $ARGV [1]&& $ARGV [2] to the perl file ----SERVER_OS_TYPE will be passed as $ARGV [3] to the perl file ----SERVER_DB_TYPE will be passed as $ARGV [4] to the perl file ----SERVER_DB_NAME will be passed as $ARGV [5] to the perl file DBSERVER_AND_PORT=dbserver,port ----DBSERVER_AND_PORT will be passed as $ARGV [6] to the perl file ----DB_TABLE_OWNER will be passed as $ARGV [7] to the perl file ----DBSERVER_Login will be passed as $ARGV [8]&& $ARGV [9] to the perl file ----CLIENT_MACHINE will be passed as $ARGV [10] to the perl file-TestHarness Path $ARGV[11] ENTSERVER_AND_PORT=servername:port ----ENTSERVER_AND_PORT will be passed as $ARGV[12] ----C:\\23044\\ses\\siebsrvr\\BIN ----SERVER INSTALLATION PATH will be passed as $ARGV[13] ----Exefiles folder location will be passed as $ARGV[14] ----Variable passed from script Will be passed as $ARGV[15] PERL_PATH= \\\\servername\\install\\PERL_UTILS\\Perl1\\bin\\perl.exe ExamplesThe following table describes how to use the InvokePerl keyword when configuring Siebel Tools and Siebel Server. |
![]() ![]() |
Testing Siebel Business Applications | Copyright © 2017, Oracle and/or its affiliates. All rights reserved. Legal Notices. | |