Topic
  • 8 replies
  • Latest Post - ‏2008-05-21T09:42:41Z by SystemAdmin
Pat_OC
Pat_OC
3 Posts

Pinned topic V7.0.1 installation/transition issues

‏2007-06-28T21:46:13Z |
Hello Test Management community:

At the IBM Rational Software Development Conference 2007, we announced the new IBM Rational Software Development Platform - Team version 7.0.1 (http://www-03.ibm.com/press/us/en/pressrelease/21688.wss). This release includes Rational TestManager.

See the V7.0.1 download document for the complete details (http://www-1.ibm.com/support/docview.wss?rcss=rtldwtm&uid=swg24016212).

We are initiating this thread to be a home for issues relating to V7.0.1. Items relating to installation and transition are most appropriate. If you have questions or answers, concerns, ideas, or relevant experience in moving forward with this release, please post your thoughts here.

Please consider modifying the subject to best fit your specific message.
Thank you,
- Pat

.......................................................
Patrick W. O'Connor
eSupport Project Manager
Rational Client Support
IBM Rational Software
001-978-843-7290 | patocon@us.ibm.com | http://ibm.com/rational/support/
Updated on 2008-05-21T09:42:41Z at 2008-05-21T09:42:41Z by SystemAdmin
  • Ring-Zero_Software
    Ring-Zero_Software
    8 Posts

    Re: V7.0.1 installation/transition issues

    ‏2007-06-29T09:12:42Z  
    v7.01 - a few problems encountered so far:

    1) Breaks Test Input Adapter public/published API specs from previous versions. Looks like someone at Rational tried to clean up the published API and didn't think of the ramifications.
    2) Changes to public/published API are not published. This means that developers who use this API are now left in the dark, or forced to reverse-engineer Rational's code.
    3) Shortcut to TM readme on start menu is a broken link. Minor, but shouldn't this have been tested?
    4) Following instructions in file, after locating, refer to IBM Publications Site -- however, no release notes for 7.0.1 can be found on IBM Publications Site. (as of June 29, 2007)
    5) Still doesn't fix one of the easiest to find and fix crash bugs in TM: click once on the selected test input source name to rename, and while in "rename" mode, hit F5. Boom.
  • SystemAdmin
    SystemAdmin
    1545 Posts

    Re: V7.0.1 installation/transition issues

    ‏2008-02-14T20:59:50Z  
    v7.01 - a few problems encountered so far:

    1) Breaks Test Input Adapter public/published API specs from previous versions. Looks like someone at Rational tried to clean up the published API and didn't think of the ramifications.
    2) Changes to public/published API are not published. This means that developers who use this API are now left in the dark, or forced to reverse-engineer Rational's code.
    3) Shortcut to TM readme on start menu is a broken link. Minor, but shouldn't this have been tested?
    4) Following instructions in file, after locating, refer to IBM Publications Site -- however, no release notes for 7.0.1 can be found on IBM Publications Site. (as of June 29, 2007)
    5) Still doesn't fix one of the easiest to find and fix crash bugs in TM: click once on the selected test input source name to rename, and while in "rename" mode, hit F5. Boom.
    For Point 1 & 2: Can you give me some example where API has been broken. There does not seems great changes in API
    so far.

    For point 3 & 5: It will be considered for next release in Q2 2008.

    For point 4: Will follow up and update here.
  • SystemAdmin
    SystemAdmin
    1545 Posts

    Re: V7.0.1 installation/transition issues

    ‏2008-04-21T10:58:54Z  
    For Point 1 & 2: Can you give me some example where API has been broken. There does not seems great changes in API
    so far.

    For point 3 & 5: It will be considered for next release in Q2 2008.

    For point 4: Will follow up and update here.
    An example of api broken:

    In Tm version 6.etc I made a vb.net program using Rtcomtestserver.dll for listing all the requisites used in a test.
    This test worked fine.
    Now we have changed to tm 7.0.1.1 and the program is not working anymore. The key point is in the ITMSTestCase using the function GetTestInputs(). When I run this line, the program stops (is not an exception nor an application error). In the output I only have:

    'TestManager.vshost.exe' (Managed): Loaded 'D:\TestManager\TestManager\bin\Debug\TestManager.exe', Symbols loaded.
    'TestManager.vshost.exe' (Managed): Loaded 'D:\TestManager\TestManager\bin\Debug\Interop.TMSCOMSERVERLib.dll', No symbols loaded.
    'TestManager.vshost.exe' (Managed): Loaded 'D:\TestManager\TestManager\bin\Debug\Interop.TMSUILib.dll', No symbols loaded.
    The program '1900 TestManager.vshost.exe: Managed' has exited with code 128 (0x80).

    Any clue?? All the dll are registered, the tm and Requisite are ok, they seen each other, I have licences, etc.

    The code is:

    using System;
    using System.Collections.Generic;
    using System.Text;
    using TMSCOMSERVERLib; //acceso a Tm
    using TMSUILib;
    using System.Collections; //uso de ventanas propias de tm

    namespace TestManager
    {
    class Program
    {
    static void Main(string[] args)
    {
    testX Mitest = new testX("", "", "");
    }
    }

    class testX
    {
    //const string PATH = "";
    //const string USER = "";
    //const string PASS = "";

    TMSServerClass TestM = new TMSServerClass();
    TMSUILib.TMSAssetSelector SeleccionTest=new TMSAssetSelector();

    public testX(string path,string user,string pass)
    {
    try
    {
    TestM.Login(1, path, user, pass, 1);
    RecorroTest();
    }
    catch
    {
    }

    }
    //esto recorre los test
    private void RecorroTest()
    {
    SortedList Lista = new SortedList();
    try
    {
    TMSAssetCol Planes;
    TMSTestPlan UnPlan;
    TMSTestAssetDescriptorCol ColeccionTestI;
    TMSTestAssetDescriptor DescriptorTest;
    TMSSimpleTestAssetSelectionDialog Dialogo;
    ITMSTestCase CasoPrueba;
    TMSTestInputCol ColeccionTest;
    TMSTestInput UC;

    Dialogo = SeleccionTest.CreateSimpleTestAssetSelectionDialog();
    Dialogo.AssetType = "TestPlan";
    Dialogo.Caption = "Elige los planes";
    Dialogo.SetAllowMultiple(1);
    Dialogo.ParentWindow = 0;
    Dialogo.Show(TestM);
    ColeccionTestI = (TMSTestAssetDescriptorCol)Dialogo.GetSelAssets();
    //recorro los planes elegidos
    for (int i = 1; i < ColeccionTestI.Count + 1; i++)
    {

    DescriptorTest = (TMSTestAssetDescriptor)ColeccionTestI.get_Item((object)i);
    UnPlan = (TMSTestPlan)TestM.GetTestPlanByName(DescriptorTest.Name);
    Planes = UnPlan.GetAllTestCases();
    for (int j = 1; j < Planes.Count + 1; j++)
    {
    try
    {
    CasoPrueba = (ITMSTestCase)Planes.get_Item((object)j);
    //CasoPrueba.RemoveTestInput((TMSTestInput)CasoPrueba.GetTestInputs().get_Item(1));
    ColeccionTest = CasoPrueba.GetTestInputs();
    for (int k = 1; k < ColeccionTest.Count + 1; k++)
    {
    UC = (TMSTestInput)ColeccionTest.get_Item((object)k);
    if (Lista.ContainsKey(UC.Name))
    {

    //IEnumerator> Enm = Lista.GetEnumerator();

    //ahora me situo en la key y añado al value
    //while (Enm.MoveNext())

    for (int v=0;v<Lista.Count;v++)
    {

    //if (Enm.Current.Key.ToString() == UC.Name)
    if (Lista.Keys[v].ToString() == UC.Name)
    {
    Console.WriteLine("Antes, encontrado el UC: " + UC.Name + " con valor " + Lista.Values[v].ToString());
    string ValorNuevo=Lista.Values[v].ToString()+","+Planes.get_Name((object)j).ToString();

    Lista.Remove(UC.Name);
    Lista.Add(UC.Name, ValorNuevo);

    break;
    }
    }
    }
    else
    {
    Lista.Add(UC.Name, Planes.get_Name((object)j));
    Console.WriteLine("Añadida la pareja UC: " + UC.Name.ToString() + " TEST: " + Planes.get_Name((object)j).ToString());
    }
    }
    }
    catch(Exception e)
    {
    //si no hay casos no pasa nada
    Console.WriteLine("Excepcion; sin casos: " + e.Message);
    Console.WriteLine(e.StackTrace.ToString());
    }
    }
    }

    }
    catch (Exception e)
    {
    Console.WriteLine("Excepcion: " + e.Message);
    Console.WriteLine(e.StackTrace.ToString());

    }
    finally
    {
    Console.WriteLine("Voy a recorrer la lista final de tamaño: " + Lista.Count.ToString());
    //recorro la lista e imprimo el resultado
    if (Lista.Count > 0)
    {

    IEnumerator> Enm = Lista.GetEnumerator();

    //ahora me situo en la key y añado al value
    while (Enm.MoveNext())
    {
    Escritor.EscribirAFichero(Enm.Current.Key.ToString() + ";" + Enm.Current.Value.ToString());
    }
    }
    }
    }

    }
    }
  • SystemAdmin
    SystemAdmin
    1545 Posts

    Re: V7.0.1 installation/transition issues

    ‏2008-04-30T10:15:35Z  
    An example of api broken:

    In Tm version 6.etc I made a vb.net program using Rtcomtestserver.dll for listing all the requisites used in a test.
    This test worked fine.
    Now we have changed to tm 7.0.1.1 and the program is not working anymore. The key point is in the ITMSTestCase using the function GetTestInputs(). When I run this line, the program stops (is not an exception nor an application error). In the output I only have:

    'TestManager.vshost.exe' (Managed): Loaded 'D:\TestManager\TestManager\bin\Debug\TestManager.exe', Symbols loaded.
    'TestManager.vshost.exe' (Managed): Loaded 'D:\TestManager\TestManager\bin\Debug\Interop.TMSCOMSERVERLib.dll', No symbols loaded.
    'TestManager.vshost.exe' (Managed): Loaded 'D:\TestManager\TestManager\bin\Debug\Interop.TMSUILib.dll', No symbols loaded.
    The program '1900 TestManager.vshost.exe: Managed' has exited with code 128 (0x80).

    Any clue?? All the dll are registered, the tm and Requisite are ok, they seen each other, I have licences, etc.

    The code is:

    using System;
    using System.Collections.Generic;
    using System.Text;
    using TMSCOMSERVERLib; //acceso a Tm
    using TMSUILib;
    using System.Collections; //uso de ventanas propias de tm

    namespace TestManager
    {
    class Program
    {
    static void Main(string[] args)
    {
    testX Mitest = new testX("", "", "");
    }
    }

    class testX
    {
    //const string PATH = "";
    //const string USER = "";
    //const string PASS = "";

    TMSServerClass TestM = new TMSServerClass();
    TMSUILib.TMSAssetSelector SeleccionTest=new TMSAssetSelector();

    public testX(string path,string user,string pass)
    {
    try
    {
    TestM.Login(1, path, user, pass, 1);
    RecorroTest();
    }
    catch
    {
    }

    }
    //esto recorre los test
    private void RecorroTest()
    {
    SortedList Lista = new SortedList();
    try
    {
    TMSAssetCol Planes;
    TMSTestPlan UnPlan;
    TMSTestAssetDescriptorCol ColeccionTestI;
    TMSTestAssetDescriptor DescriptorTest;
    TMSSimpleTestAssetSelectionDialog Dialogo;
    ITMSTestCase CasoPrueba;
    TMSTestInputCol ColeccionTest;
    TMSTestInput UC;

    Dialogo = SeleccionTest.CreateSimpleTestAssetSelectionDialog();
    Dialogo.AssetType = "TestPlan";
    Dialogo.Caption = "Elige los planes";
    Dialogo.SetAllowMultiple(1);
    Dialogo.ParentWindow = 0;
    Dialogo.Show(TestM);
    ColeccionTestI = (TMSTestAssetDescriptorCol)Dialogo.GetSelAssets();
    //recorro los planes elegidos
    for (int i = 1; i < ColeccionTestI.Count + 1; i++)
    {

    DescriptorTest = (TMSTestAssetDescriptor)ColeccionTestI.get_Item((object)i);
    UnPlan = (TMSTestPlan)TestM.GetTestPlanByName(DescriptorTest.Name);
    Planes = UnPlan.GetAllTestCases();
    for (int j = 1; j < Planes.Count + 1; j++)
    {
    try
    {
    CasoPrueba = (ITMSTestCase)Planes.get_Item((object)j);
    //CasoPrueba.RemoveTestInput((TMSTestInput)CasoPrueba.GetTestInputs().get_Item(1));
    ColeccionTest = CasoPrueba.GetTestInputs();
    for (int k = 1; k < ColeccionTest.Count + 1; k++)
    {
    UC = (TMSTestInput)ColeccionTest.get_Item((object)k);
    if (Lista.ContainsKey(UC.Name))
    {

    //IEnumerator> Enm = Lista.GetEnumerator();

    //ahora me situo en la key y añado al value
    //while (Enm.MoveNext())

    for (int v=0;v<Lista.Count;v++)
    {

    //if (Enm.Current.Key.ToString() == UC.Name)
    if (Lista.Keys[v].ToString() == UC.Name)
    {
    Console.WriteLine("Antes, encontrado el UC: " + UC.Name + " con valor " + Lista.Values[v].ToString());
    string ValorNuevo=Lista.Values[v].ToString()+","+Planes.get_Name((object)j).ToString();

    Lista.Remove(UC.Name);
    Lista.Add(UC.Name, ValorNuevo);

    break;
    }
    }
    }
    else
    {
    Lista.Add(UC.Name, Planes.get_Name((object)j));
    Console.WriteLine("Añadida la pareja UC: " + UC.Name.ToString() + " TEST: " + Planes.get_Name((object)j).ToString());
    }
    }
    }
    catch(Exception e)
    {
    //si no hay casos no pasa nada
    Console.WriteLine("Excepcion; sin casos: " + e.Message);
    Console.WriteLine(e.StackTrace.ToString());
    }
    }
    }

    }
    catch (Exception e)
    {
    Console.WriteLine("Excepcion: " + e.Message);
    Console.WriteLine(e.StackTrace.ToString());

    }
    finally
    {
    Console.WriteLine("Voy a recorrer la lista final de tamaño: " + Lista.Count.ToString());
    //recorro la lista e imprimo el resultado
    if (Lista.Count > 0)
    {

    IEnumerator> Enm = Lista.GetEnumerator();

    //ahora me situo en la key y añado al value
    while (Enm.MoveNext())
    {
    Escritor.EscribirAFichero(Enm.Current.Key.ToString() + ";" + Enm.Current.Value.ToString());
    }
    }
    }
    }

    }
    }
    Q 1. Is TestInput source (ReqPro Proejct) security enabled?
    Q 2. Crash happen on line
    ColeccionTest = CasoPrueba.GetTestInputs();?
    Q 3. Are you able to see test inputs for same test case from TestManager?
    Right click on TestCase and select properties. Goto TestInputs tab.

    -|- Pramod Chandoria
  • SystemAdmin
    SystemAdmin
    1545 Posts

    Re: V7.0.1 installation/transition issues

    ‏2008-05-12T10:15:14Z  
    Q 1. Is TestInput source (ReqPro Proejct) security enabled?
    Q 2. Crash happen on line
    ColeccionTest = CasoPrueba.GetTestInputs();?
    Q 3. Are you able to see test inputs for same test case from TestManager?
    Right click on TestCase and select properties. Goto TestInputs tab.

    -|- Pramod Chandoria
    An answer at last!!

    1. Security in Requisite is on: you have to log on... requisite is integrated in the same proyect.
    2. I know that the crash is in this line. In this line I go to Requisite pro from Test Manager. Also, any other api command of linkage between RPro and Test Manager produces the same crash (e.g. add new input, etc)
    3. I can see test inputs using Test Manager in the "visual" way. I can navigate to requisite pro, add new elements, see properties, etc.

    The proyect I am using was created with version 6.16 of Rational. Now we have migrated (everything) to 7.0.1.

    I tried this api in more than one machine and also failed.

    Also, with the former version (I mean, this api compiled in version 6.16) the crash the same when trying to execute it in 7.0.1 evironment.
  • SystemAdmin
    SystemAdmin
    1545 Posts

    Re: V7.0.1 installation/transition issues

    ‏2008-05-21T07:28:35Z  
    An answer at last!!

    1. Security in Requisite is on: you have to log on... requisite is integrated in the same proyect.
    2. I know that the crash is in this line. In this line I go to Requisite pro from Test Manager. Also, any other api command of linkage between RPro and Test Manager produces the same crash (e.g. add new input, etc)
    3. I can see test inputs using Test Manager in the "visual" way. I can navigate to requisite pro, add new elements, see properties, etc.

    The proyect I am using was created with version 6.16 of Rational. Now we have migrated (everything) to 7.0.1.

    I tried this api in more than one machine and also failed.

    Also, with the former version (I mean, this api compiled in version 6.16) the crash the same when trying to execute it in 7.0.1 evironment.
    TestManager 7.0.1 Release Notes:
    ftp://ftp.software.ibm.com/software/rational/TestManager/7.0.1/7.0.1-RATL-TSTMGR-WIN.html

    TestManager 7.0.1 iFix01 Release Notes:
    ftp://ftp.software.ibm.com/software/rational/TestManager/7.0.1/7.0.1.0-RATL-TSTMGR-IFIX01/7.0.1.0-RATL-TSTMGR-WIN-IFIX01.html

    TestManager 7.0.1.1 Release notes:

    ftp://ftp.software.ibm.com/software/rational/TestManager/7.0.1/7.0.1.1/7.0.1.1-RATL-TSTMGR-FP01/7.0.1.1-RATL-TSTMGR-WIN.html

    Thanks
  • SystemAdmin
    SystemAdmin
    1545 Posts

    Re: V7.0.1 installation/transition issues

    ‏2008-05-21T08:42:38Z  
    Thanks...I suppose.

    I have been diving in these documents all morning and find nothing.
    Do you mean my problem is documented in one of them? My problem is not user/pass problem against requisite pro (is the closest I have found)
    I´m installing fix1 of TM just in case.

    Thanks anyway, is better to have a general answer than to have no-one and I guess you have thinks better to do.
  • SystemAdmin
    SystemAdmin
    1545 Posts

    Re: V7.0.1 installation/transition issues

    ‏2008-05-21T09:42:41Z  
    Thanks...I suppose.

    I have been diving in these documents all morning and find nothing.
    Do you mean my problem is documented in one of them? My problem is not user/pass problem against requisite pro (is the closest I have found)
    I´m installing fix1 of TM just in case.

    Thanks anyway, is better to have a general answer than to have no-one and I guess you have thinks better to do.
    Sorry this msg was not for you but the answer to first message of this thread, which i missed to answer earlier
    "For point 4: Will follow up and update here."

    Thanks