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