Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@noakesey
Last active February 12, 2019 10:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save noakesey/960a11c214b323a161d50bc862ad28e1 to your computer and use it in GitHub Desktop.
Save noakesey/960a11c214b323a161d50bc862ad28e1 to your computer and use it in GitHub Desktop.
public class wwSysUserRoleInfoReportPage extends wwBaseReportPage
{
protected void new()
{
this.parmReportName(ssrsReportStr(SysUserRoleInfo, Report));
}
public static wwSysUserRoleInfoReportPage construct()
{
return new wwSysUserRoleInfoReportPage();
}
public void run()
{
super();
//Add any further required clean-up tasks here.. e.g.
//srsReportRunService.cleanUpRdpPreProcessTables(
// classStr(SalesInvoiceDP), executionInfo);
}
//Encapsulate the element names here so the test doesn't
//need to know about the implementation. This will improve
//maintenance if the design changes
public int roleCount()
{
return this.elementCount('RoleName_0');
}
public boolean isRoleIncluded(str role)
{
return this.elementExists('RoleName_0', 'userID1', role);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment