Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-62301

Passing parameters to UFT test directly

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      Is there any way to pass jenkins parameters directly to UFT Test.

      Need to pass jenkins parameters directly to UFT_DEMO_TEST .

       

        Attachments

          Activity

          Hide
          aslaakso Anda Sorina Laakso added a comment -

          There is a way to pass test parameters to a test. Define the test inside the mtbx file and add the parameters there. In case you run from ALM, then the way of passing the test parameters are defined in the official documentation on the section "Run functional test sets from ALM" :
          https://admhelp.microfocus.com/uft/en/15.0-15.0.1/UFT_Help/Content/User_Guide/Jenkins.htm#mt-item-3

          Show
          aslaakso Anda Sorina Laakso added a comment - There is a way to pass test parameters to a test. Define the test inside the mtbx file and add the parameters there. In case you run from ALM, then the way of passing the test parameters are defined in the official documentation on the section "Run functional test sets from ALM" : https://admhelp.microfocus.com/uft/en/15.0-15.0.1/UFT_Help/Content/User_Guide/Jenkins.htm#mt-item-3
          Hide
          jav404 Shashu S added a comment -

          Here I don't want to use mtbx file for execution.

          If i use mtbx file then i have to create multiple mtbx file according to scenario(as i am having many test cases).

          I want to pass parametaer directly to test when i am using "Microfocus file system" as build step.

           

          Some thing like this 

          C:\Demo\UFT_DEMO_TEST %TEST PARAMETER%

           

           

           

          Show
          jav404 Shashu S added a comment - Here I don't want to use mtbx file for execution. If i use mtbx file then i have to create multiple mtbx file according to scenario(as i am having many test cases). I want to pass parametaer directly to test when i am using "Microfocus file system" as build step.   Some thing like this  C:\Demo\UFT_DEMO_TEST %TEST PARAMETER%      
          Hide
          mihaicampean Mihai added a comment -

          For file system execution the only way to pass parameters is by using mtbx file. If this solution is not ok for you please contact support team in order to create an Enhancement Request

          Show
          mihaicampean Mihai added a comment - For file system execution the only way to pass parameters is by using mtbx file. If this solution is not ok for you please contact support team in order to create an Enhancement Request
          Hide
          mihaicampean Mihai added a comment -

          This is not a defect, please contact UFT support team for raising an Enhancement Request

          Show
          mihaicampean Mihai added a comment - This is not a defect, please contact UFT support team for raising an Enhancement Request

            People

            Assignee:
            aslaakso Anda Sorina Laakso
            Reporter:
            jav404 Shashu S
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: