Forum Discussion
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";
Browsers.Item(btIExplorer).Run(loginURLStr);
The above snippet works fine for an IPv4 address, but throws error message for an IPv6 address.
Regards,
Mohammed Firdosh Nasim.
Hi,
This is just a guess, Can you try chr function instead of using [].
Ex:
natIP = chr(91) + natIP + chr(93); // IPv6 address needs to be enclosed within []
i'm not having web module to check this
- firdosh8 years agoNew Contributor
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.
- vijayababuj6 years agoSenior Member
Hi,
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 :) .
- TanyaYatskovska6 years agoSmartBear Alumni (Retired)
Hi vijayababuj,
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
Related Content
- 13 years ago
- 13 years ago
Recent Discussions
- 2 days ago
- 2 days ago
- 5 days ago