SPONSORS:






User Tag List

Thanks Thanks:  0
Likes Likes:  0
Dislikes Dislikes:  0
Page 1 of 2 12 LastLast
Results 1 to 10 of 13
  1. #1
    Member
    Join Date
    Sep 2007
    Location
    Australia
    Posts
    357
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    QTP, Jenkins + real time execution

    Hi,

    Got a UFT script that does some prompting for run criterias but I also want to make it available to run from Jenkins by batch - so there has to be some sort of run library for what batch jobs to run when etc but also able to be updated by jenkins etc?

    Don't know what the best way to set this up.

    Could the community suggest the best way to do this? I'm sure you all have got this issue - whats the industry standard?

    Joe

  2. #2
    Advanced Member
    Join Date
    Aug 2004
    Location
    Wellington, New Zealand
    Posts
    810
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    1 Thread(s)
    Total Downloaded
    0
    Regards,

    Alex
    ... just another Tester ...

  3. #3
    Member
    Join Date
    Sep 2007
    Location
    Australia
    Posts
    357
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0
    yes - read that - that tells you how to use jenkins - but is it not just as important to set up the uft structure to accommodate running via ALM/Jenkins, standalone, scheduled now so that in the future when these options are enacted then you can easily do it rather than shoehorning them? like some advice...

  4. #4
    Advanced Member
    Join Date
    Aug 2004
    Location
    Wellington, New Zealand
    Posts
    810
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    1 Thread(s)
    Total Downloaded
    0
    When you set up your Jenkins job you will specify the ALM test set or test instance in a test set, host to run on.
    The rest is already taken care of by ALM.

    If you're running without ALM then all you really need is the command line syntax to run a UFT test - which means specifying the action name, test and location of the test.
    The UFT test should know where it's associated resources are.
    Regards,

    Alex
    ... just another Tester ...

  5. #5
    Moderator
    Join Date
    Sep 2001
    Location
    Doncaster, UK
    Posts
    5,809
    Post Thanks / Like
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0
    I found this useful when I first started looking at using Jenkins to run UFT tests

    https://sumeetkushwah.com/2015/08/25...s-from-jenkins


    Mark Smith

  6. #6
    SQA Knight
    Join Date
    Jun 2008
    Posts
    2,582
    Post Thanks / Like
    Mentioned
    3 Post(s)
    Tagged
    1 Thread(s)
    Total Downloaded
    0
    So when you say "UFT script that does some prompting for run criterias" do you mean actual pop-up input boxes? You should get rid of those regardless, no place for that in automation. Replace with either a batch file call that takes command line inputs, environment variables, an input file, database, anything else really.
    Last edited by NoUse4aName; 09-16-2016 at 08:29 AM.

  7. #7
    Member
    Join Date
    Sep 2007
    Location
    Australia
    Posts
    357
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0
    but there are some manual testers that want to run specific tests and want to use their own data files and want to run specific test cases - are you saying for them to put that in a bacth file input? management was happy there was a selection input point and not only something us automation people did

  8. #8
    Moderator
    Join Date
    Sep 2001
    Location
    Doncaster, UK
    Posts
    5,809
    Post Thanks / Like
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0
    Joe I think that the route your test manager has forced you down "use as little of UFT inbuilt functionality as possible" (to me) has highlighted 2 problem:

    1 - The test manager is not 'test automation savvy'
    2 - UFT can pretty much do 95% of what your trying to achieve 'out of the box'

    I admire your tenacity Joe in the face of test manager stupidity.


    Mark Smith.

  9. #9
    Member
    Join Date
    Sep 2007
    Location
    Australia
    Posts
    357
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0
    hey I gotta eat....

  10. #10
    Member
    Join Date
    Sep 2007
    Location
    Australia
    Posts
    357
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0
    So all I really was asking is if there is a pretty standard way of using the same script that prompts for interaction to drive the script but also if it is launched by a batch process to ignore the interactive part and go the command line input/input file and I'm wondering if thats via params or just 2 different scripts?

    Any help is appreciated......

 

 
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 © 2017 DragonByte Technologies Ltd.
Resources saved on this page: MySQL 11.54%
vBulletin Optimisation provided by vB Optimise v2.6.4 (Pro) - vBulletin Mods & Addons Copyright © 2017 DragonByte Technologies Ltd.
User Alert System provided by Advanced User Tagging v3.2.8 (Pro) - vBulletin Mods & Addons Copyright © 2017 DragonByte Technologies Ltd.
vBNominate (Lite) - vBulletin Mods & Addons Copyright © 2017 DragonByte Technologies Ltd.
Feedback Buttons provided by Advanced Post Thanks / Like (Pro) - vBulletin Mods & Addons Copyright © 2017 DragonByte Technologies Ltd.
Username Changing provided by Username Change (Free) - vBulletin Mods & Addons Copyright © 2017 DragonByte Technologies Ltd.
BetaSoft Inc.
Digital Point modules: Sphinx-based search
All times are GMT -8. The time now is 06:07 PM.

Copyright BetaSoft Inc.