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

Class TC02_EditAccount

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected