Forum Discussion

aditya2008a's avatar
aditya2008a
Occasional Contributor
14 years ago

Doubts about the functionality of TC 7

Hi I have some doubts about TestComplete 7:



1)Can't we split one keyword test into multiple tests?If yes,then how..

2)Is it possible to capture images of the application automatically while running it?

3)Is there any concept of local and global object repository in TestComplete 7? If no, does TC create separate objects for every test even when the application to be tested is same??Won't that result in memory wastage?

4)Is there any concept of dynamic object recognition in TC??



Please Help asap....Thanx in advance...

3 Replies


  • Hi,





    1)Can't we split one keyword test into multiple tests?If yes,then how..


    There's no such feature. I've registered a corresponding suggestion in our DB. Thank you for your post.





    At the moment, you can select the needed operations from the current keyword test, cut them, paste into a new keyword test, and insert the 'Run Test' operation at the appropriate place of the current keyword test. This operation is to run the new keyword test.





    2)Is it possible to capture images of the application automatically while running it?


    See the Auto-Generating Screenshots During Test Recording and Running help topic.





    3)Is there any concept of local and global object repository in TestComplete 7? If no, does TC create separate objects for every test even when the application to be tested is same??Won't that result in memory wastage?


    TestComplete uses its 'Name Mapping' feature that is similar to Object Repository. By default, when you record a test, TC creates a tree (a name mapping scheme) of custom names. These names are linked to the actual objects by values of one or several object properties. They are used to address objects of the tested application. There's no such concept like the 'local' or 'global' name mapping scheme - if a project uses the 'Name Mapping' feature, it contains the appropriate project item that holds this scheme. You can use this scheme in other projects by sharing that item.





    Also, see this and this SQAForums threads.





    4)Is there any concept of dynamic object recognition in TC??


    Could you please clarify this? Describe the scenario you are trying to implement as minutely as possible.
  • aditya2008a's avatar
    aditya2008a
    Occasional Contributor
    Hi, thanx for the answers. Last time I was testing a web page with QTP . It had four non editable text boxes which can only be filled by certain values already present.There was an object near the text box which if clicked showed a pop up containing certain values. it had another text box and a search button. Although the contents to be filled in the four non editable text boxes were different the process of entering values was the same.That is every text-box could be filled with a value from pop up opened by clicking on object associated with each box. What QTP did is it identified the search button of the first text box and as the rest were similar it could not uniquely identify them.It had to be done manually. This did not happen in TestComplete.Why?

  • Hi,





    Although the contents to be filled in the four non editable text boxes were different the process of entering values was the same.That is every text-box could be filled with a value from pop up opened by clicking on object associated with each box. What QTP did is it identified the search button of the first text box and as the rest were similar it could not uniquely identify them.It had to be done manually. This did not happen in TestComplete.Why?


    Most probably, some mapped objects are mapped by using properties that can have different values. This fact will prevent TC from identifying objects. So, you need either to remove these identification properties or modify their values manually from the Name Mapping editor.





    If the current identification criteria is insufficient to uniquely identify an object, you need either to add additional identification properties or use the 'Required Children' feature.





    If this information does not help you, please zip the folder that contains the project suite demonstrating the problem you are facing and send me the archive.