Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- CatalogPanel selectOption = onEditor().onTMV("Please Select Available Options");
- boolean exists = false;
- for(String row : SERVICE_OPTIONS)
- {
- for(int i=2; i<=selectOption.getRecordsCountTotal(); i++)
- {
- if(selectOption.findCell(i, "indent").getText().contains(row))
- {
- exists = true;
- if(row.equals("Platinum"))
- {
- assertTrue(selectOption.findCell(i, "selected").getAttribute("innerHTML").contains("/checked_Disabled.png"));
- }
- break;
- }
- }
- assertTrue(exists);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement