I am recording the script but RobotJ does not recognize the objects.
E.g: I click on the links and the script does not record the click.
I selected the option "Private Test Object Map". The "Test object" and "Test Object Hierarchy" are blank.
I checked the "Enviroments for Testing" again.
The Browser is configured to "Internet Explorer" as default and the "Java Enviroments is enable to "ROBOTJ JRE and JRE 1.3.1_04.) I checked the Configuration for testing and it is correct.
Maybe I have to add an additional information on "Enviroments for testing" to test the web site.
I've had this problem a couple of times and it could be that you have not set the JRE1.3.1_04 as Enabled. Click the Enable button followed by Apply followed by OK. Then reboot the PC and start robotj. This might fix.
No, not in this instance. ObjectNotFound comes up in the following scenario (that I've come accross)...
1. If you have accidently deleted the object from the TestObjects
2. If there are multiple sessions opened of the same application (eg if you start application from within the script and there was already another session open externally), then RobotJ gets confused.