Interview Questions

How do I declare the tag, so that SilkTest recognizes only the beginnig of the text?

SilkTest Questions and Anwsers


(Continued from previous question...)

129. How do I declare the tag, so that SilkTest recognizes only the beginnig of the text?

1. Try to declare the tag with prior text.
2. Try to declare the tag with location ... meaning #3 (This mean that this is the 3rd dynamic text in the page).
3. You can try to GetText ()

Note: As you know you can declare a tag in 5 different ways:
example:
Prior text : ^Foo
Location (relative to the page): #3
The exact text: (And you don't need to do this if the text is changing all the time)
Location (co-ordinates): and again this is not a good one to use.

(Continued on next question...)

Other Interview Questions