SPONSORS:






User Tag List

Thanks Thanks:  0
Likes Likes:  0
Dislikes Dislikes:  0
Page 1 of 2 12 LastLast
Results 1 to 10 of 11
  1. #1
    SQA Council
    Join Date
    Mar 2001
    Posts
    14,438
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Import/Export Test Scripts

    User MArk B. (mkbutler@russellmellon.com.nospam) posted:

    If you have the script associated to a TC then you can export that one TC
    (and maybe some other crap) along with the script from the source. Select
    it in the TestPlan browser and right click.

    BTW: If anyone is looking for a way to handle version control of individual
    test scripts this might be the route to take. I haven't looked at it deeply
    enough to see if it will really work but I am seeing that this package
    contains the entire script and all of its associated stuff. Anyone got
    enough interest to check it out?

    MArk B.
    Jimmy, where's your camera? And get your hand off of Lois's knee!

    "Downs, James (VA24)" <james.downs@poms.com> wrote in message
    news:94545@sqa-suite-users...
    import
    ---

  2. #2
    SQA Council
    Join Date
    Mar 2001
    Posts
    14,438
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Import/Export Test Scripts

    User Downs, James (VA24) (james.downs@poms.com.nospam) posted:

    Hi All,

    We recently upgraded from 7.5 to 2002. We used to be able to simply import
    test scripts from one project to another. Now that feature is gone for a
    new one..."Import Test Assets" feature. After playing around a bit it seems
    this is only for exporting ALL scripts from one project, them importing them
    to another.

    What if I want to import ONE script from one project to another?? Is it
    possible anymore?? Any instructions would be greatly appreciated. Feel
    free to email me directly.

    Why does Rational always take away their good functionality and replace it
    with ambiguous jumble?

    Thanks
    Jimmy

    ---

  3. #3
    SQA Council
    Join Date
    Mar 2001
    Posts
    14,438
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Import/Export Test Scripts

    User (david.marsh@gb.abb.com.nospam) posted:

    --0__=80256B5F0031C4428f9e8a93df938690918c80256B5F00 31C442
    Content-type: text/plain; charset=us-ascii


    Although not an answer to your present problem...

    I only have one script, it has to include a library where all my tests are
    in functions.

    The script generates an input box where I can select the tests I want to
    run.

    So even if I cant copy or inport I would only ever have to rewrite 1
    script.

    I know it's not the way Rational expect you to use the tool, but it works
    for us.

    I did manage to convert some scripts written by people who had left into
    functions, it didn't take all that long either.


    (Embedded "Downs, James (VA24)" <james.downs@poms.com>
    image moved 12/02/2002 20:50
    to file:
    pic07164.pcx)


    Please respond to "SQA Suite Team Test Users"
    <sqa-suite-users@lyris.dundee.net>

    To: "SQA Suite Team Test Users" <sqa-suite-users@lyris.dundee.net>
    cc:
    Subject: Import/Export Test Scripts

    Security Level:? Internal


    Hi All,

    We recently upgraded from 7.5 to 2002. We used to be able to simply import
    test scripts from one project to another. Now that feature is gone for a
    new one..."Import Test Assets" feature. After playing around a bit it
    seems
    this is only for exporting ALL scripts from one project, them importing
    them
    to another.

    What if I want to import ONE script from one project to another?? Is it
    possible anymore?? Any instructions would be greatly appreciated. Feel
    free to email me directly.

    Why does Rational always take away their good functionality and replace it
    with ambiguous jumble?

    Thanks
    Jimmy

    ---

  4. #4
    SQA Council
    Join Date
    Mar 2001
    Posts
    14,438
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Import/Export Test Scripts

    User (david.marsh@gb.abb.com.nospam) posted:

    --0__=80256B6000334AE18f9e8a93df938690918c80256B6000 334AE1
    Content-type: text/plain; charset=us-ascii


    At present I am only dealing with one application, I have standard
    functions like create a new client, I pass in the file details to point to
    where the client details for that test are, and the same for other bits of
    the process. Each test has two params, one for input one for output files.

    So a change of data for the tests is handled by the CSV/text files,

    a change of GUI function is changed in the functions (so if create client
    needs changing one change sorts it out for all tests)

    My script generates a text list of tests to run. Then a function kicks off
    each test (bloody big case select statement).

    Each time a script finishes it is deleted from the list, then the next test
    is started.

    It works, I'm happy with it. To be honest the selection and generation
    stuff are also in functions so my script is... Result = RunAutomationTests
    (), and the include is just for that library.

    If I want to I can run individual tests, I have to include the library for
    them, then just cut and paste the line from the case statement.

    I probably have not explained it well enough, but the goal is simplicity,
    enter data, navigate to other screens, extract data, in reality that is
    what I need to do for this project.

    One very small script is enough for me.

    Dave

    (Embedded "MArk B." <mkbutler@russellmellon.com>
    image moved 13/02/2002 17:52
    to file:
    pic20798.pcx)


    Please respond to "SQA Suite Team Test Users"
    <sqa-suite-users@lyris.dundee.net>

    To: "SQA Suite Team Test Users" <sqa-suite-users@lyris.dundee.net>
    cc:
    Subject: Re: Import/Export Test Scripts

    Security Level:? Internal


    If you're dealing with one script then just:
    - Create a new script in the new project
    - Open the .rec file with notepad and copy the text
    - Paste it into the script

    Jeese, one script. I thought you had the couple of hundred scripts like I
    do and want to keep your script development separate from your execution
    environment.

    MArk B.

    are
    import
    it
    david.marsh@gb.abb.com
    ---

  5. #5
    SQA Council
    Join Date
    Mar 2001
    Posts
    14,438
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Import/Export Test Scripts

    User April (april04041963@yahoo.com.nospam) posted:

    Hi Marsh,

    select

    Does this mean that within Input box you get a list of
    tests from which you select one, or do you just enter
    the name of the test you want to run.


    Usually the scripts I am developing are being run
    by somebody else who doesn't want to play with
    Datapool, and doesn't remember the business rules
    while entering the value into Input box. I wanted
    something like being able to display a list
    of valid values from which a user can pick so that
    my script doesn't fail. In the sense the AUT will
    run smooth if valid values are fed into the App.

    Thanks,
    April.


    --- david.marsh@gb.abb.com wrote:

    name=pic07164.pcx


    __________________________________________________

  6. #6
    SQA Council
    Join Date
    Mar 2001
    Posts
    14,438
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Import/Export Test Scripts

    User (david.marsh@gb.abb.com.nospam) posted:

    --0__=80256B60005DABDD8f9e8a93df938690918c80256B6000 5DABDD
    Content-type: text/plain; charset=us-ascii


    Please please please the name is Dave, or David

    It is in 2 stages.

    Stage 1 selects what part of my application I am going to test (the app is
    split into 2 EXEs). I select that from a dropdown, so I can put extra apps
    in in the future, (except I got a new job so someone else will). Then an
    edit box so I can put something in to name my log file (simple text file,
    that is all we need).

    Then based on the application selected, a text file is loaded with a list
    of available tests. I have a very large message box with lots of check
    boxes. They get labled with the information from the text file. I could
    not work out how to only create just enough boxes each time so some are
    blank.

    When I have ticked what tests want and press the OK button, a text file is
    generated with the list of tests I want to run. As each test is run it is
    deleted from this list.

    My boss likes it, even if we had a power cut we would know how far we got.

    Whilst I may appear to be a bit of a luddite, my simple stratagy avoids
    many of the problems I see posted.

    Datapools problems? I don't use them got my csv files.
    Verification points? The only ones we use are meant to fail.
    Reports? I got my Mickey Mouse text files.
    Scripts? I only got one, and that is very small.

    Maybe that's why I can avoid so many problems?

    (Embedded April <april04041963@yahoo.com>
    image moved 14/02/2002 16:59
    to file:
    pic08932.pcx)


    Please respond to "SQA Suite Team Test Users"
    <sqa-suite-users@lyris.dundee.net>

    To: "SQA Suite Team Test Users" <sqa-suite-users@lyris.dundee.net>
    cc:
    Subject: Re: Import/Export Test Scripts

    Security Level:? Internal


    Hi Marsh,

    select

    Does this mean that within Input box you get a list of
    tests from which you select one, or do you just enter
    the name of the test you want to run.


    Usually the scripts I am developing are being run
    by somebody else who doesn't want to play with
    Datapool, and doesn't remember the business rules
    while entering the value into Input box. I wanted
    something like being able to display a list
    of valid values from which a user can pick so that
    my script doesn't fail. In the sense the AUT will
    run smooth if valid values are fed into the App.

    Thanks,
    April.


    --- david.marsh@gb.abb.com wrote:

    name=pic07164.pcx


    __________________________________________________

  7. #7
    SQA Council
    Join Date
    Mar 2001
    Posts
    14,438
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Import/Export Test Scripts

    User April (april04041963@yahoo.com.nospam) posted:

    Hi Dave,

    God you have done such a good scripting, Hope I can
    dream to reach such a stage some day.

    But till then I need help from Guru's like you:

    1. "I select that from a dropdown, so I can put extra
    apps in in the future"

    2. "Then an edit box so I can put something in to
    name my log file (simple text file, that is all we
    need).

    3. "I have a very large message box with lots of check
    boxes. They get labled with the information from
    the text file"

    4. "When I have ticked what tests want and press the
    OK
    button, a text file is generated with the list of test
    I want to run. As each test is run it is deleted
    from this list"

    I know though I am putting into 4 points, but I am
    asking almost every functionality you have in your
    scripting.
    HOw did you achieve this? Is it possible for you to
    pass on the code so that I can use it. I would
    definitely have a necessity for such kind of
    functionality for the Application I am automating.

    Right now I have automated One Line of Business(Still
    I need to automate 3 more LOB each having different
    options), and
    Each LOB have again different options. I think if
    I can understand/get what you have did it would help
    me a lot.

    And Please please please, why don't you just sign your
    name at the end of the mail. Some new users may not
    remember your name and would do the same mistake
    again.

    Thanks,
    April.

    --- david.marsh@gb.abb.com wrote:

    __________________________________________________

  8. #8
    SQA Council
    Join Date
    Mar 2001
    Posts
    14,438
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Import/Export Test Scripts

    User April (april04041963@yahoo.com.nospam) posted:

    Hi Dave,

    Thanks for the Idea, I am able to achive Item # 2
    i.e., creating a Text Log. Since long I was trying
    to figure out how to create a report that can give
    the appropriate info of the test script run. All
    these days I was running the Log report from the
    Logviewer which contains statments for all the
    functions called.

    Please try to give me more clues for Item # 1,3,4
    so that I can use them in my scripts.

    Thanks,
    April.
    --- April <april04041963@yahoo.com> wrote:
    leave-sqa-suite-users-9233366V@lyris.dundee.net


    __________________________________________________

  9. #9
    SQA Council
    Join Date
    Mar 2001
    Posts
    14,438
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Import/Export Test Scripts

    User (david.marsh@gb.abb.com.nospam) posted:

    --0__=80256B6100356C658f9e8a93df938690918c80256B6100 356C65
    Content-type: text/plain; charset=us-ascii


    Hi there April...

    Firstly my test rig is in a different office to my test network, so I
    sometimes do stuff by memory and get it slightly wong

    I have converted scripts to functions in a library, now this will not work
    for all tests, but as I don't use VP and stuf I normally have to do this.

    Function MyFunctionName(VarsIn, VarsOut) Result (Vars are normally a
    string containing the input//output files, result normally an integer used
    for error reports)

    Here I copy the part of the script between sub main and end sub excluding
    the subs!

    End Function

    This for me this usually requires not much more than a cut and paste.

    So if you had a bunch of tests for creating clients you might decide to
    name each one (as you would do scripts)

    Client1, Client 2 and so on.

    So when you see the big select commands in my attached functions that is
    what you would be putting in. And the INI files would store the test
    numbers, then they would get displayed on the multi checkbox dialog.

    I don't think this stuff works by being clever, I think it works if I keep
    it simple.

    This stuff does pull in some of our other libraries, the main thing is the
    Global, because that is where the path for the text log report is. Most of
    the others are to do with our testing functions.

    And it can be adapted, and I am sure there are people on the list who could
    do far better in their lunch hour, but hey I'm using it reliably at the
    moment.

    Regards

    Big Dave

    (See attached file: frontend.zip)



    (Embedded April <april04041963@yahoo.com>
    image moved 14/02/2002 20:02
    to file:
    pic03584.pcx)


    Please respond to "SQA Suite Team Test Users"
    <sqa-suite-users@lyris.dundee.net>

    To: "SQA Suite Team Test Users" <sqa-suite-users@lyris.dundee.net>
    cc:
    Subject: Re: Import/Export Test Scripts

    Security Level:? Internal


    Hi Dave,

    God you have done such a good scripting, Hope I can
    dream to reach such a stage some day.

    But till then I need help from Guru's like you:

    1. "I select that from a dropdown, so I can put extra
    apps in in the future"

    2. "Then an edit box so I can put something in to
    name my log file (simple text file, that is all we
    need).

    3. "I have a very large message box with lots of check
    boxes. They get labled with the information from
    the text file"

    4. "When I have ticked what tests want and press the
    OK
    button, a text file is generated with the list of test
    I want to run. As each test is run it is deleted
    from this list"

    I know though I am putting into 4 points, but I am
    asking almost every functionality you have in your
    scripting.
    HOw did you achieve this? Is it possible for you to
    pass on the code so that I can use it. I would
    definitely have a necessity for such kind of
    functionality for the Application I am automating.

    Right now I have automated One Line of Business(Still
    I need to automate 3 more LOB each having different
    options), and
    Each LOB have again different options. I think if
    I can understand/get what you have did it would help
    me a lot.

    And Please please please, why don't you just sign your
    name at the end of the mail. Some new users may not
    remember your name and would do the same mistake
    again.

    Thanks,
    April.

    --- david.marsh@gb.abb.com wrote:

    __________________________________________________

  10. #10
    Member
    Join Date
    Nov 2001
    Location
    UK
    Posts
    47
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Import/Export Test Scripts

    "
    Hi All,

    We recently upgraded from 7.5 to 2002. We used to be able to simply import
    test scripts from one project to another. Now that feature is gone for a
    new one..."Import Test Assets" feature. After playing around a bit it seems
    this is only for exporting ALL scripts from one project, them importing them
    to another.

    What if I want to import ONE script from one project to another?? Is it
    possible anymore?? Any instructions would be greatly appreciated. Feel
    free to email me directly.

    Why does Rational always take away their good functionality and replace it
    with ambiguous jumble?

    Thanks
    Jimmy
    "

    Hi jimmy

    I think everyone is deviating from your problem Jimmy :

    Solution is there to import only one script.

    First for exporting only one script:
    What you have to do is one extra step
    1.Create TestCase (Associate Test Script you wanna export)
    2. Right Click on TC and check Associate Implementation checkbox
    Save Parcel File.

    While importing simply select the script which you wanna import.

    That's it...!! The Test Script is ready with all it's VP.

    Bye
    'Sanjeev'


    ------------------
    "I am an idealist, but don't know which way I am heading towards "

 

 
Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Search Engine Optimisation provided by DragonByte SEO v2.0.36 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Resources saved on this page: MySQL 12.50%
vBulletin Optimisation provided by vB Optimise v2.6.4 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
User Alert System provided by Advanced User Tagging v3.2.8 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
vBNominate (Lite) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Feedback Buttons provided by Advanced Post Thanks / Like (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Username Changing provided by Username Change (Free) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
BetaSoft Inc.
Digital Point modules: Sphinx-based search
All times are GMT -8. The time now is 02:19 PM.

Copyright BetaSoft Inc.