TestComplete Interview Questions And Answers

1Q) What is TestComplete?

Ans: TestComplete is a Software automation tool, Developed by Smart bear, we can Automate the software testing process using it. TestComplete supports various types of automation testing like – unit testing, Smoke testing, Regression testing, Functional, Distributed testing, and load testing.

2Q) what is the TestComplete Latest Version?

Ans: The most Recent Version of TestComplete is (TestComplete 9.3), at the end of Dec 2013 Smartbear going to launch TestComplete 10 for Mobile App Testing.

3Q) Which Technology is supported by TestComplete?

Ans: TestComplete Supports a Wide range of Applications and Technologies like – Windows, .NET, WPF, Visual C++ Visual Basic, Java Web Applications, and Web Services.

4Q) Which is a Scripting language that can be used in TestCompete?

Ans: Test Complete Supports – VBScript, Jscript, C# Script, c++, Delphi.

5Q) What is the purpose of TestedApp in TestComplete?

Ans: In TestedApp, we can list out the number of Applications, We can add multiple Tested Application and there attributes like Command line arguments, number of instances, and so on.

Interested in mastering TestComplete? Enroll now for FREE demo on "TestComplete Training"

6Q) How can we call any application that has been added to TestedApps in your scripts?

Ans: Using the TestedApps object we can call our application. To get a TestedApp object as an item from the list, use the TestedApps.Items property (if no. of Apps is added in the list)

7Q) Is it possible to perform a record and play mechanism in TestComplete?

Ans: Yes, TestComplete Supports Record and Payback mechanism there are two mechanisms in TestComplete Recording.

  • Record - Starts test recording or resumes recording after a pause. Default, SHIFT-F1.
  • Low –Level- Record - Starts recording a new low-level procedure based on on-screen coordinates. Default, SHIFT-F4

8Q) Cross Browser Testing is possible for using TestComplete? If yes, then, how is it?

Ans: Yes, we can do the Cross-Browser testing in TestComplete. TestComplete 9.x is specially developed for cross-browser testing. (Before cross-browser testing we need to do some browser level setting.

9Q) Which Browsers supported by TestComplete to date?

Ans: TestComplete supports the number of browsers.

  • Internet Explorer
  • Mozilla Firefox
  • Google Chrome
  • Safari
  • Opera Browser

10Q) What are the different ways of capturing objects in TestComplete?

Ans: There are three different ways of capturing the Object in TestComplete.

  • Recording
  • Object Spy
  •         Find, FindAll, FindChild, FindAllChildren

11Q) What is the difference between Find and FindAll Method in TestComplete?

Ans:

  • Find -Find Method is used to search the desired object from the object hierarchy, (only a single object). Find Method searches the Object on the basis of the Specified value of the Specified property.
  • FindAll – FindAll method is used to search the desired object from the object hierarchy. FindAll method searches the entire object that has the specified value of the Specified properties. FindAll methods are stored the entire object list into an Array.

12Q) What is the difference between Find and FindAll Method in TestComlete?

Ans:

  • FindChild – Find Child method is also same as FIND method (as mention above) it will search only Child object.
  • FindAllChildren – Find All Children method is same as the FINDALL method (as mention above), it will search for all the children and store them into an Array.

13Q) What is Child Method?

Ans: Objects may have the children, Page is the children of Process, Process is the children of Sys object etc... {Sys.Process (iexplorer, 1).page (“google.com”)……}

14Q) Can we get, how many numbers of Childs having an Object?

Ans: Yes, We can get the number of child of the Object by using ChildCount Property of the object Ex- count = Object.ChildCount

15Q) How descriptive programming can be done in TestComplete?

Ans: Using Find, FindAll, FindChild, FindAllChildren method we can do the descriptive programming in TestComplete.

16Q) What is mean open application and how you will come to it is open or not?

Ans: An application which exposes their internal Object Properties and methods to TestComplete are called Open Application for TC. (Application which is provide the information on how to get access to internal objects that is called Open Application)

17Q) How many checkpoints you know in TestComplete?

Ans: TestComplete has the number of Checkpoints like –

  • Create File Checkpoint
  • Create Object Checkpoint
  • Create Property Checkpoint
  • Create Web Service Checkpoint
  •         Create Database table checkpoint and so on….

18Q) What is NameMapping in TestComplete?

Ans: NameMapping in the most important features in TestComplete, using Name Mapping, we can provide the Custom Name of the object. Normally when we get the Object in TestComplete its shows like below- Sys.Process (Iexplorer, 1).page (“www.google.com”).form (‘’google”).Panel (“Container”).Table (“lnkDatails”).cells (1, 1)……

It’s very difficult and hard to remember and manage; hence we can provide the custom name for each item using some unique values like – Sys.IE.PageName.Form.linkDetails.linkName 

19Q) What is a shortcut key to stop recording?

Ans: Using SHIFT-F11 we can stop the recording

20Q) What is Data-Driven Testing in TestComplete?

Ans: Run our Test with a different set of input data to ensure the application works as expected for various input values. This testing approach is called data-driven testing. We can perform data driven testing using a CSV file, Text File, Excel, and Database.

21Q) How to handle exception in TestComplete?

Ans: Using on Error Resume Next statement we can handle the exception it TestComplete. On Error Resume Next Statement skip the Exception window and go for the next operation.

22Q) How to recognize Objects in TestComplete?

Ans: There are different way to recognize the Object in TestComplete Like -

  • Recording
  • Object Spy
  •        Find, FindAll, FindChild, FindAllChildren

23Q) What Happen? If your computer resolution will be change, your same script will be run or it will get fail?

Ans: There are two possibilities -

  • Yes! Our script gets fail in case if we implement Record and Playback methodology.
  • Yes! Our Script will be run successfully If we Implement Name mapping or Descriptive programming methodology.

24Q) How to recognize similar objects in your application?

Ans: We can use object ID for each or we can have assigned a unique identity for similar objects by using the Name Mapping Concept.

25Q) How to Test your application on different Nodes or on the different workstations?

Ans: We can run our same script on different Node /different workstation by implementing the concept of Network Suite (But in this case entire client machine should be a part of Network)

26Q) Which Framework you are using for automation in TestComplete?

Ans: We are using a customize frameworks for automation. It is a combination of Keyword driven and Data-Driven framework.

27Q) Is it possible to compared strings in TestComplete?

Ans: Yes we can do it by using aqString object like below -

aqString.Compare(String1, String2, Case Sensitive)

28Q) what is USEUNIT in TestComplete?

Ans: To call routines, variables or constants declared from one unit to another unit, we use USEUNIT statement in TestComplete.

29Q) What are the challenges you are facing in TestComplete?

Ans: There are few challenges we are facing in TestComplete

  • Cross Browser Testing - for cross-browser testing we need to do browser level setting, if we try to run our script on the client machine then we need to check all browser settings.
  • Working with Window Popup – while you are trying to upload or download files from the application some time it may get fail.
  • Working with Dynamic Object – handling such an object which is changed every time or occurred suddenly.
  • Page Loading - Unable to predict page load time
  • Technical Support – There is no more support/Help available for TestComplete.


Our design of course tutorials and interview questions is practical and informative. At TekSlate, we offer resources to help you learn various IT courses. We avail both written material and demo video tutorials. For in-depth knowledge and practical experience explore Online TestComplete Training.