File tree Expand file tree Collapse file tree 2 files changed +10
-3
lines changed
Expand file tree Collapse file tree 2 files changed +10
-3
lines changed Original file line number Diff line number Diff line change 2222 var _qevents = _qevents || [ ] ;
2323
2424 _qevents . push ( {
25+ group : "ER" ,
2526 cid : "saas_testing_ec" ,
2627 uid : "testbot" ,
2728 act : "VIEW" ,
4445 function ERsend ( ) {
4546 _qevents = [ ] ;
4647 _qevents . push ( {
48+ group : document . getElementById ( "agroup" ) . value ,
4749 cid : document . getElementById ( "acid" ) . value ,
4850 uid : document . getElementById ( "auid" ) . value ,
4951 act : document . getElementById ( "aact" ) . value ,
@@ -102,9 +104,11 @@ <h1>er.js testing EC site</h1>
102104 < div id = "setDefault ">
103105 < legend > default </ legend >
104106 < label > fill </ label >
107+ < input class = "default-action " type = "text " id = "dgroup " placeholder = "group " value = "ER "/> < br >
108+ < label > fill </ label >
105109 < input class = "default-action " type = "text " id = "dcid " placeholder = "cid " value = "saas_testing_ec "/> < br >
106110 < 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 >
108112 < label > fill </ label >
109113 < input class = "default-action " type = "text " id = "dact " placeholder = "act " value = "VIEW "/> < br >
110114 < label > fill </ label >
Original file line number Diff line number Diff line change 3030# send actions from testbot
3131for k in range (len (df )- 2 ):
3232 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" )
3535 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
3639 driver [df .ssid [k ]].find_element_by_id ('aact' ).send_keys (df .act [k ])
3740 driver [df .ssid [k ]].find_element_by_id ('acat' ).send_keys (df .cat [k ])
3841 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