Objects recreated every time record is run

Wednesday, July 23, 2014
Avatar
Is there a way to stop Rapise from creating new objects every time you record?  

Example... the first time you record it creates the objects for the elements on the screen.  You then record again to get the next part of the script and a second set of identical objects are added to the object file, this time with a 1 on the end of their name.  You have to then delete all these objects and update the recorded script to use the original objects.   
1 Replies
Friday, August 1, 2014
Avatar
inflectra.jimx
re: countdownSupport Wednesday, July 23, 2014
Hi Amanda

In general it will only record new objects if Rapise thinks the object is different to the last one, depending on the technology being used (Web, .NET, WPF, Java), each object is uniquely associated with a 'Locator' which maps the object to the physical application. If the locator is different, it will create a new object when Rapise "sees" the object.

You can always delete the duplicate objects and then adjust the script post-recording worst case.

Regards
Jim

Spira Helps You Deliver Quality Software, Faster and With Lower Risk

And if you have any questions, please email or call us at +1 (202) 558-6885

 

Statistics
  • Started: Wednesday, July 23, 2014
  • Last Reply: Friday, August 1, 2014
  • Replies: 1
  • Views: 12471