I have requirement to migrate Java Selenium code base to robotframework playwright , is there way to migrate the code?

We have around 2000 + UI test cases built using Selenium Java Test Ng and We wanted to migrate those test cases to Robot framework Playwright . but manual effort will not help to make quick migration of the code so need some help to find a way to migrate test cases using any script or tool for faster migration.

Thanks,
Abhay

I dont think there’s any migration tools.

You could try to rework your code from java selenium to robot framework selenium first by doing some heurastics on your javacode that tries to convert java calls to seleniumlibrary and then using GitHub - Snooz82/robotframework-browser-migration

But then again, if you need to ask, i doubt this will be any faster than doing manual work. Good luck.

2 Likes

I’d use python.