canb0 / MobileDeviceLab

6 stars 8 forks source link

setup fails in case of multiple test cases #3

Open vikramvi opened 7 years ago

vikramvi commented 7 years ago

Hi,

This setup doesn't work in below scenario

<classes>
            <class name="com.automation.testapp.tests.TestFactory" />
                        <class name="com.automation.testapp.tests.TestFactory_2" />
                        <class name="com.automation.testapp.tests.TestFactory_3" />
</classes>

Can you please let me know how did you handle this ? The problem I see here is correct driver is not used across classes.

EDIT

This also fails when I include multiple test cases under TestFactory

addToWatchList()
addToWatchList_2()
addToWatchList_3()

again because of incorrect threading issue, let me know how did you solve this ?

Thanks, Vikram