Forum Discussion
sudhir_optima
14 years agoContributor
Hi Margaret,
I am Recording different Test in Keyword and then converting it to Script Test.
We have different Test cases like Configure Dataset, Filter, Create Group,Create Calculated column. I have created this in a single Project suite like
Sub (Configure Dataset)
.
.
.Some code
.
.
End Sub
Sub ( Filter)
.
.
.
End Sub
In my application, Sub(Configure Dataset) is basic Test. i.e. to execute Sub(Filter), Sub(Create Group) I want to call Sub(Configure Dataset)
i.e. To execute Filter, Crteate Group test i want my application at the state which is displayed after executing Sub(Configure Dataset).
This is not every time.I want to call Sub(Configure Dataset) for some scenarion only. Like if Filter Test failed due to any reason in between. In this case I can not continue next Test beacuse next test cases are executiable only when it has the base state ( I.e. the form displayed after executing Sub(Configure Dataset) ).
And this we want to do for specific scenarion like Failed Test cases or some other scenario. Otherwise it will execute the test in sequence.
Basically Sub(Configure Dataset) generaly invoke my desktop application, click on some button. Once the basic form is displayed ( This is my basic state) , I can execute different Test cases from this state.Also I need to close the present application instance, because Sub(Configure Dataset) invoke new instance.
Will you all help me out how should i handle this ?
I am Recording different Test in Keyword and then converting it to Script Test.
We have different Test cases like Configure Dataset, Filter, Create Group,Create Calculated column. I have created this in a single Project suite like
Sub (Configure Dataset)
.
.
.Some code
.
.
End Sub
Sub ( Filter)
.
.
.
End Sub
In my application, Sub(Configure Dataset) is basic Test. i.e. to execute Sub(Filter), Sub(Create Group) I want to call Sub(Configure Dataset)
i.e. To execute Filter, Crteate Group test i want my application at the state which is displayed after executing Sub(Configure Dataset).
This is not every time.I want to call Sub(Configure Dataset) for some scenarion only. Like if Filter Test failed due to any reason in between. In this case I can not continue next Test beacuse next test cases are executiable only when it has the base state ( I.e. the form displayed after executing Sub(Configure Dataset) ).
And this we want to do for specific scenarion like Failed Test cases or some other scenario. Otherwise it will execute the test in sequence.
Basically Sub(Configure Dataset) generaly invoke my desktop application, click on some button. Once the basic form is displayed ( This is my basic state) , I can execute different Test cases from this state.Also I need to close the present application instance, because Sub(Configure Dataset) invoke new instance.
Will you all help me out how should i handle this ?