AutomatedQA: Award-winning tools for software testing and quality assurance

Home » Products » AQdevTeam » FAQs » Frequently Asked Questions about AQdevTeam

FAQ - Working With AQdevTeam



Q.: What should I do to install AQdevTeam and start using it in my work?

A.: Installation of AQdevTeam Client is as easy as installation of any other Windows application. The same is with the installation of the AQdevTeam Server. However, the Server requires the database engine to be installed on the computer. So, you should install the database engine before installing the AQdevTeam Server. After the Server has been installed, you may need to create custom item types and tune the workflow graph to meet the document-management scheme adopted in your organization. The whole procedure includes the following steps:

Install the database engine (Microsoft SQL Server 2000, MSDE 2000, InterBase 6.0 Server Edition or FireBird 1.0 - 1.5).
If you are planning to use AQdevTeam Web Interface, install the Internet Information Services. Note that if you use a non-server operating system, the Web Interface will not be able to support more than five connections at a time. Unlimited number of connections is available only on "server" operating systems (for example, on Windows 2000 Server).
Install AQdevTeam Server for ADO if you use Microsoft SQL Server or MSDE. If you use InterBase or FireBird, install AQdevTeam Server for InterBase.
If you are going to use Web Interface, install AQdevTeam Web Interface.

After you install all the desired software, you will need to create the AQdevTeam database that you will use for your work and customize its properties. The AQdevTeam Server installation includes the Default database. Use this database as a base for your database: you can modify predefined items types in it, create projects, users, etc. That is, in order to obtain the database you need, you do not create a new database, but simply modify the existing Default database. The general procedure includes the following steps:

Create users in the AQdevTeam database and organize them into user groups. Note that instead of manual creation of each user, you can import user accounts and information about user groups from your network domain. You can also customize AQdevTeam Server properties, so that the users will be able to connect to the AQdevTeam database using their domain user names and passwords (we call this Authentication by OS).
Create projects and subprojects you will use.
Create new or modify existing item types (though the Default database includes several predefined item types - Bug reports, Notes, Reports, Tasks, Suggestions and User stories - you can modify these item types or create your own types in order to get document structures and lifecycles that are used in your company).
After you created projects and item types, you can tune user permissions to secure access to projects and items.
If you created or modified some item types, you should also modify the Edit Form and Preview Pane that are used to edit and view items of these types. If you use AQdevTeam Web Interface, you can also modify the appearance of its Web pages.

To perform all these tasks, you should use AQdevTeam Client (except for the customization of Web Interface pages - you can do this using your Internet browser). For complete information on how to perform these tasks, see AQdevTeam Client help.

Back to list

Q.: How can I create a new AQdevTeam database or copy an existing one?

A.: Copying and creation of databases have much in common. First, we will describe copying of a database and then we will explain how to create a new database.

To copy your AQdevTeam database, follow these steps:

Back up your database,
Restore the database under another name,
Register the restored database in the AQdevTeam Server.

To back up and restore databases, use the AQdevTeam Database Manager that is part of your AQdevTeam Server installation. The Database Manager is a wizard that lets you back up and restore AQdevTeam databases and validate their structure.

To back up and restore the database, you need administrator permissions for your database engine.

To back up your database:

Launch the AQdevTeam Database Manager (the Start button -> AutomatedQA -> AQdevTeam Server for ADO (or AQdevTeam Server for InterBase) -> AQdevTeam Database Manager).

On the first page of the Database Manager, select Back up AQdevTeam Database, then press Next.
On the next page of the wizard, specify the name of the .pdx file to which the database will be stored and specify the connection settings to be used to connect to your database.

To specify the connection settings, press Browse. This will open the Data Link Properties dialog in which you can select the desired properties:

After you specify the desired connection settings, click OK to close the Data Link Properties dialog. You will return back to the second page of the Database Manager

Press Next in the Database Manager's window. The Manager will back up your database.

To restore your database under a new name:

Launch the AQdevTeam Database Manager.
On the first page, select Restore AQdevTeam Database and press Next.

On the next page, specify the .pdx file, to which you exported the database, and the connection settings that will be used to create the database.

