Description to get the webelement with width is not equal to zero
I am trying to get the webelement with css class and width of the object by giving in line description to the object
criteria is width of the object should not be equal to zero.
could you please advice the in line description for that object
code looks like this
can you please provide the appropriate expression for width?
^ say here that select the element of "css=di v.class" with width always start from 0.
[^0] may help you
Regular expression in VBS
Microsoft Beefs Up VBScript with Regular Expressions
Last edited by Yogi_Shukla; 06-06-2013 at 02:49 AM.
You cannot use patterns with numeric properties
As per spec, Regular expression patterns and method such as execute only work with Strings.
WebElement test object supports width identification properties where
width = The object's width (in pixels).
if return of vartype(myAllObject(i).getROproperty("width")) is 3 i.e. vbLong
If you get the value 8 (i.e. string) than only regular expression pattern will work.
you can try decision control before performing click operation on Web Element
Last edited by Yogi_Shukla; 06-06-2013 at 06:27 AM.