NameMapping Issue
I have a problem with NameMapping. I have 4 environments where my script will run.
http://qa01-environment/app/play.html
http://qa02-environment/app/play.html
http://qa03-environment/app/play.html
http://qa04-environment/app/play.html
Each page has the exact same objects, an image, and text field, and a button. I recorded a script test in the first environment. In the NameMapping, I changed the page object URL to a wild card. I am passing the URL in a variable to the toURL method. I expect the test to work for each of the environments. It only works for the first environment. For the others I get this error:
An error occurred while calling the "SetText" method or property of the "textboxUsername" object.
The object or one of its parent objects does not exist.
Tested Object
Alias: Aliases.iexplore1.pagePlay1.table.cellGraybg.table.cell.table.formLoginfrm.cell.table.cell1.textboxUsername
Mapping item: NameMapping.Sys.iexplore1.pageWagerworks1.table.cellGraybg.table.cell.table.formLoginfrm.cell.table.cell1.textboxUsername
Missing Object
Alias: Aliases.iexplore1.pagePlayworks1
Mapping item: NameMapping.Sys.iexplore1.pagePlayrworks1
Why does the object mapping not exist past the page object if all I'm doing is changing the URL?