TestProject Forum

How can I locate moving Element

How can I locate moving Element,

Hello @sampathsam8977
I hope I understood your question and you deal with a dynamic element.

How to create a dynamic element in TestProject:

Click on the “+” icon to create a new step and then, click on “Select element”:

Click again on the “+” icon to create a new parameter:

To create a new element, fill the below details:

  • Name
  • Description (optional)
  • Select the element’s type (input, div, span, etc.)
  • Locator strategy (ID, Name, XPath, etc.)
  • Provide the locator’s value

Between the single quotes in the below screenshot, we are going to add a parameter instead of a static text. To do so, we need to click on the “+” icon in the below screenshot:

Then, click on the “Create” button to complete the element creation:

To complete the element creation, simply click on the “Add element” button.

Please let me know if this has helped you