Heirarchy of Test Suite including Smart Folders
Posted: Tue May 16, 2017 7:28 pm
Hello,
I am trying to execute a test Suite within a solution with the following heirarchy
Test Suite
|
Setup
( Recording Modules within Setup)
|
Test Case 1 at parent level
|
Multiple Smart Folders at child level ( and recording modules within each smart folder)
Please let me know if this is the correct hierarchy.
Now when i start running the test suite, my setup is not at all implemented, and my test case1 at parent level starts getting executed with the 1st smart folder recordings, and successively the other smart folders within the same test case1 at parent level.
However, i have no clue why my setup is not being implemented.
I tried introducing a separate test case0 in my test suite and included setup within that test case before testcase1. Yet my setup is being skipped and the execution starts directly from testcase1.
Can somebody please guide me with this?
Also,
I tried right clicking the TestCase1 at parent level, and chose run selected test case, but it shows me the below error as mentioned in png. However, the same hierarchy executes perfectly when i implement run test suite ( without setup being implemented again).
If i convert all the smart folders within the testcase1 to testcases, the Testcase1 at parent level gets converted to a smart folder( due to the rule that test case1 parent cannot have child test cases- test case within test case)
Even here, when i right click the testcase1 parent smart folder and choose run selected smart folder, i get the same png error.
However even this gets executed fine if i run the test suite( without setup being implemented).
Can someone please guide me the hierarchy of test case, smart folders and setup within the test suite, and how this png error can be eliminated?
Thanks!
I am trying to execute a test Suite within a solution with the following heirarchy
Test Suite
|
Setup
( Recording Modules within Setup)
|
Test Case 1 at parent level
|
Multiple Smart Folders at child level ( and recording modules within each smart folder)
Please let me know if this is the correct hierarchy.
Now when i start running the test suite, my setup is not at all implemented, and my test case1 at parent level starts getting executed with the 1st smart folder recordings, and successively the other smart folders within the same test case1 at parent level.
However, i have no clue why my setup is not being implemented.
I tried introducing a separate test case0 in my test suite and included setup within that test case before testcase1. Yet my setup is being skipped and the execution starts directly from testcase1.
Can somebody please guide me with this?
Also,
I tried right clicking the TestCase1 at parent level, and chose run selected test case, but it shows me the below error as mentioned in png. However, the same hierarchy executes perfectly when i implement run test suite ( without setup being implemented again).
If i convert all the smart folders within the testcase1 to testcases, the Testcase1 at parent level gets converted to a smart folder( due to the rule that test case1 parent cannot have child test cases- test case within test case)
Even here, when i right click the testcase1 parent smart folder and choose run selected smart folder, i get the same png error.
However even this gets executed fine if i run the test suite( without setup being implemented).
Can someone please guide me the hierarchy of test case, smart folders and setup within the test suite, and how this png error can be eliminated?
Thanks!