Window element identification that can be renamed each time the widow is opened.

Silk Test

Master the automation of complex technologies for your most critical applications.

Window element identification that can be renamed each time the widow is opened.

This question is not answered

Hello,

This issue is happening when I try to login a portal. Each time we log in, fields user and password have different names and SilkTest is not able to find the specific field. On PlayBack the visual test, debug window always is displayed when this steps are executed.

A possible solution can be to specify the position of fields in window but we don´t know how it´s done. Is there another solution to resolve this issue?

Thak's!

All Replies
  • hi,

    there may be multiple ways to solve your problem:

    1.) are there other properties than the name that you can use for identification of the object? interesting would be which technology you are using: if it's a java or .net technology it will be very easy to identify the object using a different property.

    2.) if that is not possible you could issue a click relative to the parent object so that the child field get's the focus (or use the tab key to cycle through the child controls) and then type into the parent object without "ensureFocus" set to true, which will then type the needed text

    kind regards,

    ulrich