Purpose : nca_connect_server function when on execution,
The nca_connect_server function connects to an Oracle NCA database server using the specified host, port number, and module.
How to use :
int nca_connect_server( LPCSTR host, LPCSTR port, LPCSTR command_line );
Explanation of nca_connect_server function :
host : The host name or IP address of the database server
Command_line : The command line specified when starting the application.
nca_connect_server("sol01", "9000"/*version=107*/,
"module=e:\\appsnca\\fnd\\7.5\\forms\\us\\fndscsgn
userid=applsyspub/pub@vision fndnam=apps");
nca_edit_set("FNDSCSGN.SIGNON.USERNAME.0", "VISION");
nca_obj_type("FNDSCSGN.SIGNON.USERNAME.0",'\t',0);
nca_edit_set("FNDSCSGN.SIGNON.PASSWORD.0", "WELCOME");
nca_button_press("FNDSCSGN.SIGNON.CONNECT_BUTTON.0");
Possible Errors we may encounter :
Error 1# Error
-----
Action.c(85): Error: C interpreter run time error: Action.c (85): Error -- memory violation : Exception ACCESS_VIOLATION received.
Action.c(85): Notify: CCI trace: Action.c(85): nca_connect_server(0x010418dc "xww.np-orcl-01.world.xerox.com", 0x010418d6 "11122", 0x01041878 "module=/home/oraapps/r11i_dmo_d25dv1_fs/...")
Error 2 # Error: nca_connect_server: cannot communicate with host (host name and port number of the application under test)
Error 3 #