Hi all, I'm new in Testlink, and I am researching ways to automate testing of Win32 applications (developed with Delphi).
I found information in this forum about creating text files that are monitored by external applications that run scripts.
I would like to help me about where to begin to investigate this issue and especially if someone uses TestComplete to automate test cases invoked from Testlink.
Thank you very much!!
Automation of Win32 apps
Moderators: Amaradana, TurboPT, TL Developers
Re: Automation of Win32 apps
I'm currently working on a project internally for my company that involves the API integration of testlink.
The basic gist is that it creates an xml file that has all the information needed to run:
<TestPlanID>2</TestPlanID>
<TestCaseID>16</TestCaseID>
<BuildID>2</BuildID>
<UserID>1</UserID>
It then is read by my program and then it fires off the call to my Selenium server to run the automation. My selenium IDE is written in C# (so I write my automation scripts in C#) and at the end will update testlink with the results using the API. I've got 95% of this working (mainly it's finished and all works but I'm adding better logging and error checking). I got the green light this week to finish it up, so I'll contribute a forum post/ writeup on mantis etc... once finished.
The basic gist is that it creates an xml file that has all the information needed to run:
<TestPlanID>2</TestPlanID>
<TestCaseID>16</TestCaseID>
<BuildID>2</BuildID>
<UserID>1</UserID>
It then is read by my program and then it fires off the call to my Selenium server to run the automation. My selenium IDE is written in C# (so I write my automation scripts in C#) and at the end will update testlink with the results using the API. I've got 95% of this working (mainly it's finished and all works but I'm adding better logging and error checking). I got the green light this week to finish it up, so I'll contribute a forum post/ writeup on mantis etc... once finished.
-
- TestLink user
- Posts: 2
- Joined: Mon Jan 03, 2011 8:58 pm
Re: Automation of Win32 apps
Actually my problem is with desktop applications (Win32), and Selenium is used to automate web applications (I think).
Anyway I think is a great contribution will be valued by the community.
We are currently working with TestComplete Command Line by calling the various projects, but we found a practical way to run these tests from Testlink.
Anyway I think is a great contribution will be valued by the community.
We are currently working with TestComplete Command Line by calling the various projects, but we found a practical way to run these tests from Testlink.
Re: Automation of Win32 apps
Heya, if you wanted to use something beside selenium that's certainly possible. I have a library I created and in addition a autoit library that can control win32 programs. The class I made can control silverlight / any windows program (32/64) / ASP / and WPF applications. This would be easy to modify but it requires programming knowledge to actually implement them. If you did have the Visual Studio and decent C# knowledge you could automate just about anything. At my previous employer I had this setup as an integration test after every build and would update TFS with build quality. If your interested let me know and I could put together some documentation on it.
Re: Automation of Win32 apps
Could you please provide some hint/documents for integrating Testlink with TFS/VSTS.
Thanks.
Thanks.