Forum Discussion
Hi,
I am not absolutely sure, but I think that you should:
-- Register relevant (system.dll?) .Net assembly in dotNet Bridge in TestComplete and
-- Use something like
var objList = dotNET.Syst
in your code.
As a result, objList variable should contain deserialized list of doubles that cannot be used 'as is' in your test code and must be converted to array or delimited string or something like that that can be iterated and used in JScript.
System.Collection.Generic.List included in mscorlib.dll and it is already available in Test Complete.
I think I have to deserialize the object but not sure how to do it.
- AlexKaras8 years agoChampion Level 3
Hi,
As it was suggested by HKosova, you should figure-out what is returned from Blob - this may be some string/base64 encoded string/xml/etc. Then you should find corresponding List constructor and use it to deserialize the returning value.
However, as it was also suggested by Helen, it may be easier/more convenient to create a simple .Net assembly with one function that will receive Blob ID and database connection string as input parameters, get Blob from the database, deserialize it and return the list as, say, CrLf-delimited string. I believe that you can easily get the above code from your developers.
Related Content
- 5 years agonoittom
- 11 years agoashok_natar
- 6 months agomacheshmeh
Recent Discussions
- 2 days agoGane195