Script example: (8. x syntax) |
{ DP. Sh. toolbar. Command ('copytoclipboard', this); Return false; } "Href =" http://www.vrbrothers.com/cn/qmacro/qmdn/plugin/Web.HtmlCheck.htm# "> copy code
- Call plugin. Web. BIND ("wqm.exe ")
- Call plugin. Web. Go ("http://www.vrbrothers.com/cn/wqm/demo/pages/Demo-ComplexForm.aspx ")
- // Delay 3000.
- Call plugin. Web. htmlinput ("Key push wizard", "ID: ctl00_maincontent_tbusername ")
- Call plugin. Web. htmlinput ("password", "ID: ctl00_maincontent_tbpassword ")
- Call plugin. Web. htmlinput ("hi@vrbrothers.com", "ID: ctl00_maincontent_tbemail ")
- Call plugin. Web. htmlcheck (true, "ID: ctl00_maincontent_rblgender_0 ")
- Call plugin. Web. htmlselect ("Hubei", "ID: ctl00_maincontent_ddlprovince ")
- // Delay 500.
- Call plugin. Web. htmlselect ("Yichang", "ID: ctl00_maincontent_ddlcity ")
- // Delay 500.
- Call plugin. Web. htmlselect ("4010200% 4083000", "ID: ctl00_maincontent_lbobjectives ")
- Call plugin. Web. htmlcheck (true, "ID: ctl00_maincontent_cblhobies_0 ")
- Call plugin. Web. htmlcheck (true, "ID: ctl00_maincontent_cblhobies_1 ")
- // Delay 2000.
- Call plugin. Web. htmlcheck (true, "ID: ctl00_maincontent_cblhobies_2 ")
- Call plugin. Web. htmlinput ("test! "," ID: ctl00_maincontent_tbselfassement ")
- Call plugin. Web. htmlcheck (true, "ID: ctl00_maincontent_cbacceptterms ")
- Delay1000
- Call plugin. Web. htmlclick ("tag: Input & Value: Submit ")
- Sub onscriptexit ()
- Plugin web. Tips ("script running completed ")
- End sub
Call plugin. web. BIND ("wqm.exe") Call plugin. web. go ("http://www.vrbrothers.com/cn/wqm/demo/pages/Demo-ComplexForm.aspx") // delay 3000 call plugin. web. htmlinput ("Button wizard", "ID: ctl00_maincontent_tbusername") Call plugin. web. htmlinput ("password", "ID: ctl00_maincontent_tbpassword") Call plugin. web. htmlinput ("hi@vrbrothers.com", "ID: ctl00_maincontent_tbemail") Call plugin. web. htmlcheck (true, "ID: ctl00_maincontent_rbl Gender_0 ") Call plugin. web. htmlselect ("Hubei", "ID: ctl00_maincontent_ddlprovince") // delay 500 call plugin. web. htmlselect ("Yichang", "ID: ctl00_maincontent_ddlcity") // delay 500 call plugin. web. htmlselect ("4010200% 4083000", "ID: ctl00_maincontent_lbobjectives") Call plugin. web. htmlcheck (true, "ID: ctl00_maincontent_cblhobies_0") Call plugin. web. htmlcheck (true, "ID: ctl00_maincontent_cblhobies_1") // delay 2000 call plugin. Web. htmlcheck (true, "ID: ctl00_maincontent_cblhobies_2") Call plugin. Web. htmlinput ("test! "," ID: ctl00_maincontent_tbselfassement ") Call plugin. web. htmlcheck (true, "ID: ctl00_maincontent_cbacceptterms") Delay 1000 call plugin. web. htmlclick ("tag: Input & Value: Submit") sub onscriptexit () plugin web. tips ("script completed") end sub |
Script example: (7.x syntax) |
{ DP. Sh. toolbar. Command ('copytoclipboard', this); Return false; } "Href =" http://www.vrbrothers.com/cn/qmacro/qmdn/plugin/Web.HtmlCheck.htm# "> copy code
- Plugin web. BIND ("wqm.exe ")
- Plugin web. Go ("http://www.vrbrothers.com/cn/wqm/demo/pages/Demo-ComplexForm.aspx ")
- // Delay 3000.
- Plugin web. htmlinput ("Button wizard", "ID: ctl00_maincontent_tbusername ")
- Plugin web. htmlinput ("password", "ID: ctl00_maincontent_tbpassword ")
- Plugin web. htmlinput ("hi@vrbrothers.com", "ID: ctl00_maincontent_tbemail ")
- Plugin web. htmlcheck (true, "ID: ctl00_maincontent_rblgender_0 ")
- Plugin web. htmlselect ("Hubei", "ID: ctl00_maincontent_ddlprovince ")
- // Delay 500.
- Plugin web. htmlselect ("Yichang", "ID: ctl00_maincontent_ddlcity ")
- // Delay 500.
- Plugin web. htmlselect ("4010200% 4083000", "ID: ctl00_maincontent_lbobjectives ")
- Plugin web. htmlcheck (true, "ID: ctl00_maincontent_cblhobies_0 ")
- Plugin web. htmlcheck (true, "ID: ctl00_maincontent_cblhobies_1 ")
- // Delay 2000.
- Plugin web. htmlcheck (true, "ID: ctl00_maincontent_cblhobies_2 ")
- Plugin web. htmlinput ("test! "," ID: ctl00_maincontent_tbselfassement ")
- Plugin web. htmlcheck (true, "ID: ctl00_maincontent_cbacceptterms ")
- Delay1000
- Plugin web. htmlclick ("tag: Input & Value: Submit ")
- Sub onscriptexit
- Plugin web. Tips ("script running completed ")
- Return
Plugin web. BIND ("wqm.exe") plugin web. go ("http://www.vrbrothers.com/cn/wqm/demo/pages/Demo-ComplexForm.aspx") // delay 3000 plugin web. htmlinput ("Button wizard", "ID: ctl00_maincontent_tbusername") plugin web. htmlinput ("password", "ID: ctl00_maincontent_tbpassword") plugin web. htmlinput ("hi@vrbrothers.com", "ID: ctl00_maincontent_tbemail") plugin web. htmlcheck (true, "ID: ctl00_maincontent_rblgender_0") plugin web. htmlselec T ("Hubei", "ID: ctl00_maincontent_ddlprovince") // delay 500 plugin web. htmlselect ("Yichang", "ID: ctl00_maincontent_ddlcity") // delay 500 plugin web. htmlselect ("4010200% 4083000", "ID: ctl00_maincontent_lbobjectives") plugin web. htmlcheck (true, "ID: ctl00_maincontent_cblhobies_0") plugin web. htmlcheck (true, "ID: ctl00_maincontent_cblhobies_1") // delay 2000 plugin web. htmlcheck (true, "ID: ctl00_maincontent_cblhobies_2") Plug In web. htmlinput ("test! "," ID: ctl00_maincontent_tbselfassement ") plugin web. htmlcheck (true, "ID: ctl00_maincontent_cbacceptterms") Delay 1000 plugin web. htmlclick ("tag: Input & Value: Submit") sub onscriptexit plugin web. tips ("script completed") Return |