02-18-2011, 02:53 PM
Following returns True with Full Innertext "Country Code: BE Currency Code: EUR"
The same returns false
Can anyone explain why?
Code:
Set Obj_WebElement=Description.Create()
Obj_WebElement("html tag").value = "TD"
Obj_WebElement("innertext").value = "Country Code: BE Currency Code: EUR"
Obj_WebElement("micclass").value = "WebElement"
If Browser(obj_Browser).Page(obj_Page).WebElement(Obj_WebElement).Exist (5) Then
Msgbox "Found Country & Currency Code"
But with part of innertext "Country Code:" followed by .*
Obj_WebElement("innertext").value = "Country Code:.*"
The same returns false
Can anyone explain why?