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

Class TC03_CreateLead

src/test/java/tests/ui/services/TC03_CreateLead.java:11–44  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9import page.services.ServiceDashboardPage;
10
11public class TC03_CreateLead extends SalesforceHooks{
12
13 @BeforeTest
14 public void setReportValues() {
15 testcaseName = "TC03 - Create Lead";
16 testDescription = "Create a new Lead";
17 authors = "TestLeaf";
18 category = "Service";
19 }
20
21 @Test
22 public void editAccount() {
23
24 // Go to Marketing Application
25 new HomePage()
26 .clickAppLauncher()
27 .clickViewAll()
28 .typeSearchApps("Marketing")
29 .clickApp("Marketing");
30
31 ServiceDashboardPage sdp = new ServiceDashboardPage();
32
33 // Create a new Leads
34 sdp.clickTab("Leads").clickMenu("New");
35
36 // Fill all mandatory fields
37 String toastMessage = new LeadPage().fillMandatoryFields();
38
39 // Verify that the lead is created
40 sdp.verifyToastMessage(toastMessage);
41
42 }
43
44}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected