none
Use Shared Step's Parameters in multiple Test Cases Not working

    질문

  • In the "re-use parameters over several Test cases" thread, it was indicated by Okacha Abed

    From "adding parameters to your shared steps": "If you do not provide data for the shared steps parameters in the test cases that include these shared steps, the data in the parameters of your shared steps will be used when you run your test. "

    This doesn't work for me.  If I don't add data to the parameters in the test case, I get an error message when I try to run the automated test tha the table in the test case is empty.

    Any help would be appreciated!


    laurie l clos

    2012년 2월 28일 화요일 오후 4:30

모든 응답

  • Hi clos,

    Thank you for your question.

    I am trying to involve someone familiar with this topic to further look at this issue. There might be some time delay. Appreciate your patience.

    Thank you for your understanding and support.

    Best Regards,


    Lily Wu [MSFT]
    MSDN Community Support | Feedback to us

    2012년 3월 1일 목요일 오전 9:33
    중재자
  • Hi Closl,

    How can I repro the issue?

    Thanks!


    Sophia Lu [MSFT]

    2012년 3월 5일 월요일 오전 9:23
  • Hi Sophia,

    I got frustrated with it and decided to use an XML file for parameter values.

    These are the steps I was using before I did that.

    Create a Test Case with parameters

    Enter values into Parameters of test case

    Create shared steps with same parameters.

    Enter values into Parameters of shared step

    Remove values from parameters in Test Case

    Run test


    laurie l clos

    2012년 3월 8일 목요일 오후 5:41