Running java code with UFT
My company was using RFT for automation before and now they wanted to switch to UFT. I need to check if there is a way to trigger java codes written for RFT from UFT. the codes are written in classes and methods. is there any way to create a communication so that the java classes can be called using UFT?
any help is appreciated.
UFT and RFT are on completely different platforms/languages. I think there 2 ways you can go about it.
Originally Posted by pbetharia
1. Wrap those Java Classes into an API (like REST), then you can use requests to call the API endpoint.
2. Turn the classes into command line interface, and execute them as external scripts. (this is pretty ugly, since you have to write more parsing code)