Forum Discussion

tandrews's avatar
tandrews
Occasional Contributor
11 years ago

Unable to run same Scripts on Different Servers

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, when I triggger it to run on another server url, it may run one time but when I attempt to run it again all the field names are slightly different in my keyword test. (Frustrating)

Example:

Original Aliases.browser.pageLogIn.formLogonform.panelFormwrapper.panelEditorField.textboxUserName

New Object Name

Aliases.browser.pageLogIn2.formLogonform.panelFormwrapper.panelEditorField.textboxUserName


Original

Aliases.browser.pageLogIn.formLogonform.panelFormwrapper.panelEditorField.textboxUserName

New Object Name

Aliases.iexplore.pageLogIn.formLogonform.Panel(0).Panel("formWrapper").Panel(0)


1 Reply

  • TanyaYatskovska's avatar
    TanyaYatskovska
    SmartBear Alumni (Retired)

    Hi Tez,


     


    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.