question

AggrDVT avatar image
AggrDVT asked AggrDVT commented

What is the precedence of a test suite topology?

Does the topology of a test suite have precedence over the topologies the individual test cases have in that suite? For example If the topology of Test_Case_1 thru Test_Case_10 reference shelf one and its IP address – if I run a test suite containing these ten test cases and I want to run the suite on shelf two using a different IP address – can I just point the test suite topology to shelf two and not manually edit each test case in the suite to point to shelf two?
iTesttopologytest suite
1 comment
10 |950

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

AggrDVT avatar image AggrDVT commented ·
For example a test case is pointing to topology DVT_REG_Test_combo_231.fftb but the test suite calling that test case is pointing to topology DVT_REG_Test_combo_230.fftb. When the test suite is exectued which topology is used? ![alt text][1] [1]: /storage/temp/3487-test_suite.png
0 Likes 0 ·
test_case.png (44.0 KiB)
test_suite.png (59.0 KiB)
sandeepreddynv avatar image
sandeepreddynv answered
Hi, If I understand the question correctly, it will be depends on the topology used by the test case. You can find this information on test case General tab. It doesn't depends on the test suite. Test suite will only used for executing the bunch of test cases. So, while execution the test case will use the devices that were specified in the Topology which is associated to that test case. Please find the screen shot for the reference. ![alt text][1] [1]: /storage/temp/3481-general.jpg

general.jpg (81.8 KiB)
10 |950

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

sandeepreddynv avatar image
sandeepreddynv answered
Hi, When you are executing the test suite using job file and if you are specifying a topology in the job file then iTest will select the Topology which was specified in the job file not the test case topology. But, you need to make sure that on both topologies the device names and the sessions names should be same then only you can able to access the topology specified in job. Otherwise it will throw the error as Severity Message Index Step Procedure Session Source File "Session profile for device '' was not found in the testbed". For Example: In test case I use Topo1.tbml and for Job I use Topo2.tbml While execution of Test suite iTest will take Topo2.tbml. But, if the device names, session names and Parameters are same on both topologies then the test case will execute other wise it will throw the above mentioned errors. Hope it helps !! Regards, Sandeep NV
10 |950

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

AggrDVT avatar image
AggrDVT answered AggrDVT commented
Thanks that will work fine for me.
2 comments
10 |950

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Spirent_Admin avatar image Spirent_Admin ♦ commented ·
Hi, Which answer worked for you?
0 Likes 0 ·
AggrDVT avatar image AggrDVT Spirent_Admin ♦ commented ·
The last one from Sandeep
0 Likes 0 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.