SilkTest Question:

Download Job Interview Questions and Answers PDF

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

SilkTest Interview Question
SilkTest Interview Question

Answer:

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.

Download SilkTest Interview Questions And Answers PDF

Previous QuestionNext Question
what if the object is dynamically changing. How does silktest identifies the object?Can we integrate Silk Test with Quality Centre?