1 package edu.sampleu.admin;
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19 import org.junit.Test;
20 import org.kuali.rice.testtools.selenium.AutomatedFunctionalTestUtils;
21 import org.openqa.selenium.By;
22
23
24
25
26
27
28 public class ConfigComponentActionListLoadTestData extends ConfigComponentActionListAftBase {
29
30 @Override
31 public String getBookmarkUrl() {
32 return BOOKMARK_URL;
33 }
34
35 @Test
36 public void testCreate1000ApprovalComponentBookmark() throws InterruptedException {
37
38 String[] users = {"eric"};
39 for (String user: users) {
40 for (int i = 0; i < 1000; i++) {
41 System.out.println(user + " " + i);
42 testCreateActionRequestPerson(new String[][]{{user, "A"}});
43 uniqueString = AutomatedFunctionalTestUtils.createUniqueDtsPlusTwoRandomCharsNot9Digits();
44 open(getBaseUrlString() + getTestUrl());
45 waitForElementPresent(By.xpath("//iframe"));
46 }
47 }
48 }
49 }