While executing coded unit test system will take global company DAT, instead to run with particular company use below shown attribute.
[SysTestCaseDataSetDependencyAttribute("DemoData","USMF")]
class TestforSalesOrderFieldValidation extends SysTestCase
{
your logic
}
[SysTestCaseDataSetDependencyAttribute("DemoData","USMF")]
class TestforSalesOrderFieldValidation extends SysTestCase
{
your logic
}

Like
Report
*This post is locked for comments