Service Virtualization

  • 1.  Issue with Staging test with multiple test data files

    Posted Jul 19, 2017 07:44 AM

    Hi All,

     

    I have a selenium test to run for multiple test data (Xmls), hence I have included a Numeric Counting Data Set in which i am initialising "i" variable  and I am providing the path of the data set as below:

    {{LISA_RELATIVE_PROJ_ROOT}}/Data/E2E (Integration)/COM-CON-002/TC_1_{{i}}.xml

    I am looping the test case so that it will pick up the file TC_1_1.xml to TC_1_19.xml during the run.

     

     

     

    Issue with Staging the testcase:

    When I am trying to stage the test case (either locally or on server),the test case is failing because there is no XML File present in the lads folder which is created on run time while staging hence test case cannot get the data and failed.

     

    Hence can anyone please help me how to resolve this issue.

     

     

    Thanks

    Sarthak



  • 2.  Re: Issue with Staging test with multiple test data files
    Best Answer

    Posted Jul 19, 2017 02:21 PM

    Few things to check

    1. Create a Marinfo file first if you are not already doing that and make sure all your input files are referenced in that. 

    2. Check your subprocess path, it should be parameterized as well.

    3.  You can try  this. Instead of LISA_RELATIVE_PROJ_ROOT, use LISA_PROJ_ROOT



  • 3.  Re: Issue with Staging test with multiple test data files

    Posted Jul 24, 2017 09:50 AM

    Hi Abhinav,

     

    I have tried creating a MAR file and manually included all the excel files and it worked for me.Thanks a lot for your inputs.

    Thanks

    Sarthak



  • 4.  Re: Issue with Staging test with multiple test data files

    Posted Jul 24, 2017 07:40 AM

    Sarthak,

     

    Did Abhinav's recommendations help you out with this issue?