Use Shared Step's Parameters in multiple Test Cases Not working
-
Tuesday, February 28, 2012 4:30 PM
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
All Replies
-
Thursday, March 01, 2012 9:33 AMModerator
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
-
Monday, March 05, 2012 9:23 AM
Hi Closl,
How can I repro the issue?
Thanks!
Sophia Lu [MSFT]
-
Thursday, March 08, 2012 5:41 PM
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

