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

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


Marsha_R
[Community Hero]
____
[Community Heroes] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Heroes]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Hero] signature is used with permission by SmartBear Software.
https://community.smartbear.com/t5/custom/page/page-id/hall-of-fame
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,

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


Marsha_R
[Community Hero]
____
[Community Heroes] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Heroes]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Hero] signature is used with permission by SmartBear Software.
https://community.smartbear.com/t5/custom/page/page-id/hall-of-fame
cancel
Showing results for 
Search instead for 
Did you mean: