Work-around How to handle RQM grid sections with RPE

Similar documents
+ <xs:element name="productsubtype" type="xs:string" minoccurs="0"/>

<xs:complextype name="trescdokumentu_typ">

Schema XSD opisująca typy dokumentów obsługiwane w Systemie invooclip

Rational Quality Manager. Quick Start Tutorial

keyon Luna SA Monitor Service Administration Guide 1 P a g e Version Autor Date Comment

Gplus Adapter 8.0. for Siebel CRM. Developer s Guide

No Trade Secrets. Microsoft does not claim any trade secret rights in this documentation.

DocuSign Connect Guide

<!--=========================================--> <!--=========================================-->

User manual for e-line DNB: the XML import file. User manual for e-line DNB: the XML import file

Modernize your NonStop COBOL Applications with XML Thunder September 29, 2009 Mike Bonham, TIC Software John Russell, Canam Software

Data Integration Hub for a Hybrid Paper Search

Service Description: NIH GovTrip - NBS Web Service

[MS-DVRD]: Device Registration Discovery Protocol. Intellectual Property Rights Notice for Open Specifications Documentation

The Direct Project. Implementation Guide for Direct Project Trust Bundle Distribution. Version March 2013

COM_2006_023_02.xsd <?xml version="1.0" encoding="utf-8"?> <xs:schema xmlns:xs=" elementformdefault="qualified">

Archivio Sp. z o.o. Schema XSD opisująca typy dokumentów obsługiwane w Systemie Invo24

CA ERwin Data Modeler

Oracle Java CAPS Message Library for EDIFACT User's Guide

Security for industrial automation and control systems: Patch compatibility information

Student Worksheet 1 TI-15 Explorer : Finding Patterns

XIII. Service Oriented Computing. Laurea Triennale in Informatica Corso di Ingegneria del Software I A.A. 2006/2007 Andrea Polini

Qlik REST Connector Installation and User Guide

SQL SERVER FREE TOOLS

Application Development With Data Studio

Building A Very Simple Web Site

Chapter 4. Sharing Data through Web Services

Data Tool Platform SQL Development Tools

PEPPOL Deliverable D1.1 Requirements for Use of Signatures in Public Procurement Processes Part 5: XKMS v2 Interface Specification

CAS Protocol 3.0 specification

2: Entering Data. Open SPSS and follow along as your read this description.

Rational Team Concert. Scrum Project Management Tutorial

An Empirical Study on XML Schema Idiosyncrasies in Big Data Processing

Creating Mailing Lables in IBM Cognos 8 Report Studio

Advanced PDF workflows with ColdFusion

INSTALLING, CONFIGURING, AND DEVELOPING WITH XAMPP

USING MYWEBSQL FIGURE 1: FIRST AUTHENTICATION LAYER (ENTER YOUR REGULAR SIMMONS USERNAME AND PASSWORD)

<xs:restriction base="xs:string">

IBM DB2 XML support. How to Configure the IBM DB2 Support in oxygen

Hands-On Lab. Web Development in Visual Studio Lab version: Last updated: 12/10/2010. Page 1

Integration Overview. Web Services and Single Sign On

GEORGETOWN MANAGEMENT SYSTEM (GMS): Report GU Non Payroll Journals for Accounting Journal Template

- 1 - Guidance for the use of the WEB-tool for UWWTD reporting

Database Forms and Reports Tutorial

DRAFT. Standard Definition. Extensible Event Stream. Christian W. Günther Fluxicon Process Laboratories

Word 2010: Mail Merge to with Attachments

Table of Contents. Introduction How to access the Safari Backoffice How Safari corporate accounts are structured...

Netezza Workbench Documentation

FreeForm Designer. Phone: Fax: POB 8792, Natanya, Israel Document2

ANDROID APPS DEVELOPMENT FOR MOBILE GAME

Excel 2003: Ringtones Task

3GPP TS v9.0.0 ( )

ASPIRE Programmable Language and Engine

IBM Unica Marketing Operations and Campaign Version 8 Release 6 May 25, Integration Guide

Instructions How to use and send the PIT (Physician in Training) Permit Application Spreadsheet

[MS-FSDAP]: Forms Services Design and Activation Web Service Protocol

IBM Campaign Version-independent Integration with IBM Engage Version 1 Release 3 April 8, Integration Guide IBM

How Do I Upload Multiple Trucks?

Session Initiation Protocol (SIP) Registration Extensions

Rational Team Concert. Quick Start Tutorial

Introduction to Building Windows Store Apps with Windows Azure Mobile Services

VMware vcenter Discovered Machines Import Tool User's Guide Version for vcenter Configuration Manager 5.3

D4.1.2 Cloud-based Data Storage (Prototype II)

IBM Campaign and IBM Silverpop Engage Version 1 Release 2 August 31, Integration Guide IBM

IBM Unica emessage Version 8 Release 6 February 13, User's Guide

Appendix 1 Technical Requirements

Reports and Documents Generator for SharePoint ver.: 2.2

Faculty Web Site with WCM

Using SQL Server Management Studio

Data Access Studio User Manual

DESIGNING XML PIVOT MODELS FOR MASTER DATA INTEGRATION VIA UML PROFILE

Call Center Solution Guide

Talend for Data Integration guide

DbSchema Tutorial with Introduction in SQL Databases

The document may be freely distributed in its entirety, either digitally or in printed format, to all EPiServer Mail users.

Copyright Notice. ISBN: N/A SWsoft Sunrise Valley Drive Suite 600 Herndon VA USA Phone: +1 (703) Fax: +1 (703)

Vladimir Bakhov AT-Consulting +7 (905)

T300 Acumatica Customization Platform

Embedding tracking code into IAS

Result Entry by Spreadsheet User Guide

PHP Oracle Web Development Data Processing, Security, Caching, XML, Web Services and AJAX

IBM Operational Decision Manager Version 8 Release 5. Getting Started with Business Rules

Toad for Data Analysts, Tips n Tricks

Liberty ID-WSF Authentication, Single Sign-On, and Identity Mapping Services Specification

APA-STYLE TABLES in MICROSOFT WORD 2007

MAIL MERGE TIPS FOR PC USERS

6 th Annual EclipseCon Introduction to BIRT Report Development. John Ward

opencrx Language Localization Guide

Model-driven Rule-based Mediation in XML Data Exchange

G r a p h i c a l A p p l i c a t i o n D e v e l o p m e n t w i t h B o n i t a S t u d i o

Configuring Custom Fields in JEvents Club Addon

Transcription:

System Verification Formal test plan for system verification. User Acceptance Strategy document for user acceptance testing and sign-off Master Test Strategy Defines testing for the Release 1 of JKE Banking. Significant capabilities being added in Release 1 include the Money that Matters initiative whereby account holders can elect to redirect dividends from their investments to causes needing assistance. Development Test Encompasses the testing done by the development team during each sprint Work-around How to handle RQM grid sections with RPE

Massimo Caprinali IBM Rational Software Services Introduction Purpose what this document is about This document will explain how to use RQM grid sections in RPE report template. Edit qm.xsd schema to respect your dynamic grid sections Download stylesheet.xml to discover grid section name https://<host>:<port>/qm/service/com.ibm.rqm.integration.service.iintegrati onservice/<projectalias>/<resourcetype>/urn:com.ibm.rqm:<resource>:<id>?sty lesheet=true For example, testplan with id 12 https://<host>:<port>/qm/service/com.ibm.rqm.integration.service.iintegrati onservice/<projectalias>/testplan/urn:com.ibm.rqm:testplan:12?stylesheet=tr ue The output is something like that:

<?xml version="1.0" encoding="utf-8"?> <ns17:stylesheet xmlns:ns17="http://www.w3.org/1999/xsl/transform" > <ns4:sections> <ns4:section id="com.ibm.rqm.planning.editor.section.plansummary" name="rqm-key-tp-summary-title"/> <ns4:section id="com.ibm.rqm.planning.editor.section.planbusinessobjectives" name="rqm-key-tp-buss-obj-title"/> <ns4:section id="com.ibm.rqm.planning.editor.section.plantestobjectives" name="rqm-key-tp-test-obj-title"/> <ns4:section id="com.ibm.rqm.process.editor.section.review" name="rqm-key-proc-review-title"/> <ns4:section id="com.ibm.rqm.defects.web.rmcollinks" name="rqm-key-rm-col-section-title"/> <ns4:section id="com.ibm.rqm.defects.web.cmdevplanlinks" name="rqm-key-dp-section-title"/> <ns4:section id="com.ibm.rqm.risk.editor.section.planassessment" name="rqm-key-tp-risk-title"/> <ns4:section id="com.ibm.rqm.process.editor.section.timebox" name="rqm-key-proc-timebox-title"/> <ns4:section id="com.ibm.rqm.process.editor.section.sizing" name="rqm-key-proc-sizing-title"/> <ns4:section id="com.ibm.rqm.planning.editor.section.planenvironment" name="rqm-key-tp-env-title"/> <ns4:section id="com.ibm.rqm.process.web.qualitygoalsection" name="rqm-key-proc-quality-goal-title"/> <ns4:section id="com.ibm.rqm.process.web.entrycriteria" name="rqm-key-proc-entry-criteria-title"/> <ns4:section id="com.ibm.rqm.process.web.exitcriteria" name="rqm-key-proc-exit-criteria-title"/> <ns4:section id="com.ibm.rqm.planning.editor.section.plantestsuites" name="rqm-key-tp-test-suites-title"/> <ns4:section id="com.ibm.rqm.planning.editor.section.plantestcases" name="rqm-key-tp-test-cases-title"/> <ns4:section id="com.ibm.rqm.planning.editor.section.plantestcaseexecutionrecords" name="rqm-key-tp-tcer-title"/> <ns4:section id="com.ibm.rqm.planning.editor.section.planresources" name="rqm-key-tp-resources-title"/> <ns4:section id="com.ibm.rqm.planning.editor.section.attachments" name="rqm-key-attachments-title"/> <ns4:section id="com.ibm.rqm.planning.editor.section.dynamicgridsection_1408626561321" name="custom Grid Section"/> </ns4:sections> </ns17:stylesheet> Find id of your custom grid section In xml downloaded from the previous step, find the id of your section. In the example is com.ibm.rqm.planning.editor.section.dynamicgridsection_1408626561321 Add your custom section definition into qm.xsd in RPE a) Edit qm.xsd schema in RPE Document Studio with XML Schema Editor

b) Inside these tags <xs:element name="tbestplan">/<xs:complextype>/<xs:complexcontent>/<xs:extension base="reportableartifact">/<xs:sequence> insert this: <xs:element name="testplan"> <xs:complextype> <xs:complexcontent> <xs:extension base="reportableartifact"> <xs:sequence> <xs:element maxoccurs="1" minoccurs="0" name="com.ibm.rqm.planning.editor.section.dynamicgridsection_1408626561321" type="xs:string"> <xs:annotation> <xs:appinfo> <label>custom Grid Section</label> </xs:appinfo> </xs:annotation> </xs:element> </xs:sequence> </xs:extension> </xs:complexcontent> </xs:complextype> </xs:element> c) Replace the name attribute and the label value in accordance with your custom section. Remember to insert the xml in the correct resource tag (<xs:element name="testplan">, <xs:element name="testcase">, etc.) d) Save the schema Get JSON data with RPE a) Create six variables like these: - jsonsection to store JSON data from REST call - jsonobject to store JSON Array Object - jsonvalues to store JSON rows - row index to iterate over JSON Array - currentrowarray to store JSON Object that represent a row - total rows in the JSON Array b) In a container, assign the variable jsonsection to your custom attribute _value

c) Recreate the following structure d) In the container Get JSON Object assign the variable jsonobject to this Script Expression

var JSON;if(!JSON)JSON=(function()... function getjsonobj(jsonstring) var arr = JSON.parse(jsonString); return arr; try getjsonobj(jsonsection); catch(err) null; ATTENTION: The complete script is here e) In the container Get JSON Values Array assign the variable jsonvalues to this Script Expression jsonobject.value; f) In the container Get JSON Values Array Row Count assign the variable row to this Script Expression 0; and assign the variable rowcount to this Script Expression jsonvalues.length; g) Create a condition for the table element rowcount > 0 h) In the container Assign Current Row assign the variable currentrowarray to this Script Expression function getrow(row) return jsonvalues[row]; try getrow(row); catch(err) java.lang.system.err.println(err); "";

i) For each cell text get data stored in the variable currentrowarray[col] (0 position = column 1) j) In the container Increment Row assign the variable row to this Script Expression row+1; k) In each cells insert a Text Element with this Script Expression: currentrowarray[0]; // for 1 st column currentrowarray[1]; currentrowarray[2]; // for 2 nd column // for 3 rd column and so on