Explore topic-wise InterviewSolutions in .

This section includes InterviewSolutions, each offering curated multiple-choice questions to sharpen your knowledge and support exam preparation. Choose a topic below to get started.

1.

How To Handle Exception In Testcomplete ?

Answer»

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.

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.

2.

How To Recognize Objects In Testcomplete ?

Answer»

There are DIFFERENT way to recognize the Object in TESTCOMPLETE LIKE :

  1. Recording
  2. Object Spy
  3. FIND, FindAll, FindChild, FindAllChildren

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

3.

What Happen? If Your Computer Resolution Will Be Change, Your Same Script Will Be Run Or It Will Get Fail?

Answer»

There are two possibilities :

  1. Our script gets FAIL in case if we implement RECORD and Playback methodology.
  2. Our Script will be RUN successfully If we Implement Name mapping or DESCRIPTIVE programming methodology.

There are two possibilities :

4.

How To Recognize Similar Object In Your Application?

Answer»

We can use object ID for each or we can ASSIGNED a unique IDENTITY for SIMILAR object by using Name MAPPING Concept.

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

5.

How To Test Your Application On Different Node Or On Different Workstation?

Answer»

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).

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).

6.

Which Framework You Are Using For Automation In Testcomplete ?

Answer»

We are USING CUSTOMIZE framework for automation. It is a COMBINATION of KEYWORD driven and DATA Driven framework.

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

7.

Is It Possible To Compared Strings In Testcomplete ?

Answer»

Yes we can do it by using aqString OBJECT LIKE below :

aqString.Compare(String1, STRING2, Case Sensitive)

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

aqString.Compare(String1, String2, Case Sensitive)

8.

What Is Useunit In Testcomplete ?

Answer»

To CALL ROUTINES, variables or constants declared from one UNIT to another unit, we use USEUNIT STATEMENT in TestComplete.

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

9.

What Are The Challenges You Are Facing In Testcomplete ?

Answer»

There are few challenges we are face in TestComplete

  1. Cross Browser Testing : for a cross browser testing we need to do browser level setting, if we try run our script on client machine then we need to check all browser setting.
  2. Working with Window Popup: while you are trying to Upload or download file from the APPLICATION some time it may get fail.
  3. Working With Dynamic Object : handling such a object which is change every time or OCCURRED suddenly.
  4. Page Loading :UNABLE to predict page load time
  5. Technical Support: There is no more support/Help available for TestComplete.

There are few challenges we are face in TestComplete

10.

Can We Get, How Much Number Of Childs Having An Object?

Answer»

Yes, We can GET the number of child of the Object by USING ChildCount Property of the object

Ex: COUNT = Object.ChildCount

Yes, We can get the number of child of the Object by using ChildCount Property of the object

Ex: count = Object.ChildCount

11.

How Descriptive Programming Can Be Done In Testcomplete?

Answer»

USING FIND, FindAll, FindChild, FindAllChildren METHOD we can do the DESCRIPTIVE programming in TestComplete.

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

12.

What Is Mean Open Application And How You Will Come To It Is Open Or Not?

Answer»

An application which is EXPOSE 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 call Open Application)

An application which is expose 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 call Open Application)

13.

How Many Check Points You Know In Testcomplete?

Answer»

TestComplete has the NUMBER of CHECK points like :

  1. Create FILE CHECKPOINT
  2. Create Object Checkpoint
  3. Create Property Checkpoint
  4. Create Web Service Checkpoint
  5. Create Database table checkpoint and so on….

TestComplete has the number of Check points like :

14.

What Is A Shortcut Key To Stop Recoding?

Answer»

USING SHIFT-F11 we can STOP the RECORDING

Using SHIFT-F11 we can stop the recording

15.

What Is Data Driven Testing In Testcomplete?

Answer»

Run our Test with 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 preformed data driven testing using CSV FILE, Text File, Excel and DATABASE Table.

Run our Test with 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 preformed data driven testing using CSV file, Text File, Excel and Database Table.

16.

Which Browsers Supported By Testcomplete Till Date?

Answer»

TestComplete supports the number of BROWSERS.

  1. INTERNET EXPLORER
  2. Mozilla Firefox
  3. Google Chrome
  4. SAFARI
  5. Opera Browser

TestComplete supports the number of browsers.

17.

Different Ways Of Capturing Objects In Testcomplete?

Answer»

There are three different WAY for CAPTURING the Object in TESTCOMPLETE

  1. Recording
  2. Object Spy
  3. Find, FindAll, FindChild, FindAllChildren

There are three different way for capturing the Object in TestComplete

18.

What Is The Difference Between Find And Findall Method In Testcomlete?

Answer»

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 FINDALL method (as mention above), it will be search all the children and STORE them into an Array.

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 FINDALL method (as mention above), it will be search all the children and store them into an Array.

19.

What Is Child Method?

Answer»

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”)……}

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”)……}

20.

What Is The Purpose Of Testedapp In Testcomplete?

Answer»

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 instance and so on.

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 instance and so on.

21.

Which Technology Is Supported By Testcomplete?

Answer»

TestComplete SUPPORTS Wide range of Application and Technologies like – WINDOWS, .NET, WPF, Visual C++ Visual BASIC, Java Web APPLICATIONS, and Web Services.

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

22.

Is It Possible To Perform Record And Play Mechanism In Testcomplete ?

Answer»

YES, TestComplete Supports Record and Payback mechanism there are two mechanisms in TestComplete Recording.

  1. Record - Starts TEST recording or resumes recording after pause. Default, SHIFT-F1.
  2. Low –Level- Record - Starts recording a new low-level PROCEDURE based on screen COORDINATES. Default, SHIFT-F4

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

23.

Which Scripting Language That Can Be Used In Testcomplete ?

Answer»

Test Complete SUPPORTS: VBSCRIPT, JSCRIPT, C# Script, c++, DELPHI.

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

24.

How Can We Call Any Application That Has Been Added To Testedapps In Your Scripts?

Answer»

Using the TestedApps OBJECT we can CALL our application. To get a TestedApp object as an item of from the list, use the TestedApps.Items property (if no. of APPS is ADDED in list)

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

25.

Cross Browser Testing Is Possible For Using Testcomplete? If Yes Then How Is It?

Answer»

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 .

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 .

26.

What Is Testcomplete ?

Answer»

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.

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.