Patent ID: 7673292

Claim:
A method for converting a current test script intended for use in a current test tool (CTT), to a recorded script intended for use in a new test tool (NTT), said method comprising: providing the CTT capable of playing back actions of said current test script in a playback mode; providing the NTT capable of recording actions and for creating a test script from the recorded actions; providing a communication channel between the CTT and the NTT; a processor of a computer system running the CTT in the playback mode, causing the CTT to produce actions, create objects and modify objects; running the NTT to execute the current test script in a record mode; during said running the CTT in the playback mode and said running the NTT in the record mode, transmitting items through the communication channel from the CTT to the NTT, said items comprising the actions produced by the CTT, indications of the objects created by the CTT, and indications of the objects modified by the CTT; responsive to the NTT receiving the items transmitted by the CTT through the communication channel during said running the NTT in the record mode, said NTT recording the items in the recorded script having a same functionality as that of the current test script; adding a Sendcomment statement to the current test script to identify an application-specific statement in the current test script; responsive to execution of the Sendcomment statement in the current test script during said running the CTT in the playback mode, sending an insert-comment message from the CTT to the NTT via the communication channel, said insert-comment message comprising a comment identifying the application-specific statement; responsive to the NTT receiving the insert-comment message sent by the CTT, said NTT adding the comment to the recorded script during said running the NTT in the record mode.