MCPcopy Create free account
hub / github.com/TestLeafInc/Simba / TC04_EditLead

Class TC04_EditLead

src/test/java/tests/ui/services/TC04_EditLead.java:10–42  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8import page.services.ServiceDashboardPage;
9
10public 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}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected