Ask a Question

Logged in to a Different World and Tests are Failing

MarkSchofer
Frequent Contributor

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 3
Marsha_R
Community Hero

Re: Logged in to a Different World and Tests are Failing

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

MarkSchofer
Frequent Contributor

Re: Logged in to a Different World and Tests are Failing

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
Community Hero

Re: Logged in to a Different World and Tests are Failing

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

cancel
Showing results for 
Search instead for 
Did you mean: