Contributions
ORACLE cursor - get output parameters
Hi. I have some code which gives me opportunity to analyze output cursor. //ADO connection initialization var MY_DB = new ActiveXObject("ADODB.Connection"); var Cmd = new ActiveXObject("ADODB.Command"); var RecSet = new ActiveXObject("ADODB.Recordset"); //DB connection opening MY_DB.ConnectionString = "Provider=MSDAORA;Data Source=dev;User Id=dev;Password=pass;OLEDB.NET=True;"; MY_DB.Open(); //DB command initialization //or you can use "cmd = ADO.CreateCommand();" Cmd.ActiveConnection = MY_DB; Cmd.CommandType = adCmdText; Cmd.CommandText = "{call pkg_rds_issue_stdata.p_get_rds_issue_stdata_fields(?, {resultset 0, op_cursor}, ?)}"; //Parameters initialization Prm_Error = Cmd.CreateParameter("op_error_code", adInteger, adParamOutput); //param1 Prm_User = Cmd.CreateParameter("ip_user", adVarChar, adParamInput, 256);//param2 Cmd.Parameters.Append(Cmd.CreateParameter("op_error_code", adInteger, adParamOutput)); Cmd.Parameters.Append(Cmd.CreateParameter("ip_user", adVarChar, adParamInput, 256, "linda.quinn@db.com")); //filling Hierarchy_items_db by array of hierarchy items from DB RecSet = Cmd.Execute(); RecSet.MoveFirst(); while (!RecSet.EOF) { ... } How i can get and analyze op_error_code output parameter with cursor simultaneously? Thanks in advance.6.7KViews0likes1Comment- 1.4KViews0likes0Comments
Re: CSV Driver doesn't see columns of csv file
Hi Helen. You were right. My VM hasn't HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\JET directory in the registry (in comparison with my physical machine where "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Jet\4.0\Engines\Text" is present). But i came across a new problem: how i can to include missing values into registry? When i tried to import appropriate registry folder ==> my license failed. What can i do? Maybe reinstalling of Microsoft Office will help? But I'm afraid that any changes in the registry can kill my license again, and it's too many time could be missed to recreate license again. Thanks in advance.1.4KViews0likes0CommentsRe: CSV Driver doesn't see columns of csv file
I'm sorry, but i thought that this topic is not under your responsibility. That's why i decided to write the same question in "Adobe Flash, Flex and AIR Application Testing" area in order to get an answer as quickly as possible. This will not happen again. Thanks a lot.710Views0likes0CommentsCSV Driver doesn't see columns of csv file
Hi All, help me please to find the reason of such problem: Dashboard_drv = DDT.CSVDriver("C:\\Documents and Settings\\Administrator\\Desktop\\FILES AFTER UPLOAD to COMPARE\\Dashboard.csv"); var Col_Num = Dashboard_drv.ColumnCount; var Col_Name, i; Log.Message(Col_Num); for ( i=0; i < Col_Num; i++ ) { Col_Name = Dashboard_drv.ColumnName(i); Log.Message(Col_Name); } After executing this code CSV driver said that Col_Num = 1 but file contains 23 columns. Any ideas? Interesting fact: This code worked successfully on physical machine but after moving my Test Complete to virtual machine i got such problem. Maybe some differences in Regional and language options??? Thanks.7.4KViews0likes2CommentsCSV Driver doesn't see columns of csv file
Hi All, help me please to find the reason of such problem: Dashboard_drv = DDT.CSVDriver("C:\\Documents and Settings\\Administrator\\Desktop\\FILES AFTER UPLOAD to COMPARE\\Dashboard.csv"); var Col_Num = Dashboard_drv.ColumnCount; var Col_Name, i; Log.Message(Col_Num); for ( i=0; i < Col_Num; i++ ) { Col_Name = Dashboard_drv.ColumnName(i); Log.Message(Col_Name); } After executing this code CSV driver said that Col_Num = 1 but file contains 23 columns. Any ideas? Interesting fact: This code worked successfully on physical machine but after moving my Test Complete to virtual machine i got such problem. Maybe some differences in Regional and language options??? Thanks.19KViews0likes4Comments- 783Views0likes0Comments
Using VMs to install Test Complete
Hi, All. I installed Test Complete on Virtual Machine (Win XP Prof. SP3 on Oracle VM Virtual Box Manager) and after starting application such ERROR message appeared: "Cloned HASP SL secure storage detected. Error code: hasp_login, 64". Any ideas? Thanks in advance.23KViews0likes2Comments