Forum Discussion

MarkSchofer's avatar
MarkSchofer
Frequent Contributor
3 years ago

Logged in to a Different World and Tests are Failing

Here is a very simple One -Simply recorded a check point and converted to a script

 

aqTestCase.Begin('First Name')

#Before the Weekend
aqObject.CheckProperty(Aliases.browser.pageSssaviewupdatehcdeductions2.textnodeFirstName, "contentText", cmpEqual, "First Name")

#After the Weekend

aqObject.CheckProperty(Aliases.browser.pageSearchForRetiree7.FindElement("//dt[.='First Name']"), "contentText", cmpEqual, "First Name")
aqTestCase.End()

I took an update on a Virtual machine earlier in the day

3 Replies

  • Marsha_R's avatar
    Marsha_R
    Champion Level 3

    Same machine as before?  Was the update to your application under test?

    • MarkSchofer's avatar
      MarkSchofer
      Frequent Contributor

      The update had to be to both.    I am assuming the application as object types had changed.

      Object Type

      For example "Button" got changed to "SubmitButton" 

      I don't get why the check points are so drastically different either.

      When trouble shooting I record and convert to script then I add to my code,

      • Marsha_R's avatar
        Marsha_R
        Champion Level 3

        Looks to me like the devs changed some of the button names.