Git pull adds \r to validation text
Posted: Fri Jan 06, 2017 12:04 pm
We discovered an issue when doing a git pull for our project. Whenever a recording has been made where the Innertext validation has added spaces on the end ranorex will automatically add an \n to the user code.
When this validation has been commited and then pulled by another member the code is changed by ranorex with the added \r. See details below.
Original commit code:
Pulled code:
Screenshot of the action item
Gitlab commit
This doesn't include the \r yet.
Ranorex version: 6.2.0
TortoiseGit: 2.3.0.0
When this validation has been commited and then pulled by another member the code is changed by ranorex with the added \r. See details below.
Original commit code:
Code: Select all
Validate.Attribute(repo.Wizard2015TST.Candidate.DivTagInCaseOfEmergencyInfo, "InnerText", "\nIn Case Of Emergency \n ");
Code: Select all
Validate.Attribute(repo.Wizard2015TST.Candidate.DivTagInCaseOfEmergencyInfo, "InnerText", "\nIn Case Of Emergency \r\n ");
Gitlab commit
This doesn't include the \r yet.
Ranorex version: 6.2.0
TortoiseGit: 2.3.0.0