i am looking api for record and playback functionalities in java
<p>i am looking for an api which provide record the events and playback whenever i want.
the feature available in most of test automation tools, which i gone through.some of them are
hp quick test pro and selenium ide both have this record and playback feature.</p>

<p>but i am not getting how the code will generate automatically when we click on record button and i am not getting which api they used inorder generate the code automatically in source tab(of selenium ide). </p>

<p>please help me out</p>
