Forum Discussion

googleid_107523's avatar
11 years ago

Scripts get fail due to difference reason

Hi All,



I have been using Testcomplete for about three years, so its working fine expect following issues.



Scripts get fail due to difference reason, this make me discourage to continue with Testcomplete



I am expecting more help from your people where I can exchange my test scripts approach and troubleshoot the issue.



...............

Thanks

Dev



5 Replies



  • Hi Dev,


     


    Could you please describe the issues you face in detail? Without the detailed description from your side, it's difficult to say something for sure.


     





  • Hi Tanya,


     


    Thanks for the reply.


     


    Here are details;


    My testing framwork is data driven framework, where excel file contain the test data and finally test results as well.


    My test scripts written by JScripts.


    Some uinte's contain the functions module wise.


    Some unites create a tes scenario by using above funtions and these unites will we executed.


     


    Sorry I am attaing all the funtion which might be big. Also I have initialy posted the issue by differnce gmail account.


    Please go thorugh the scirpts and let me know where I can imporve my scripts from the Testcomplete point of view.


     


     


    Testcomplete version: 10.0.531.7.


     


     


    .......


    Thanks.


    Dev

  • Hi Tanya,



    I missout one point, I have another Excel file which contain all the object, so i am calling those object throught a funtion.



    ............

    Thanks

    Dev

  • Hi Dev,


     


    Thanks for the files.


    I suggest that you use TestComplete's DDT feature to read data from Excel files. You can try using this approach instead of Excel's COM object. Refer to the "Data-Driven Testing" article for details.


     

  • Hi Tanya,



    I will incorporate your suggestion into my scripts.

    Since I am reading and writing to Excel file in the same line, there for I didn’t use it. 

    Which couldn’t do with DDT?



    Anyway I will update the results with you.





    .................

    Thanks

    Dev