Inactive Tutor answered 05/26/19
You don't have to do it that way,
Instead, you could you mockito to mock the object you need in the JUNIT.
site.mockito.org
Arunima C.
asked 05/12/19Hi there,
I am workin with katalon automation tool for testing UI. I have record the UI actions in katalon and i get katalon scripts which inlude WebUI objects. Those objects are used for making actions such as mouse click, scroll, visiblity of element etc. But now the case is, i want this whole script in junit. Because i am also working in Junit testing. When i copy the scripts in katalon to java, the package of WebUI class (import com.kms.katalon.core.webui.keyword.WebUiBuiltInKeywords as WebUI) is not supporting in java. But i want it to be worked. Because i can't use WebDriverWait or something else to do that. Please help me to figure out this problem.
Inactive Tutor answered 05/26/19
You don't have to do it that way,
Instead, you could you mockito to mock the object you need in the JUNIT.
site.mockito.org
Get a free answer to a quick problem.
Most questions answered within 4 hours.
Choose an expert and meet online. No packages or subscriptions, pay only for the time you need.