To specify the connection settings, press the Browse button that is shown next to the Database edit field. This will call the Data Link Properties dialog. In this dialog you can specify the server that will hold the database, the database name and login information. In the Select the database on the server box, type the name of the new database:

Press OK to save changes. You will return to the Database Manager.

In the Database Manager's window, press Next. The Database Manager will create a new database using the information stored in the .pdx file.

After the new database has been created, register it in the AQdevTeam Server:

Launch the AQdevTeam Server for ADO Properties (or AQdevTeam Server for InterBase Properties) applet in the Control Panel.

Press Edit. This will call the Database Properties dialog.
To register the database, press New in the dialog. This will invoke the Database Registration dialog.
Use this dialog to specify connection properties for the restored database. Then, press OK to register the database.

Note that to register a new database, you should be a member of the Administrator(s) group.

As you can see, copying a database is quite an easy task. As for creation of a new "clean" database, currently it is impossible to do this. You can only build it on the basis of the Default one by making a copy of it. That is --

Back up the Default database,
Restore it using another name,
Register the restored database in the AQdevTeam Server.

For information on how to do this, see the steps described above.

Back to list

Q.: Is it possible to run AQdevTeam Server on another computer than the one storing the database server and the AQdevTeam database?

A.: Yes, it is possible to do this. AQdevTeam Server can register AQdevTeam databases that reside on other computers. However, you will need to install the database engine (MS SQL Server, MSDE, InterBase or FireBird) on the computer where AQdevTeam Server is installed. That is, you have to install the database engine on each machine anyway.

If the database you are going to register in AQdevTeam Server is already registered on another server, you should unregister it. If the database is registered on two AQdevTeam servers, the events that will occur in AQdevTeam will be duplicated. You may receive duplicate messages, two identical server macros will run simultaneously, etc.

Back to list

Q.: I would like to store HTML and RTF documents as items in AQdevTeam. Can I modify HTML and RTF fields in AQdevTeam?

A.: Yes, you can. AQdevTeam offers special types for fields that will store RTF and HTML content: Rich text memo and HTML memo. The special AQdevTeam's edit controls are used for editing and displaying these fields. These controls support standard shortcuts used to apply bold, underline and italic formatting, change paragraph alignment, etc. So, editing RTF and HTML fields is similar to editing RTF and HTML documents in Microsoft Word and FrontPage. To modify font and color settings of text in RTF fields, the Edit Form includes the special Formatting toolbar (by default, this toolbar is hidden, to make it visible, right-click somewhere within the toolbar area and select Formatting from the ensuing context menu).

Back to list

Q.: For some status I created a user assignment to the projects (Workflow Design | Status Properties Dialog). But sometimes this doesn't work. Why?

A.: The Assigned To field of an item is changed in the following cases:

