Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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
You can’t perform that action at this time.