Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
public class wwReportExampleTest extends SysTestCase
public void TestReport()
wwSysUserRoleInfoReportPage report =
//Pass arguments here if the report has a contract
//and vary according to the test
//SysUserLicenseCountRDPContract contract = new
//Let's make sure the report lists out all 33
//(or however many) expected users
this.assertEquals(33, report.roleCount());
//Let's make sure the HR assistant appears on the
//report as expected
report.isRoleIncluded('Human resource assistant'));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment