We are building a new experience for our SmartBear Community.
This site is now read-only. You can still browse and search as usual. Learn More
This site is now read-only. You can still browse and search as usual. Learn More
Helen's reply got me thinking... Could we just use the powers of JavaScript directly?
function test()
{
var str = "type1=12345678901234567890111&type2=3.0.00&type3=1234567811";
var strarr = str.split('&');
for (var i = 0; i < strarr.length; i++) {
var typearr = strarr[i].split('=');
Log.Message(strarr[i]);
switch (typearr[0]) {
case 'type1':
Log.Message("TYPE1: length = " + typearr[1].length);
break;
case 'type2':
Log.Message("TYPE2: length = " + typearr[1].length);
break;
case 'type3':
Log.Message("TYPE3: length = " + typearr[1].length);
break;
default:
Log.Message("unrecognized type");
break;
}
}
}
produces
Hi HKosova sorry but what does "GAC" mean?
JBSoccerbrit wrote:
Hi HKosova sorry but what does "GAC" mean?
GAC = https://msdn.microsoft.com/en-us/library/yf1d93sz(v=vs.110).aspx.
When you add .NET DLLs to your TestComplete project (in the project properties > CLR Bridge), there're options to Browse Files (add from the disk) and Browse GAC. To use the example I posted you need to add the System.Web assembly via Browse GAC.