How to add multiple test objects from testobject map to script
Test I have to automate: In an application, I need to create 1000 objects. Then I have to go to each object and I have to contribute some value.
Using a script I created one object and then went to that object and set the value.
Now at the stage of creating an object, I put a for loop that created 1000 objects of various names.
Now, using the Add Object for Map Object Inspection RFT wizard, I have added all of these objects for map object validation.
Now I want to add all these objects from the test object map to my script. With the RFT tool I can add one by one, which is time consuming. I want a method where I can select this whole object from the test object map and add to the script.
If you know, please provide me with a solution. For this I will be grateful to you.
You can store object definitions in a different form of repository based on your own object map provided by RFT. Then you can use TestObject.find method to find objects dynamically.
source to share