| 8 | import page.services.ServiceDashboardPage; |
| 9 | |
| 10 | public class TC04_EditLead extends SalesforceHooks{ |
| 11 | |
| 12 | @BeforeTest |
| 13 | public void setReportValues() { |
| 14 | testcaseName = "TC04 - Edit Lead"; |
| 15 | testDescription = "Edit an existing Lead"; |
| 16 | authors = "TestLeaf"; |
| 17 | category = "Service"; |
| 18 | } |
| 19 | |
| 20 | @Test |
| 21 | public void editAccount() { |
| 22 | |
| 23 | String firstName = createLeadUsingApi(); |
| 24 | |
| 25 | new HomePage() |
| 26 | .clickAppLauncher() |
| 27 | .clickViewAll() |
| 28 | .typeSearchApps("Marketing") |
| 29 | .clickApp("Marketing"); |
| 30 | |
| 31 | ServiceDashboardPage sdp = new ServiceDashboardPage(); |
| 32 | |
| 33 | sdp.clickTab("Leads") |
| 34 | .typeSearch(firstName) |
| 35 | .clickAction() |
| 36 | .clickEdit() |
| 37 | .typePhone() |
| 38 | .clickSave(); |
| 39 | |
| 40 | } |
| 41 | |
| 42 | } |
nothing calls this directly
no outgoing calls
no test coverage detected