Custom Bug Tracker
What is the custom bug tracker?
If you use a very simple bug tracker, maybe even one that you programmed yourself, and it gets data via HTTP POSTs, then Testuff can integrate with it.
How does Testuff integrate with my custom bug tracker?
Although Testuff is a hosted service it can automatically send every reported defect to your custom bug tracker account. You can run your manual tests with Testuff and continue to use the custom bug tracker for bug tracking.
The integration is done by the desktop client. Therefore, it should work also if you host your custom bug tracker on an internal server. Our server doesn't need to access your bug tracker server and you don't need to change anything in your security or firewall configuration to make it work.
How do I configure Testuff for my custom bug tracker?
- In Testuff, go to Settings > Bug Tracker.
- Choose Custom from the bug trackers combo box.
- In your browser, go to your bug tracker's login page.
- View the HTML source and search for the form HTML tag.
-
Set the following fields under Login form:
- Login Action URL - Get the form tag's action property to determine the full URL. For example, if the login page is at http://custom.tracker.com/login and the login form action is /doLogin, then set the Login Action URL to:
http://custom.tracker.com/doLogin - Username field name - In the HTML form, look for the input html tag where the username is entered. Get the name property of that tag. For example, if the tag is <input type="text" name="user" />, then enter user in Testuff.
- Password field name - Find the input html tag where the password is entered. Get the name property of that tag. For example, if the tag is <input type="password" name="pass" />, then enter pass in Testuff.
- Login Action URL - Get the form tag's action property to determine the full URL. For example, if the login page is at http://custom.tracker.com/login and the login form action is /doLogin, then set the Login Action URL to:
- Now go to the bug tracker new defect page.
- View the HTML source and search for the form HTML tag.
-
Set the following fields under New Defect Form:
- Defect Action URL - Get the form tag's action property to determine the full URL. For example, if the new ticket form is at http://custom.tracker.com/newticket and the login form action is /createTicket, then set the Defect Action URL to:
http://custom.tracker.com/createTicket - Summay field name - In the HTML form, look for the input html tag where the defect summary is entered. Get the name property of that tag. For example, if the tag is <input type="text" name="sum" />, then enter sum in Testuff.
- Description field name - Find the input html tag where the description is entered. Get the name property of that tag. For example, if the tag is <input type="text" name="desc" />, then enter desc in Testuff.
- Defect Action URL - Get the form tag's action property to determine the full URL. For example, if the new ticket form is at http://custom.tracker.com/newticket and the login form action is /createTicket, then set the Defect Action URL to:
- Click the Set my Custom user link and input your custom bug tracker username and password. Defects opened by you in Testuff will be submitted to your bug tracker using these credentials.
- You may click the Create a sample bug report link to make sure Testuff can create bug reports in the custom bug tracker. If all goes well the new bug report should be displayed.
- Don't forget to click OK to save the settings.