When an item is being created (the item is assigned to the manager of the project, to which the item belongs).
When an action is performed over an item and this action requires the item to be reassigned to another user (this is specified by the action's Reassign property).
When an item gets a particular status and there is a user who is responsible for all the items that have that status. (You need to specify this user in the Status Properties dialog for each project in which you want to use this feature).

To determine why the User-Status setting does not work for the given status, follow these steps:

Open the Status Properties dialog for that status to see whether there is a user assigned to the project you are having problems with.
Make sure that items are not reassigned to the user when an action is executed (some actions may display a dialog box asking the user to reassign the given item. This behavior is specified in the action properties. If you use the User-Status settings, this functionality is not needed, so you may need to modify the action properties).
Also please make certain that an item is not reassigned to the user by the macro that is run after an action is performed.

Back to list

Q.: Can I change the size of an item field?

A.: People usually ask this question about fields of the Raw data.String type. There is no need to change the size of other fields.

The field type and size are specified when you are creating an item type. The only way to change the size of a field after the item type has been created is to follow the steps below:

  1. Create a new field of the needed size
  2. Copy the data from the old field to the new one using a macro (this should be done in each item of this type)
  3. Delete the old field
  4. Specify the old field name as the name of the new field.

After you rename the field, you should modify the Edit Form and Preview Pane that hold this field. Namely, you will have to re-associate this field with controls on that forms.

Remove the old fields only after you ensure that all data was copied to the new fields correctly in all the projects.

To create, delete and rename fields, use the Item Types dialog (Administration | Item Types). You must also have the administrator permissions.

Below is a sample script that copies data from one field to another.

[VBScript]
Dim OldFieldName, NewFieldName, ItemTypeTitle

Sub UpdateProject(AProject)
Set Items = AProject.GetItems.BaseItemByTitle(ItemTypeTitle).GetAllItems
For i = 0 To Items.Count - 1
Set Item = Items.Items(i)
FieldValue = Item.GetFields.GetFieldByDisplayedName(OldFieldName).GetAsString
Item.GetFields.GetFieldByDisplayedName(NewFieldName).SetAsString FieldValue
Call Item.BaseItem.Commit(Item)
Next
End Sub

Sub Main
OldFieldName = "Subject"
NewFieldName = "NewSubject"
ItemTypeTitle = "Tasks"

Set ProjectCollection = AQdevTeamManager.GetItemManager.GetProjects
For i = 0 To ProjectCollection.Count - 1
Set Project = ProjectCollection.Items(i)
UpdateProject Project
Next
End Sub

Back to list

Q.: How can I create a bug report on the basis of another report?

A.: Right-click the basic item in the Issue Explorer and select Operations | Copy from the context menu. Then, select Operations | Paste. AQdevTeam will create a new item whose fields will hold values stored in the fields of the copied item.

You can also link items to each other. See the answer to the next question.

Back to list

Q.: I have several items that concern the same issue. Can I link them somehow?

A.: Yes, you can. You can link one item to another:

Open one of the items for editing.
Check the Tools | Show Links and Attachments item of the Edit Form menu. This will show two lists (Links and Attachments) at the bottom of the form.
Select the Links list
To link one or more items to the currently edited item, simply drag that item(s) from the Issue Explorer panel to the Links list of the Edit Form.

Note that you can link items of different types. For instance, you can link a bug report to a task to show what bug a developer should fix.

The described approach is only one of two ways to establish links between items. Another way is to make one item a parent item and add another item as a child to that parent item. For instance, several users may report you about the same issue in your application. In this case, you can post the report that came first as a parent item and post the other reports as children of this item. To add a child item, right-click the parent item in the Issue Explorer and select New Child Item from the context menu.

Back to list

Q.: How can I change information displayed in the upper part of the Preview Pane?

A.: The field, which content is shown in the upper part of the Preview Pane, is specified by the Caption name property of the Preview Pane. To modify this property, right-click somewhere within the Preview Pane and select Options from the context menu.

Back to list

Q.: How can I change information that is displayed in item rectangles in TItemLinksControl?

A.: The rectangles hold the same data that is shown in the upper part of the Preview Pane. This is specified by the Caption name property of the Preview Pane. For more information on how to modify this property, see the answer to the previous question.

Back to list

When a user executed an action, I need to verify that he entered correct data in the item's fields and cancel the action if the data is not valid. How can I do this?

A.: You can create a shared client macro that will be triggered by the event that is linked to the status change. The macro will check the data and undo the last action (if the data is not valid) by calling the UndoLastAction method of the AQdevTeamCurrentItem object. Note that the UndoLastAction method does not restore the previous state of an item. It just removes the last record from the item's Audit Trail list.

The following script code demonstrates the use of this method. It removes the last record from the item's Audit Trail list and reassigns the item to the user who executed the last action.

[VBScript]
Set Item = AQdevTeamCurrentUIItem
Set User = Item.GetHistory.Items(Item.GetHistory.Count-1).User
Item.UndoLastAction
AQdevTeamCurrentUIItem.AssignedTo = User

Back to list

Q.: How does AQdevTeam notify me about changes in the database?

A.: AQdevTeam lets you track the moment of creation and deletion of items as well as the moment of changing an item status or item fields and send notifications about the changes. Normally, AQdevTeam sends notifications via e-mail. However, it's not the only means of sending notifications: for example, you can use AQdevTeam's internal messaging system or some external utilities.

The easiest way to customize notification settings for an item is to use the TAutoNotification control. By default, this control is invisible. To add it to the Edit Form:

Open the desired item in the Edit Form.
Select Tools | Customize from the Edit Form's menu. This will open the Edit Form in the Form Designer in which you can customize this form.
In the Component Palette of the Form Designer, expand the Complex Control category and add the TAutoNotification control to the Edit form. Note that this control is large, so we recommend that you create a new tabbed page for it.
Choose File | Apply Changes from the Form Designer's menu. The Designer will be closed and you will see the TAutoNotification control on the Edit Form.

As you can see, at the top of the TAutoNotification component there is a list of users to be notified about the changes that occur in fields of the currently edited item. The Fields edit box specifies the fields, changes in which will be tracked. If one of these fields is changed, AQdevTeam will send e-mail notifications to the users selected in the user list. The E-mail Parameter section lets you customize the format of the notification e-mail.

The TAutoNotification control is only one of the ways that can be used for notification. Another way is the use of macros: you can create a macro that will be run automatically at certain points in time or when an event, such as creation of a new item, occurs in AQdevTeam. Running macros at certain points in time (such macros are called jobs) is useful when you need to track changes in a group of items or in some objects that do not belong to AQdevTeam. Running macros as event handlers lets you track changes that occur in the AQdevTeam database.

A macro can send notifications via e-mail to person(s) who should know about the change. The macro can also include a Script operation that sends notifications via internal AQdevTeam's messaging system or via external utilities like net send:

[VBScript]

If BuiltIn.GetOleObject("WScript.Shell", WScript) Then
  WScript.Exec "net send jonny message text"
End If

A general procedure to implement notifications with macros includes the following steps:

Create a macro that will send notifications. Note that the macro should be a server macro. Client macros are useless for notifications.
Right-click the macro in the Macro Repository panel and select one of the items of the Add Event menu:

If you select To Current Item, the macro will handle events that will occur in the current item (that is, it will run upon changing item fields).

If you select To Current Item Type, the macro will handle events that will occur in the item type that will be displayed in the Project Explorer (that is, the macro will handle creation and deletion of items) and in items of this type (that is, the macro will run when some field is changed in any item of this type).

This will call the Event Wizard where you can create an event-macro link.

The Event Wizard lets you specify what changes will run the macro. For example, you can create macros that will send you a notification when a new bug report or a task is assigned to you, or when a new item is created, or when a developer rejects your suggestion, etc. The Event Wizard allows you to get notifications about almost any change made to the database.

Back to list

Q.: What is the difference between Find, Filter and Full text search?

A.: All these three means are intended to help you find desired items.

The Find command lets you find one item that matches the search criteria. Filters and Full text search let you find a group of items matching the desired criteria. If you use Filters, AQdevTeam Client downloads the needed data from the server and then performs filtering on your computer. So, if the search condition includes binary large object fields (BLOBs) or large text fields, the use of Filters may consume a lot of memory on the client computer. That is why we do not recommend that you use Filters if the search criteria include BLOBs or large text fields. The Find commands works like Filters, so using it may cause the same problems.

To avoid problems, use the Full Text Search panel. The Full text search engine works on the server side, so AQdevTeam Client does not download the BLOB fields from the server. That is, using the Full text search feature does not consume a lot of memory on the client computer.

As you can see, it is better to use the Full Text Search feature if the search condition includes BLOB or large text fields (Of course, the Full text search engine searches for items in non-Blob fields as well). The Filters panel is useful if you want to create an Issue Explorer view that will suit your particular needs

Back to list

Q.: I noticed that I have the ability to add a check box to a form in AQdevTeam. I was trying to make a field with a Boolean value, but I couldn't find raw Boolean data types. Are you planning to add a Boolean data type? Can you suggest a workaround for this?

A.: There is no Boolean data type in AQdevTeam. But you can create a pick list with two values: 'Yes' and 'No'. Such a pick list can always be used as a Boolean type, so adding a raw Boolean data type is not really a top priority at the moment.

Back to list

Copyright © 1999-2008, AutomatedQA, Corp. All Rights Reserved.
Home | Legal | About | Contact | Site Map | Print