Rajesh2
8 years agoContributor
Can anyone please help me with using Tuples in TestComplete with Python
Hi,
I need to fetch the testcases based on the ExecutionFlag(Y/N) from Excel
I need to store the testcases which have ExecutionFlag="Y" and store it in Array.
Now i need to create a loop and the execute those testcases which have ExecutionFlag="Y" sequentially.
Can anyone explain how to go about this?
Example:
From the Excel attached
I have TC01, TC03, TC04 which has execution flag=Y and TC02, TC05, TC06 execution Flag=N
So Testcases with ExecutionFlag=Y should be stored in an array,
Now create a loop and execute the testcases one by one sequentially.
NOTE: Excel attached
This should work:
A = get_test_suite(test_case_container) Log.Message(str(A[0]))
as well as this:
A = [get_test_suite(test_case_container)] Log.Message(str(A[0][0]))