vinayhs 270002JFCW Visits (1412)
In Rational Test RealTime (RTRT) I want to test function foo() in the sample source code, where I will expect stub call some_Task(), but some_Task() function is present in endless loop.
To handle this endless loop, in order to do that I need to foreclose exit through RTRT from function foo().
I can use setjmp()/longjmp functionality to "exit" a test under certain condition. If some_Task() is stubbed then it can be done.
The below steps explain how to resume the execution of the test script when user code has reached an handled exception:
- stub the function that would put the user program in 'stopped' mode or 'exit'
- resume the execution of the test (using setjmp/longjmp combination)
First of all, the ptu has to include the header file <setjmp.h>
Note the use of '@' that would prevent the PTU parser to search for this file.
At this stage, the compiler header files might not be available.
Then, the setjmp structure has to be declared:
DEFINE STUB PTU_globalvar
Then, a user function has to be stubbed :
DEFINE STUB STUB_c
Then, in the test code include :
@if( ! setjmp( failure_setjump) )
This should help in forming a test case to handle the endless loops.
denisemck 1200006SCS Visits (1028)
Integrations between Rational Team Concert and Rational ClearQuest
There are various types of integration capabilities between IBM Rational Team Concert (RTC) and Rational ClearQuest: the bridge, the synchronizer, and the importer. If you are looking for help in deciding which integration capability best suits your current deployment or your future deployment plan, read on to get a better understanding about the technologies that are available to you, as well as some of the deployment considerations.
Note: Additional "Getting Started" information and "Quick Tour" videos are available in the Rati
Rational ClearQuest Bridge
The Rational ClearQuest Bridge provides a bi-directional traceability link from records in Rational ClearQuest to work items in Rational Team Concert. It is a linked-data type integration based on the Open Services for Life-cycle Collaboration (OSLC). It provides a seamless user experience with rich hover UI preview, and delegated dialogs including advanced selection dialogs, and fully functional creation dialogs. These dialogs support ClearsQuest record form layout and hooks. The bridge integration also enables ClearQuest live data on a Rational Team Concert dashboard.
Rational ClearQuest Bridge is primarily for users who want to continue to use Rational ClearQuest as a change management system, but also want to take advantage of other features of Rational Team Concert, such as agile planning and dashboards. You do not have to change your current usage of Rational ClearQuest, but you can enhance your Rational ClearQuest deployment by using Rational Team Concert in a complementary fashion. It provides a ClearQuest shop with a fast path to realize the value of Rational Team Concert.
It is implemented as a function of the ClearQuest Web and uses the ClearQuest OSCL REST API interface. ClearQuest is an OSLC Change Management(CM) provider and a consumer. It provides OSLC CM v1 and v2 interfaces, and also consumes OSLC CM services provided by other tools. ClearQuest OSCL REST API is also a desired interface if you want to integrate your own application to ClearQuest. Since it is HTTP-based, you can call it from any program that supports HTTP, and it does not require the ClearQuest client to be installed on the machine where you execute your application.
Through the same bridge integration technology, you can also integrate ClearQuest with other Rational tools, such as Rational Quality Manager (RQM), Rational Requirement Composer (RRC), and Rational DOORS, and with 3rd party tools, such as HPALM and Git.
Rational ClearQuest Synchronizer
The Rational ClearQuest Synchronizer is a data replication between Rational ClearQuest records and Rational Team Concert work items. It supports flexible bi-directional or one-directional synchronization between a Rational ClearQuest record and a Rational Team Concert work item. Changes in one application are applied to another using synchronization rules, which provide the mapping and transformation information.
It is primarily for the customers that want to incrementally adopt Rational Team Concert by having different teams use different tools. Some projects/teams (for instance, a development team) can choose to start using Rational Team Concert while other teams (for instance, a support team) continue to use ClearQuest. The teams using Rational Team Concert and the teams using ClearQuest have access to the same data (duplicated by the Synchronizer based on the configured sync rules). Reports can also be run in either system since the data is consolidated.
The ClearQuest Synchronizer is implemented as an application of the general Jazz item connector framework. It is a separate component of the Rational Team Concert offering, and requires setting up a Gateway service. It uses ClearQuest CM API interface to communicate with ClearQuest. It can also be used between Rational Qualify Manager (RQM) and ClearQuest.
Please note that there is a high maintenance and support cost associated with the Rational ClearQuest Synchronizer. Conflicts can occur when two users make nearly simultaneous changes to a ClearQuest record and its corresponding work item, and an administrator needs to constantly monitor these conflicts and resolve them manually by selecting the appropriate value. It is highly recommend that you evaluate the Rational ClearQuest Bridge integration before jumping into the Synchronizer integration.
Rational ClearQuest Importer
The Rational ClearQuest Importer provides a one-way data migration from Rational ClearQuest records to Rational Team Concert work items. It imports ClearQuest records based on a user specified query, and uses a mapping file to declare how fields and values are mapped from a ClearQuest scheme to a Rational Team Concert process definition. It supports importing stateful record types, Users, Notes, Attachments, Work Item Relationships (duplicates, parent / child, blocks / depends on, and related), and creates missing objects, such as Contributors, categories, and iteration, on the fly.
The Rational ClearQuest Importer is primarily for the customers that want to move from using ClearQuest to Rational Team Concert as the change management system instead of maintaining both applications, and want to bring over certain ClearQuest records to Rational Team Concert.
It is implemented as a function in the Rational Team Concert eclipse client. It is based on the Bugzilla Importer, and uses the ClearQuest CM API to communicate to ClearQuest. You must install ClearQuest client on the machine you run the ClearQuest Importer.
vinayhs 270002JFCW Visits (940)
While working with Rational Functional Tester (RFT) on Firefox browsers, if enablement test failures are observed, then I follow the below steps to resolve them. These can be checked to avoid enablement issues.
1 Launch RFT as Administrator.
2 Make sure same version of JRE is enabled in RFT and the Firefox browser.
Refer the links on how to enable JRE and browser in RFT http
3 Launch the Java Control Panel from Control panel and verify the Java version
4 The version should be the same which is enabled in RFT and browser . If that is not the case, then Add the correct version and enable it.
5 If Security Level under Security Tab is set to Very High or High , then set to Medium or low
6 Under the Advanced tab, make sure the settings are as below:
Console can be hidden later , but enabling it will help to ensure that correct version of JRE is associated with the browser (remember that there could be multiple JRE associated with the browser). Disable next-Generation Plug-in unless it is compulsory.
Shradha_S 270007543G Visits (1116)
AcdntlPoet 2700019V2G Visits (906)
We'll be back tomorrow with more great content focused on helping you get the most out of IBM Rational Support and your IBM Rational products!
For now.... It is that time of year when many Americans roll out that one last big blow-out barbecue party before the summer comes to a close and we look toward welcoming winter, albeit a bit trepidatiously. While the holiday has indeed come to symbolize the end of summer for many of us (it isn't, summer doesn't end until September 22), it started and remains as an American federal holiday to honor the worker; a day when we recognize the contributions of the American worker by relaxing and eating lots of BBQ
All this, of course, means your loyal blog admins are off gallivanting (or just sitting on the sofa) and not actively working today. But that doesn't mean we don't have some good content for you! In this case, it is a video from IBM Electronic Support guiding us all on how to download software from the Fix Central repositories.