Katalon with Winium for Desktop Applications


#1

This is a companion discussion topic for the original entry at https://docs.katalon.com/katalon-studio/docs/katalon-with-winium-for-desktop-applications.html

#2

Please help how can we take Screenshot using Winium+Katalon implementation.
WebUI.takeScreenshot command is for web testing framework, not for desktop applications


#3

what does seven,eight, plus, equals represent here ?

driver.findElement(By.name('Seven')).click()

driver.findElement(By.name('Plus')).click()

driver.findElement(By.name('Eight')).click()

driver.findElement(By.name('Equals')).click()

#4

I think these are identifiers of Calculator numeric pad


#5

Some one know how to close the calculator aplication (or other) without on error ?


#6

It is … you can use inspect.exe to know the identifier :slight_smile:


#7

I am getting below error while executing the driver.exe

Failed to start driver: System.Net.Sockets.SocketException (0x80004005): An attempt was made to access a socket in a way forbidden by its access permissions
at System.Net.Sockets.Socket.DoBind(EndPoint endPointSnapshot, SocketAddress socketAddress)
at System.Net.Sockets.Socket.Bind(EndPoint localEP)
at System.Net.Sockets.TcpListener.Start(Int32 backlog)
at Winium.Desktop.Driver.Listener.StartListening()
at Winium.Desktop.Driver.Program.Main(String[] args)

Unhandled Exception: System.Net.Sockets.SocketException: An attempt was made to access a socket in a way forbidden by its access permissions
at System.Net.Sockets.Socket.DoBind(EndPoint endPointSnapshot, SocketAddress socketAddress)
at System.Net.Sockets.Socket.Bind(EndPoint localEP)
at System.Net.Sockets.TcpListener.Start(Int32 backlog)
at Winium.Desktop.Driver.Listener.StartListening()
at Winium.Desktop.Driver.Program.Main(String[] args)