Contributions
Trying to supress or resize error icons on the log report
When I look at a log on screen, I can see the message text but when I try and print it, the icons take vast amounts of space and truncate the useful message. Used to work Ok in TC7.5 and maybe TC8. Anyone know how to resize the icons.14KViews0likes1CommentWebservice Call sliding a datetime based on the time-zone
I am testing in NZ which is currently 13 hours different from UTC/GMT. I am running TC8.70.727.7 When I use javascript to pass in a datetime to webservice stub, in the watch variable list the variable is clearly 16/6/2012 but when it arrives inside the webservice, it has become 15/6/2012 at 11am. Both my client and service are Windows machines in the same timezone with the same regional settings. I am assuming that the generated webservice proxy has a datetime/timezone bug.18KViews0likes1CommentWas having trouble interpreting a response from a webservice in JScript
I am using TestComplete 8.70.727.7 to do functional testing on a SOAP web service for the first time. when I call a webservice such as: var wsResult = WebServices.CommCalcService.CalculateLapseCancel14DayFreeLook(219027, 2, "20/01/2012 3:06:01 p.m.", "chris", "testcomplete"); Then I get back a response object whose properties exactly match the XML. Excellent so far. However, they seem to have a typename of ArrayOfBlah and I don't know how to handle that in JScript? Such as XML result like: <root> <logs> <logLine>aaaaaa</logLine> <logLine>bbbbb</logLine> <logLine>cccccc</logLine> <logs> </root> After some help file frustration and then trial and error, I found the simple answer: var myLogLines = wsResult.logs.logLine.toArray() The answer was on actually in the help topic "Calling Web Service Methods That Use Out Parameters" but it was a case of being able to find the answer only after you already knew the answer. I would recommend that this snippet of information appears in several other help topics to make it easier to find. In particular, it would be useful on help topics "Working With SOAP Requests' and Responses' Data From Scripts" and "WebServiceInfo.ParseResponse"15KViews0likes1Comment