Forum Discussion

pmakkena's avatar
pmakkena
Occasional Contributor
11 years ago

Please provide with a sample script which uses descriptive programming.

Please provide with a sample script which uses descriptive programming to show how to use in Testcomplete.

  • Ryan_Moran's avatar
    Ryan_Moran
    Valued Contributor

    You can use the recorder within TestComplete to see how a script using descriptive programming would look.

    • pmakkena's avatar
      pmakkena
      Occasional Contributor

      the recorder will reference the objects repoistry.

      • Ryan_Moran's avatar
        Ryan_Moran
        Valued Contributor

        I believe (and please anyone correct me if I'm wrong) that in order to achieve such a thing you would need to use the .Find and .FindAll methods to return objects from the object repository based on a set of values. I'm not sure of any other way to achieve this, but would be interested to know if there is another method.