Hi,
After creating keywords , I called those keywords into testcase
But during execution by debug mode, pressing F5 key doesn’t navigate to that particular method instead throws error “source missing” . Please help me over this issue
Below are screenshots
It called Katalon internal methods before jumping to your Custom Keyword’s source code. I haven’t tried yet but I think it’s possible to skip com.kms.katalon.* packages.
Yah if I put debug pointer inside custom keywords and by hitting F6 ,I am able to perform the debugging. But my question is about how to use F5 and is there any jar missing to operate F5
Yes, you can. You can manually attach source by:
clicking Attach Source → select External location → browse External File… and select the suitable source of jar libraries.
The rt.jar is a component of bundled JRE in KS. To debug/view Java source you need to download JDK 1.8.0_191 and change default JAVA compiler of KS in Preferences/Java/Installed JREs.
Anyone has found a solution to this? I ran into this while running the ExcelplugInSample project, VerifyExcelKeywords test case. I have pointed source to the correct folders and it keeps failing on the same test case when running this step ExcelKeywords.setValueToCellByIndex(sheet01, 0, 0, ‘Fruites’). It looks like as if that declaration may not even be supported. I have Katalon 7.0.2.