Forum Discussion

BD_Geoactive's avatar
BD_Geoactive
Contributor
2 months ago
Solved

Data-Driven loop cannot see one of my On-Screen Action

Hi (again),

I am starting to experimenting with the Data-Driven Loop operation for one of my keyword test.

Scenario: I want to create a new well by inputting a well name, top and base depths and click OK. I then want to repeat this process using different well names.

I have followed numerous example but get stuck in one area...

When i am in the Data-Driven Loop's "update values" section I cannot see the bit where the well name is set. But interestingly, I can see the other text boxes with SetText and i can set the variable name for it.

The question: why is this particular text box/on-screen action (Well_Name SetText) cannot be seen in the Data Driven Loop form?

I've attached an image.

regards,

B

 

  • Darn, never mind me. I have found out the culprit for this. 

    In the 'Value' for Well_Name with SetText operation, I have didn't have open/close quotation. The data drive loop's update value section doesn't like this somehow. Its not in the documentation either.

    So when I've entered Test without open/close quoatation instead of "Test" for the value for Well_Name and conduct the Data Driven Loop again, this time, it will recognise it.

     

5 Replies

  • Darn, never mind me. I have found out the culprit for this. 

    In the 'Value' for Well_Name with SetText operation, I have didn't have open/close quotation. The data drive loop's update value section doesn't like this somehow. Its not in the documentation either.

    So when I've entered Test without open/close quoatation instead of "Test" for the value for Well_Name and conduct the Data Driven Loop again, this time, it will recognise it.

     

  • rraghvani's avatar
    rraghvani
    Icon for Champion Level 3 rankChampion Level 3

    I don't know what your application looks like, and I don't know what fields you are trying to update. However, you need to ensure you have appropriate name mappings defined for each of your UI controls that you are interacting with. 

    As an example of DDT and Name Mapping -

    DDT ExampleName Mappings

     

    • BD_Geoactive's avatar
      BD_Geoactive
      Contributor

      see my reply below/above. thanks for the pointer. It was a small mistake i made

  • scot1967's avatar
    scot1967
    Icon for Champion Level 3 rankChampion Level 3

    Cool,  Could this have been a simple issue of the system expecting a string and getting an integer?  (Quotes vs No Quotes?)  

    Glad you got it and let us all know what you found.  👍

    • BD_Geoactive's avatar
      BD_Geoactive
      Contributor

      yes that's correct, as I encountered an error with a message of 'type mismatch' or similar. It was a very quick try-out and I didnt put 100% care into it :D