|
datatable.GetSheet("Global").setcurrentrow(m)
Browser("Browser").Page("Untitled Page_2").WebElement("WebTable").Output CheckPoint("WebTable_2")
rightnumber=(datatable.RawValue("right","Global"))
print "right="&rightnumber '这里显示的是5
Browser("Browser").Page("Untitled Page_2").WebElement("WebTable_2").Output CheckPoint("WebTable_3")
wrongnumber=(datatable.RawValue("wrong","Global"))
print "wrong="&wrongnumber '这里显示的是0
print rightnumber+wrongnumber '为什么显示出来是50?????
If 5=rightnumber+wrongnumber Then '导致rightnumber+wrongnumber=50??? ,请问错在什么地方??
msgbox "right"
else
msgbox "wrong"
End I |
|