06-03-2010, 07:49 PM
I need to read version number from a text displayed either in popup or dialog window or flash player..etc
I used
my question is the text on that dialog box behaves differently in different machines. in some machines, it puts ","(comma) beside versions like 10,5,2,3 etc.. in some it is 10:5:2:3 , i want to check for both these. how can i do
if instr(1,vistext,"10,5","10:5")>0 - Can v write something like this.. becoz i want to check for both. 10,5 and also 10:5
i hpe you understood my question.
help me plz..
I used
Code:
vistext= windows("a").webobj("b").getvisibletext
( this is not exactly but i used getvisibletext)
if instr(1,vistext,"10,5") > 0
pass
then
fail
my question is the text on that dialog box behaves differently in different machines. in some machines, it puts ","(comma) beside versions like 10,5,2,3 etc.. in some it is 10:5:2:3 , i want to check for both these. how can i do
if instr(1,vistext,"10,5","10:5")>0 - Can v write something like this.. becoz i want to check for both. 10,5 and also 10:5
i hpe you understood my question.
help me plz..