Integrate git with batch file

Best practices, code snippets for common functionality, examples, and guidelines.
csolanki
Posts: 120
Joined: Thu Mar 22, 2018 8:51 am

Integrate git with batch file

Post by csolanki » Thu Mar 21, 2019 8:49 am

Hi,

I am planning to integrate git with my batch file, which will work as an input to invoke my test cases. My doubt is, each time I execute test scripts, it updates reports folder in Ranorex and after each execution in cmd line, I can see git has files to add. If I delete those files, still it says deleted files.

I want to send ranorex report to my email id and that report alone should get generated rest should get deleted. What I can do to achieve it ?
Regards,
Charu Solanki
Ranorex User

User avatar
Support Team
Site Admin
Site Admin
Posts: 12145
Joined: Fri Jul 07, 2006 4:30 pm
Location: Houston, Texas, USA
Contact:

Re: Integrate git with batch file

Post by Support Team » Mon Mar 25, 2019 7:56 am

Hello csolanki,

I'm not sure if I understand your issue correctly, but if you don't want to add the report files to git, you should consider using a .gitignore file in and exclude the report files.
The post .gitignore for Ranorex 6.x covers this topic.

Sincerely,
Bernhard

csolanki
Posts: 120
Joined: Thu Mar 22, 2018 8:51 am

Re: Integrate git with batch file

Post by csolanki » Mon Mar 25, 2019 9:19 am

Hey,

Thanks for your reply. I have asked exactly the same what you have answered.
Regards,
Charu Solanki
Ranorex User