| 9 | import page.services.ServiceDashboardPage; |
| 10 | |
| 11 | public class TC02_EditAccount extends SalesforceHooks{ |
| 12 | |
| 13 | @BeforeTest |
| 14 | public void setReportValues() { |
| 15 | testcaseName = "TC02 - Edit Account"; |
| 16 | testDescription = "Edit existing Account with rating change"; |
| 17 | authors = "TestLeaf"; |
| 18 | category = "Service"; |
| 19 | } |
| 20 | |
| 21 | @Test |
| 22 | public void editAccount() { |
| 23 | |
| 24 | String accountName = createAccountUsingApi(); |
| 25 | |
| 26 | new HomePage() |
| 27 | .clickAppLauncher() |
| 28 | .clickViewAll() |
| 29 | .typeSearchApps("Service") |
| 30 | .clickApp("Service"); |
| 31 | |
| 32 | new ServiceDashboardPage() |
| 33 | .clickTab("Accounts") |
| 34 | .typeSearch(accountName) |
| 35 | .clickAction() |
| 36 | .clickEdit(); |
| 37 | |
| 38 | new AccountPage() |
| 39 | .chooseRating() |
| 40 | .clickSave(); |
| 41 | |
| 42 | } |
| 43 | |
| 44 | } |
nothing calls this directly
no outgoing calls
no test coverage detected