Finding difficult to find Wifi name


#1

I have a requirement stating that I need to find the Wifi name. If the Wifi name is any of the organization’s Wifi, then I need to find the organization’s name.

In this Katalon how can I find, In which Wifi , the user is connected.


#2

perhaps you can use this to execute ipconfig or other relevant commands on your system and parse the output:

check also this:


#3
println execCmd('Netsh WLAN show interfaces')
public static String execCmd(String cmd) throws java.io.IOException {
 	java.util.Scanner s = new java.util.Scanner(Runtime.getRuntime().exec(cmd).getInputStream()).useDelimiter("\\A");
 	return s.hasNext() ? s.next() : "";
}


#4

@discover.selenium i edited your post to use codeblock instead of quoting.
hint: use triple backticks top/bottom of the code instead of >
you can see the difference


#5

Thanks for correcting me Ibus.


#6

hi,

this will works too