When recording a test, i highlight Element, and i want to verify if there is any numbers in the text block. How can i do this? I only found, i can look for the exact number.
You would more than likely have to use an extract step on the element, and then use a coded step with C#/VB to be able to check if it is a valid number. Something *similar* to below should work, you'd definitely need to change parts of it to meet your requirements.
And this will ONLY check if the "value" in that textblock is a number. This implementation WILL NOT pass if this field contains any letters or anything like that. (i.e. it'll only pass if the textblock contains a value like "0.0" or "0" or "1.354232" or "23435").
[CodedStep(@"Check if textblock element contains a number.")]