File tree 2 files changed +10
-3
lines changed
2 files changed +10
-3
lines changed Original file line number Diff line number Diff line change 22
22
var _qevents = _qevents || [ ] ;
23
23
24
24
_qevents . push ( {
25
+ group : "ER" ,
25
26
cid : "saas_testing_ec" ,
26
27
uid : "testbot" ,
27
28
act : "VIEW" ,
44
45
function ERsend ( ) {
45
46
_qevents = [ ] ;
46
47
_qevents . push ( {
48
+ group : document . getElementById ( "agroup" ) . value ,
47
49
cid : document . getElementById ( "acid" ) . value ,
48
50
uid : document . getElementById ( "auid" ) . value ,
49
51
act : document . getElementById ( "aact" ) . value ,
@@ -102,9 +104,11 @@ <h1>er.js testing EC site</h1>
102
104
< div id = "setDefault ">
103
105
< legend > default </ legend >
104
106
< label > fill </ label >
107
+ < input class = "default-action " type = "text " id = "dgroup " placeholder = "group " value = "ER "/> < br >
108
+ < label > fill </ label >
105
109
< input class = "default-action " type = "text " id = "dcid " placeholder = "cid " value = "saas_testing_ec "/> < br >
106
110
< label > fill </ label >
107
- < input class = "default-action " type = "text " id = "duid " placeholder = "uid " value = "testbot "/> < br >
111
+ < input class = "default-action " type = "text " id = "duid " placeholder = "uid " value = ""/> < br >
108
112
< label > fill </ label >
109
113
< input class = "default-action " type = "text " id = "dact " placeholder = "act " value = "VIEW "/> < br >
110
114
< label > fill </ label >
Original file line number Diff line number Diff line change 30
30
# send actions from testbot
31
31
for k in range (len (df )- 2 ):
32
32
driver [df .ssid [k ]].get (url )
33
- #driver[df.ssid[k]].find_element_by_id('agroup').send_keys('ER' )
34
- #driver[df.ssid[k]].find_element_by_id('acid').send_keys(' ER_web-testing' )
33
+ #driver[df.ssid[k]].find_element_by_id('agroup').send_keys("ER" )
34
+ #driver[df.ssid[k]].find_element_by_id('acid').send_keys(" ER_web-testing" )
35
35
driver [df .ssid [k ]].find_element_by_id ('auid' ).send_keys (df .uid [k ])
36
+ if df .lo [k ] == '0' :
37
+ driver [df .ssid [k ]].find_element_by_id ('auid' ).send_keys ("" )
38
+ pass
36
39
driver [df .ssid [k ]].find_element_by_id ('aact' ).send_keys (df .act [k ])
37
40
driver [df .ssid [k ]].find_element_by_id ('acat' ).send_keys (df .cat [k ])
38
41
driver [df .ssid [k ]].find_element_by_id ('apid' ).send_keys (df .pid [k ])
You can’t perform that action at this time.
0 commit comments