I am trying to rename an object through script but its updating the name in script but not in the Object map.
I tried using "renameTestObject".
Any idea how to do that.
You have to update your object map element.. To access getMap method to retrieve your object map and now perform your operations on the map object.
Thanks and Regards,
@Sathish : I tried to rename thorugh getMap but its again updating in the script but not in the object Map.
Can you pls post the code which you have tried to update the name of the object
@ Satish -
Below is the code used to Rename the object.
<font class="small">Code:</font><hr /><pre>
RationalTestScript ts = (RationalTestScript)testScripts.elementAt(i);
The above code renames the object in the script but not in the Object map.