Forum Discussion

VinothGopal's avatar
VinothGopal
New Contributor
7 years ago

how to read property file in Test complete using javaScript

HI All,

how to read property file in Test complete using java Script

 

Thanks

VG

  • shankar_r's avatar
    shankar_r
    7 years ago

    Hi,

     

    You can use the script extension which i created way back.

     

    you can find that here

  • What property file?  What are you trying to read out of it and what are you using it for?

     

    The more details you give us, the easier it is for us to help you.  Guessing at what you need is frustrating for everyone!

  • tristaanogre's avatar
    tristaanogre
    Esteemed Contributor

    Just to add to Marsha_R... the term "property file" doesn't match a TestComplete technology. However, I believe other testing tools (UFT, Selenium, etc) may have such a term.  Is this what you're referencing, reading in some external file built in another tool into TestComplete?

    • VinothGopal's avatar
      VinothGopal
      New Contributor

      tristaanogreMarsha_R Thanks for your response.Yes we used Property file for get Environment variable,Result path,Diver path and some configuration details in Selenium Framework.Can you tell me In Test complete How we will create for configuration file. Is it possible or else we can call configurations details from excel file itself.

       

      Thanks,

      VG

      • shankar_r's avatar
        shankar_r
        Community Hero

        Hi,

         

        You can use the script extension which i created way back.

         

        you can find that here