質問編集履歴
3
実行部を若干詳細にした
test
CHANGED
File without changes
|
test
CHANGED
@@ -10,7 +10,7 @@
|
|
10
10
|
|
11
11
|
<td><input name="@PMCC-1@" type="text" value="" size="4" maxlength="3" id="putbox1" tabindex="1"></td>
|
12
12
|
|
13
|
-
<td class="tdRule"><div class="ruleUnit"><span class="rule">
|
13
|
+
<td class="tdRule"><div class="ruleUnit"><span class="rule">number_digits_3</span></div></td>
|
14
14
|
|
15
15
|
</tr>
|
16
16
|
|
@@ -22,7 +22,7 @@
|
|
22
22
|
|
23
23
|
<td><input name="@PMCC-2@" type="text" value="" size="7" maxlength="6" id="putbox2" tabindex="2"></td>
|
24
24
|
|
25
|
-
<td class="tdRule"><div class="ruleUnit"><span class="rule">
|
25
|
+
<td class="tdRule"><div class="ruleUnit"><span class="rule">number_digits_6</span></div></td>
|
26
26
|
|
27
27
|
</tr>
|
28
28
|
|
@@ -34,7 +34,7 @@
|
|
34
34
|
|
35
35
|
<td><input name="@PMCC-3@" type="password" size="12" maxlength="10" id="putbox3" tabindex="3"></td>
|
36
36
|
|
37
|
-
<td class="tdRule"><div class="ruleUnit"><span class="rule">
|
37
|
+
<td class="tdRule"><div class="ruleUnit"><span class="rule">number_digits_4_10</span></div></td>
|
38
38
|
|
39
39
|
</tr>
|
40
40
|
|
@@ -43,6 +43,14 @@
|
|
43
43
|
|
44
44
|
|
45
45
|
これに対して、
|
46
|
+
|
47
|
+
|
48
|
+
|
49
|
+
driver = webdriver.Chrome(r"\chromedriver.exe")
|
50
|
+
|
51
|
+
driver.get('https://URL/')
|
52
|
+
|
53
|
+
|
46
54
|
|
47
55
|
Anumber = driver.find_element_by_name('@PMCC-1@')
|
48
56
|
|
@@ -58,7 +66,7 @@
|
|
58
66
|
|
59
67
|
|
60
68
|
|
61
|
-
Bottun_elm = driver.find_element_by_xpath(
|
69
|
+
Bottun_elm = driver.find_element_by_xpath(Login_Bottun_xpath)
|
62
70
|
|
63
71
|
Bottun_elm.click()
|
64
72
|
|
2
間違い修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -50,7 +50,7 @@
|
|
50
50
|
|
51
51
|
Bnumber = driver.find_element_by_name('@PMCC-2@')
|
52
52
|
|
53
|
-
Bnumber.send_keys("22222")
|
53
|
+
Bnumber.send_keys("222222")
|
54
54
|
|
55
55
|
Cnumber = driver.find_element_by_name('@PMCC-3@')
|
56
56
|
|
1
間違い修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -46,7 +46,7 @@
|
|
46
46
|
|
47
47
|
Anumber = driver.find_element_by_name('@PMCC-1@')
|
48
48
|
|
49
|
-
Anumber.send_keys("111
|
49
|
+
Anumber.send_keys("111")
|
50
50
|
|
51
51
|
Bnumber = driver.find_element_by_name('@PMCC-2@')
|
52
52
|
|
@@ -54,7 +54,7 @@
|
|
54
54
|
|
55
55
|
Cnumber = driver.find_element_by_name('@PMCC-3@')
|
56
56
|
|
57
|
-
Cnumber.send_keys("33333")
|
57
|
+
Cnumber.send_keys("3333333")
|
58
58
|
|
59
59
|
|
60
60
|
|