Ϊʲôһֱ±¨´íÄØ£¬Ëµdatatable column²»´æÔÚ
DataTable.Value("BLUE_name",Action1)¡°BLUE_name ¡°ÔÚdata table ÀïÃæÒѾ´æÔÚÓÚsheet Action1
¿ÉÊÇÒ»Ö±±¨´í˵²»´æÔÚÕâ¸öcolumn
ΪʲôÄØ£¬ÎÒ´íÔÚÄÄÀ
лл
//²Å¿ªÊ¼Ñ§Ï°QTP,ÿ´Î×Ô¼º³¢ÊÔдµÄ¼òµ¥µÄVBS ¶¼±¨´í£¬
//ѧϰÈÈÇ鶼¼õÍËÁË¡£¡£¡£¡£¡£¡£¡£¡£ ÒòΪAction1û¼ÓÒýºÅ ·¢ÏÖ×Ô¼ºÔÚ¿´helpÎĵµµÄʱºò£¬°ÑÎÕϸ½ÚÌ«²»ºÃÁË
ÓÚÊÇ×ßÁ˺ܶàÍä·¡£¡£¡£¡£¡£¡£¡£¡£sdlkfj5
ËùÒÔ¾ö¶¨¸ü¼ÓÈÏÕæµØÏò°æÉÏ´ïÈËÌÖ½Ì ¿ÉÊÇÎÒaction¼ÓÒýºÅÁË£¬»¹ÊDZ¨column²»´æÔÚ£¬ÎªÊ²Ã´ÄØ£¿ ±¾Ìû×îºóÓÉ dina1011 ÓÚ 2011-6-28 13:28 ±à¼
ÎҵĽű¾£º
Function setLogin(username,pwd)
Browser("WSC Admin Console").Page("WSC Admin Console").WebEdit("alias").Setusername
Browser("WSC Admin Console").Page("WSC Admin Console_2").WebEdit("password").Setpwd
End Function
readusername=DataTable.Value ("username","Action1")
readpwd=DataTable.Value ("pwd","Action1")
Call setLogin(readusername,readpwd)
data table£º Ϊʲôһֱ±¨ data column²»´æÔÚÄØ£¬columnÊÇ´æÔڵİ¡¡£
ÎÒÊDzËÄñ£¬¿ÒÇë¸÷λ°ïæ¡£ ÇóÌùͼ
Ò³:
[1]