Forum Discussion

pankajjain2050's avatar
pankajjain2050
Contributor
5 years ago
Solved

how to fetch value from msk object

Our application has few  fields which gets saved (default name given by test complete) with msk prefix (i assume it means masked). We are able to read value with naked eyes and it adds hyphen as we type (eg: phone number 647-xxx-xxxx). wText is what I used for txt prefix fields to read value but it does not work for msk prefix objects. Any suggestions.

 

 

  • Marsha_R's avatar
    Marsha_R
    5 years ago

    They are not "TestComplete properties".  They are properties of your application's object and they exist whether or not you are using TestComplete.  TestComplete is simply allowing you to view what is there.  If there is no text option there, TestComplete cannot add one for you.

     

    You need to talk to your developers about what is needed for the test and work with them to expose the properties that you need.  Then you can use them in TestComplete.

  • Got it. Thanks much for your time and contribution.

12 Replies

    • pankajjain2050's avatar
      pankajjain2050
      Contributor

      Attaching how the object looks like in our application (Its a Desktop VB application) and the name mapping from test complete.

      • Marsha_R's avatar
        Marsha_R
        Champion Level 3

        Try using Object Spy on that field and let's see the extended properties