Contributions
TC can't recognize complex silverlight controls...
I study TC8 and discover that some of application developed by my company are not recognized correctly. Usualy TC highlights only group of such elements and I can not call control's methods. I read help and find that I can extend TC by my own plugins. So I want to ask: can I extend TC by such complex controls tomake them recognizable?11KViews0likes1CommentHow to insert Date type value into DB Table?
I use such string in delphi script to insert date-type value into table: Cmd.CommandText := 'insert into MY_TABLE values(' '1' ',To_date(' '05.03.2010' ', ' 'dd.mm.yyyy' '))'; Cmd.CommandType := DB.adCmdText; When I call the method RecSet := Cmd.Execute all is ok. But now I want to insert value using parameter. I wrote: Cmd.CommandText := 'insert into MY_TABLE values(' '1' ',?)'; Cmd.CommandType := DB.adCmdText; Prm:= Cmd.CreateParameter('date', DB.adDate, adParamInput); Prm.Value := StrToDate('05.03.2010'); Cmd.Parameters.Append(Prm); ... Now, when I call the method "RecSet := Cmd.Execute; " script can not stop and when I interupt it the message "stopping..." appeares but script can't finish. To stop the script execution the TestComplete process must be shuted down. So, how can I insert into table value in date type field?13KViews0likes1Comment