Created several scripts on test servers and attempting to run these scripts on production servers. I have gone to the name mapping editor and changed references to the test site with *. Nevertheless, ...
From your example, I see that object identification is changed from run to run on your test page. I recommend that you look intothis screenshot demonstrating how to create a reliable test.