SilkTest Question:
Download Job Interview Questions and Answers PDF
A problem with SilkTest seeing HTML Links as HTMLText?
Answer:
A problem with SilkTest seeing HTML Links as HTMLText. This always happens when the link is within a table (which is inside a table, which is inside another table).
In some areas I found if I put a space between the <TD> tag and the anchor tag, SilkTest will read the link as an HTMLLink. However, this trick doesn't always works. Infact, it only works in about 20% of the cases.
Has anyone else encountered this? Anyone know of a workaround?
Is there anything you want to do with these links that you cannot do now?
Even if they are recognized as Text, can't you do almost anything you can do on a link. Example Click () etc...
You can also choose to extend the HtmlText class to have the same methods as HtmlText.
In some areas I found if I put a space between the <TD> tag and the anchor tag, SilkTest will read the link as an HTMLLink. However, this trick doesn't always works. Infact, it only works in about 20% of the cases.
Has anyone else encountered this? Anyone know of a workaround?
Is there anything you want to do with these links that you cannot do now?
Even if they are recognized as Text, can't you do almost anything you can do on a link. Example Click () etc...
You can also choose to extend the HtmlText class to have the same methods as HtmlText.
Download SilkTest Interview Questions And Answers
PDF
Previous Question | Next Question |
What is a test frame? | How silktest recognize objects in UI? What it intenally calls to find out that the particular UI element is of which class etc? |