Forum Discussion
Hi,
You missed to mention on which browser it should run.
Ex: Browsers.Item(btIExplorer).Run("https://[<IPv6_addr>]:<port_num>")
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.
- shankar_r8 years agoCommunity Hero
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 :) .
Related Content
- 13 years ago
- 13 years ago
- 5 years ago
Recent Discussions
- 2 days ago