Forum Discussion

bhakti's avatar
bhakti
Contributor
10 years ago

Approach for VB scripting in testcomplete

Hi,

 

We have been provided with testcomplete licenses by our client.

We are new in scripting, can any one guide how to start VB scripting. 

 

Our Current approch :

Currenly we are recording script  and modifying  it as per requirement. Object name is geting captured in the script, but these scripts do not work smoothly on other machine..

 

 

if we want to capture object id how can we do it?

 

 

also what is manul test, can we use it for scripting 

 

plz help 

 

Regards,

Bhakti

 

  • NisHera's avatar
    NisHera
    Valued Contributor

      

    Recording scripts is way to start but would not be practicaly usefull since there could be many varince.
    as one of TC thred says a robust script frame work would be 70% error handling and 30% actual testing.
    My advices are
    1) start with simple/most used/ small functionality
    2) TC has good documentations read when ever problem comes
    3) often visit this forum and ask, search-there are lot of usefull information (seems you are..)
    4) try to build reusedble library (eg common stuff like navigation )
    5) there cold be many pillfalls in name-mapping, understand the concept, read threds and find the best way for you
    6) some time it may take a while to master, anticipate that

    good luck..!