Object Repository Issues Between Environments

Hi,

My team has a website we host that has multiple environments: test, beta, dev, prod. We need to be able to test at will in any of these locations.

However, some objects are breaking because it doesn't recognize the same object on all the servers. for instance, when capturing the Welcome message, it is capturing 'Welcome John Smith'. If in another environment it is thens aying 'Welcome Jane Smith', it won't recognize it.

Any suggestions on how I could possibly get around this issue? I have to keep recapturing certain objects every time I need to run the test automation to keep the tests from breaking. Any suggestions would be helpful.

 

I have HP 12.53, the tests were all made in 12.00 and modified in 12.02 before I installed this version, this week.

Parents
  • hi, there

    Firstly you can try making those changing properties to use the regular expression. In your case, something like 'Welcome\s[A-Za-z] \s[A-Za-z] '.

    Also, you can maintain different sor files for different environments and load them during runtime. 

    Thanks.

    James

Reply
  • hi, there

    Firstly you can try making those changing properties to use the regular expression. In your case, something like 'Welcome\s[A-Za-z] \s[A-Za-z] '.

    Also, you can maintain different sor files for different environments and load them during runtime. 

    Thanks.

    James

Children
No Data