That is bizarre, given that, when I check the length of the path string with JavaScript, I only get 169 characters length, even if I include parent folders Zoho Katalon Project and Object Repository
"Zoho Katalon Project/Object Repository/Page_Create Member Lead - Zoho CRM/Member Lead Information section/Payment Frequency dropdown/Payment Frequency dropdown button.rs".length
returns 169
How is the Katalon environment determining path length!?
Possiblly @mwarren04011990 located his katalon project in a folder of very long absolute path, such as
C:\Users\mwarrent-4011990\aaaaaaaaaa\bbbbbbbbbb\cccccccccc\dddddddddd\eeeeeeeeee\ffffffffff\gggggggggg\Zoho Katalon Project/Object Repository/Page_Create Member Lead - Zoho CRM/Member Lead Information section/Payment Frequency dropdown/Payment Frequency dropdown button.rs
which has the length of 272 characters
An alternative idea to workaround the FilePathTooLongException could be moving the whole project into a parent folder with shorter absolute path, for example:
C:\Users\mwarrent-4011990\xxxxxxxxxx\yyyyyyyyyy\zzzzzzzzzz\Zoho Katalon Project/Object Repository/Page_Create Member Lead - Zoho CRM/Member Lead Information section/Payment Frequency dropdown/Payment Frequency dropdown button.rs
which is 228 characters. This is short enough to avoid the FilePathTooLongException.
Be careful. If you are going to move your existing katalon project, you need to be aware that .project file under the Katalon project folder may cause a problem. See the following discussion:
Thanks for the remark — it’s a useful heads-up. QSPICE can indeed crash abruptly if the full simulation path or model path gets too long, even if everything else looks correct. Keeping project folders closer to the root directory usually prevents these silent shutdowns. And if you need help managing or shortening those long paths, LongPathTool can be very handy for dealing with files or folders that Windows struggles to handle.