I am trying to pass a IPv6 address as "https://[<IPv6_addr>]:<port_num>" to Browsers.Item().Run(). Getting an error as "The parameter in incorrect". What is the correct way to pass an IPv6 address.
You missed to mention on which browser it should run.
Here, I just the mentioned the routine which I am using. And of course, I have mentioned the browser type in my script 🙂
var natIP = "x:x:x:x:x:x:x:x";
natIP = "[" + natIP + "]"; // IPv6 address needs to be enclosed within 
var loginURLStr = "https://" + natIP + ":5480";
The above snippet works fine for an IPv4 address, but throws error message for an IPv6 address.
Mohammed Firdosh Nasim.
This is just a guess, Can you try chr function instead of using .
natIP = chr(91) + natIP + chr(93); // IPv6 address needs to be enclosed within 
i'm not having web module to check this
Tried as suggested, but still seeing the same error. Basically when it encounters a colon (:) in IPv6 address format, it throws the error. Tried to replace : with chr(58), but no luck.
Did u get solution for this error. Use IPv6 in testcomplete is very minimal itseems. Hope u have got resolved it. If so, share ur solution. It will be help others including myself 🙂 .
I've just checked this on my computer - I get the "The parameter is incorrect" error also. Actually, I'm not sure if TestComplete supports this. I suggest that you resend this question to our Support Team so that they could investigate it. You can reach out to them here: https://support.smartbear.com/message/?prod=TestComplete