Forum Discussion

aakash22's avatar
aakash22
Occasional Contributor
11 years ago

How to create universal scripts in testcomplete?

So, 

When i create a Script to log to a site say abc.com and try using this script with my xyz.com. Even though they both have the same application running and only DNS different, TC cannot find objects when using it with the other site.

3 Replies

  • Vallalarasu_P's avatar
    Vallalarasu_P
    Frequent Contributor

    Use Find Properties of testcomplete and dynamically by giving different property and value. We can make it universal.

  • petya's avatar
    petya
    New Contributor

    You can use conditional name mapping or wildcard characters in name mapping too to make the test less sensitive for the domain.

  • aakash22's avatar
    aakash22
    Occasional Contributor

    So If i want to search using Find/find child etc... how do i search elements which are in a tree. pls check image

    problem searchingwith find.jpg