Forum Discussion

Erick_Muller's avatar
Erick_Muller
New Contributor
13 years ago
Solved

How to fix objects being created on different Sys. + HELP

Many times when i try to record tests, it keeps creating objects on differents Sys: IEXPLORE, iexplore2, etc..



 How can i make it always create those objects on the same Sys, i dont want do map all the objects again and again.



Thanks in Advance!

2 Replies

  • lordsivan's avatar
    lordsivan
    Occasional Contributor

    • After you have recorded you testcase. You can initiate NM clean up process. By this process, you look at the new alias created and remove the fragile part of the namemapping alias setting.

    • By doing so, The next time you do test recording. The Namemapping system would pickup the old alias instead of creating new alias.


    [Detailed description] http://testcompleteexpert.blogspot.in/2012/10/name-mapping-new-alias-for-each.html

    you can reach me at skype:- testcomplete.expert

  • Hi Erick,


     


    The object is mapped by the Index property. You need to remove it from mapping criteria.