Thursday, 22 May 2014

Software Application, KT/Handover Checklist - for new project/companies.


                                      KT/Handover Questionnaires'


When we join in new project/companies and start getting KT/Handover of the Project, We may use this questionnaires' .
 
Which help us to understand application and environment to work smoothly and independently.


SR
KT/Handover Questionnaires when we join new Project/Companies
General Information 
1
Application Overview (What it is ?)
2
Application Purpose (Why it is ?)
3
Application Critical milestones (achievement and Impact)
4
Most Critical part of the application 
5
Most critical barriers, facing while testing + Exist issues in application (If any)
6
If nothing to do, no action taken, what to do? 
7
Who is Key Resource for the application (Dev/Tester/BA)
8
Relationship with the Key resources (Dev/Tester/BA)
9
Who can assist for the application progression ?
10
QC/ALM, JIRA, or any mgmt tool, Share location for application document.


Application Information
1
User Details (Who are using application)
2
Data origin (Who are providing data)
3
Data format (file, database, manual)
4
Data processing  flow
5
Window Services (If any)
6
Web Services (If any)
7
SQL jobs (If any)
8
Dependent application Name
10
Dependent application scope
11
Database Server and Name
12
Database login credentials
13
Database table Details
14
Application Server and Name
15
Application Server Credential
16
Application module details
17
Application Data flow on UI
18
UI Data in respective Database tables
19
Interface details (If application communicate with any other application )
20
Data processing through a Interface


Environment Details
1
Available Environment for the application 
2
Environment name (QC/SIT, UAT, PROD)
3
Environment Details like URL, Credential, Server, Database


Deployment Information 
1
Deployment Server Name
2
Source Code location
3
Application Pull Details
4
Backup Location
5
WebConfig Changes (Tag/Element name which are need to change)
6
Store Procedure Changes (If any)
7
IIS Setting (If Required)
8
External, Internal Port
9
Services deployment process (Window/Web)
10
Reports deployments (If Required)
11
Enum Setting (If Required)

Below items you can also be consider in your KT checklist-
1- Understanding Coding standard.
2- Understanding naming convention
3- Understanding application framework.
4- Understanding Store Procedure standard. etc......

Wednesday, 26 March 2014

Basic VBScript for Software Automation Testing.

VBScript : -  Software automation tester can used VBScript while automating functional, regression and smoke test cases by using TestComplete/QTP. VBScript is most common scripting languages. Case insensitive  language,  It’s a light weight scripting language like other scripting language like JavaScript, Jscript, Ruby etc. VBScript is a inbuilt language in window platform.
VBScript has many powerful functions and provides excellent support for variables,
data types, and error handling.

Note – Window Scripting Host (WSH) tool runs VBScript programs in Window platform.

VBScript Variables Declaration: - A variable is used to stored values, In VBScript all variables are   variant type that can store any type of values such as int, float, char, string etc.
Example –
     Dim x
     x= 20
     x = 20.6
     x= “TheITQC”

Character and String values must be enclosed by double codes.
Variable declaration is optional in VBScript but to preventing the human error with variable name we can declare variable at the top of the script.
We can be declared explicitly and implicitly variables in VBScript.

Explicitly Variables:- Explicitly Variables are declared with Dim statement, Public Statement and Private Statement.
     Dim variableName
     Public employeeAddress

Implicitly Variables: - we can declare Implicitly Variables within the script by just using the variable name. But this is not a good practice it’s may be a cause of error.

While declaring variables, Test Automation engineer must follow the naming conversion like below-
    1-Variable name must be start with letter.
    2-Variable name should not be accede 255 character.
    3-Variable name should not contain. (dot)
    4-Variable name should not contain Keywords/Reserve word.
    5-Variable name should be unique.

VBScript Arrays: - We can used arrays to store more than one values into a variable, (all values should be same data type) every element of an array is associated with a unique index number. By default index number starts from 0, VBScrtipt supports multiple dimensions arrays.
Syntax-
     Dim ArrayName(ArraySize) 
     Dim TestArray(2)
     TestArray(0) = “abc”
     TestArray(1) = “xyz”

Operators in VBScript : - VBScript supports multiple operators for the evaluation of expression.


Addition
+
Subtraction
-
Multiplication
*
Division
/
Modulus arithmetic
mod
Equality/Assignment
=
Inequality
<> 
Less than
< 
Greater than
Less than or equal to
<=
Greater than or equal to
>=
Logical negation
Not
Logical conjunction
And
Logical disjunction
Or


VBScript Build in Function:-

VBScript has multiple inbuilt functions, We can use those function while preparing automation script in TestComplete. 

1-CreateObject :- We can use this function for create an object for specified class.
    Syntax -
         Set objectName = CreateObject(“Class”)
         Example: – Create an object for text/notepad file.
         Set fso = CreateObject(“Scripting.fileSystemObject”)
------------------------------------------------------------------------------------------------------------------------
2-InputBox :- We can use this function for reading input from the keyboard.
    Syntax-
         variableName = InputBox(“Your Message”)
------------------------------------------------------------------------------------------------------------------------
3-MsgBox : - We can use this function to display your message.
    Syntax –
         msgBox(“Your Message”)
------------------------------------------------------------------------------------------------------------------------- 
4-Arrays() :-  It’s used to create an array with specified list of values.
    Syntax-
         variableName = Array(list of value)
-------------------------------------------------------------------------------------------------------------------------
5-Ubond(): - We can use this function to get the index of last element of array.
    Example –
          Dim arrayName, size
         arrayName = Array(10,20,30,40)
         size = Ubond(arrayName)+1
    it’s shows the size of array and it will be return array size

6-LBound():-  We can use this function to get index of first element of an array.
------------------------------------------------------------------------------------------------------------------------- 7-Len(): - This function is used to find the length of given string.
    Example –
         Dim name = “TheITQC”
         Length = Len(Name)
    It will return the string length = 7
------------------------------------------------------------------------------------------------------------------------- 
8-Left():- left function is used to get the specified number of character from the left side of the given  string.
    Example –
         Dim name = “My Name is …..”
         leftChar = left(Name, 4)
    It will be return “My N” from the string “My Name is …..”
------------------------------------------------------------------------------------------------------------------------- 9-Right():- This function is used to get the specified number of character from the right side of the given string.
    Example-
         Dim name = “My Name is Test”
         rightChar = right(Name, 7)
    It will be return “Test” from the string “My Name is TheITQC”
-------------------------------------------------------------------------------------------------------------------------
10-Mid():- Mid function is used to get the substring from the main string.
    Syntax-
    mid (“Main String”, substring start point, length of sub string)
    Example-
         Dim name = “Testing with TheITQC”
         mid(Name,13 ,7)
    It will be return “TheITQC”
-------------------------------------------------------------------------------------------------------------------------
11-Split():- This function is used separate the line of text into the string. In this function we need to use separator for getting your desired value.
    Example -
         x = Split(“Testing with ITQC”, “ ”)
    Here we use blank/white space is used as separator.
-------------------------------------------------------------------------------------------------------------------------
12-Trim(): - This Function is used to remove the white space from the given string.
    Example-
         Dim name1= “  TheITQC”
         Dim name2 = “TheITQC  ”
         Dim name3 = “  TheITQC  ”
Here name1 has a left white space, name2 has right white space and name3 has both side white space, if you want to remove those white spaces from the string then we use Trim function like below –
-------------------------------------------------------------------------------------------------------------------------
    1-strName = LTrim(name1)

    LTrim function removes the left hand side white space from the given string. Hence it will be returns “TheITQC”

    2-strName = RTrim(name2)

    RTrim function removes the right hand side white space from the given string. It will be return “TheITQC”.

    3-strName = Trim(name3)

    Trim function removes the white spaces from the given strings and it will be returns “TheITQC”
-------------------------------------------------------------------------------------------------------------------------   
13-Instr() :- Instr() function is used to find the existing sub string from the main string. Instr function will return 0 when given or substring not found in main string.
    Example –
         msgBox(Instr(“We are Software Tester”, “Tester”))
-------------------------------------------------------------------------------------------------------------------------
14-Join(): - This function is used to combine two or more sub string as a main string.
    Syntax-
         Join(list of sub Strings)
    Example-
         strName = Join(“We”, “are”, “Tester”)
    it will be return strName = “We are Tester”
-------------------------------------------------------------------------------------------------------------------------
15-UCase()& LCase() :- Ucase is used to converting a string into a Upper case and LCase is used to converting string into a lower case.
    Syntax-
    1-LCase(“String in UpperCase”)
    2-UCase(“String in lowerCase”)
-------------------------------------------------------------------------------------------------------------------------
16-strComp() : - We are used this function for comparing two strings.
    Syntax-
         strComp(“string1”, “string2”)
This function return 0 when both strings are same, it will be return -1 when string1 less than string2 or it will be return 1 when string1 greater than string2.
-------------------------------------------------------------------------------------------------------------------------
17-strReverse():- This function is used to reverse the characters from the given strings.
    Example-
         name = strReverse(“TEST”)
    It will be return “TSET”
-------------------------------------------------------------------------------------------------------------------------
18-Replace(): - We can used this function for replacing the specified String/Characters by using another string/character in the given string.
    Example-
         Replace(“xxpXPxP”, “p”, “y”)
    It will be return “xxyXPxP” here we are replace all p with y.
-------------------------------------------------------------------------------------------------------------------------
19-Eval():- This function is used to evaluate the given mathematical expression.
    Example-
         a= 2*3
         b= eval(a)
    It will be return 6.
-------------------------------------------------------------------------------------------------------------------------
20-Round():- If you want to get rounded no. from the given value at that time we are use this function.
    Example-
         Dim varName, Pi
         Pi= 3.14159
         varName = round(Pi, 2)
    it will be return 3.14
-------------------------------------------------------------------------------------------------------------------------
21-Int():- We are using this function for capturing the integer part from the given number, without rounding.
    Example-
         Dim a, b
         a= 3.14159
         b= int(a)
    it will be returns 3.
-------------------------------------------------------------------------------------------------------------------------
22-CInt(): -This function is used to converting the given number into the integer number. It will converting number with rounding.
    Example-
         Dim a, b
         a= 3.14159
         b=Cint(a)
    it will be returns 3.
         Dim a, b
         a= 3.890
         b=Cint(a)
    it will be return 4.
-------------------------------------------------------------------------------------------------------------------------
23-Cdbl():- We can use this function to convert given value into a double or float.
         Example- 
              Dim a, b
              a= 3.1415912457812
              b=Cdbl(a)
       it will be returns 3.1415912457812
-------------------------------------------------------------------------------------------------------------------------
24-Cbool():- Converting the given value into the Boolean value.
    Example-
         Dim x, y
         x= 1
         y= 2
         If y>x = Cbool(true) then
           ………….
           ………….
         End if
-------------------------------------------------------------------------------------------------------------------------
25-Cstr():-  This function is used to converting the given value into a string. Basically TestComplete treated any values as a string.

26-varType():- This function is used to get the variable type.

27-Now():- Now function is used for get the system’s current Date and Time.
         Dim d
         d= Now()
    it will be return current date and time of the system
-------------------------------------------------------------------------------------------------------------------------
28-Date():- This function is used to get the current Date only.
         Dim d
         d= Date()
    it will be return current date of the system
-------------------------------------------------------------------------------------------------------------------------
29-Time():- This function is used to get the current Time only.
         Dim d
         d= Time()
    it will be return current date and time of the system
-------------------------------------------------------------------------------------------------------------------------

Saturday, 22 February 2014

Basic Required Method in TestComplete - Part 2



I have explain few basic method in my previous blog Basic Required method - part 1. Now I am adding few more method in this blog, have enjoy it !!

1 - ContentText :- ContentText method is used to get the text from the TestedObj, it returns the combination of text from the
TestedObj. Suppose you want to get text from google page (eg. "Google") at that time we can use this property.
Syntax -

       getText = TestObject.ContentText                                                                    

2- InnerText :- InnerText is used to get the text from the TestedObj, it also returns the combination of text from the TestedObj.  
Syntax -
     
       getText = TestObject.innerText                                                                        

Note : - innerText is similar to contentText, but it is an extended property of Internet Explorer browser. Hence do not use this property in your test it's may get fail if you are moving for cross browser test.

3- Find : - This method is used to search the object from the
TestedObj hierarchy.This method searches an object with the specified values of the specified properties. here search starts from TestedObj parent node and continue upto the depth mention.
Syntax
     
       Set myObject = TestObject.Find(PropertyName, PropertyValue, Depth)        

Example - Suppose I want to search "gmail link" on google page, So I will write code as below

Set lnkgmail = Sys.Browser("IExplorer").Page("google.com").Find("ContentText", "gmail", 10) 

Here - 
1- Property Name = ContentText
2- Property Value = gmail
3- Depth = 10
 
4- FindChild : - A TestedObj may have one or more child objects with specified values of the specified properties so in this case we will using FindChild Method. FindChild method searches  child objects from the TestedObj.
Syntax -

           Set myObject = TestObject.FindChild(PropertyName, PropertyValue, Depth)    

Note - The difference between Find and FindChild is that, FindChild searches child objects, while Find searches TestedObj only.

5- FindAll : - FindAll method is used to search desire object from the TestedObj hierarchy. FindAll Method searches the entire object that have Specified value of the Specified properties. it's return a collection of objects and stored entire object list into an Array.
Syntax -
     
       Set myObject = TestObject.FindChild(PropertyName, PropertyValue, Depth)   

6- FindAllChildren : – FindAllChildren method is same as FindAll method (as mention above), it will search all the children and store them into an Array.

Set myObject = TestObject.FindAllChildren(PropertyName, PropertyValue, Depth)   

Note -
We can search a object with the combination of multiple properties and values. Suppose we want to search gmail link which is enabled on page, so in this case we will need to define arrays for Property Name and Property Value and use them like below-

Example
    
  PropertiesName = Array ("ContentText","ObjectType", "Enabled")
  PropertieValue = Array("gmail","Link", "True")

 Set myObject = TestObject.FindChild(PropertiesName, PropertieValue, 100)     


7- ChildCount : - An application, TestedObj may have one or more child like Processes is a child of Sys , Windows/Page is a child of process and so on. ChildCount property returns the number of children of the TestedObj.
Syntax -
       getChildCount  = TestObject.ChildCount                                                              

8 - RowCount : - As we know, TestComplete supports table/grid structure, suppose we want to know the number of records available in table/grid at that time we will use RowCount method/property. RowCount method/property returns the number of rows in table/grid.
Syntax -

       getRows  = TestObject.RowCount                                                                  

9- wItemCout: - wItemCount property is used to get the total number of items are available in the specified control of the TestedObj. Suppose you want the number of items from the drop down or combo box at that time we can use wItemCount property
Syntax  -

       getItemCount  = TestObject.wItemCount                                                             


10- wItemList : - it returns all item captions as a concatenated string of the TestedObj like ComboBox, ListBox, etc.
Syntax -

        getItemCount  = TestObject.wItemCount                                                           

11 - wText : -  wText property is used to get Text of selected Item from the list box or combo box
Syntax - 
        getText  = TestObject.wText                                                                              
12- wLinkCount : - A TestedObj may have multiple links, suppose we want to get number of links are available on TestedObj at that time we can use the wLinkCount property. it returns the total number of links in a Control.
Syntax - 
        getLinkCount  = TestObject.wLinkCount                                                           

13- wLinkText : - wLinkText property is used to get the text of link of the specified index.
Syntax -

        getLinkTxt  = TestObject.wLinkText(Index)                                                          

14 - ClickItem : - ClickItem is used to simulate mouse click over the TestedObj. ClickItem moves the mouse pointer on the item which is specified by index.
Syntax - 
        TestObject.ClickItem(Index)                                                                              
Note - If the item is not found, ClickItem fails and posts an error message to the test log.

15-Close and Terminate : - Close method closes the given tested application by sending a WM_CLOSE message to its main window and returns True if the application actually closes within the time period specified by the Auto-wait timeout project option. Otherwise, Close returns False.
 Syntax - 
        TestObject.Close                                                                                              
Terminate - Terminate tries to terminate all instances of the given application that were launched by TestComplete. Use this method as a last resort, when the TestedApp.Close method cannot stop the application. Terminate tries to close the application and returns True if the application actually closes within the time period specified by the Auto-wait timeout project option, otherwise it returns False.

        TestObject.Terminate                                                                                        


Note - When a process is closed by the TerminateProcess function, destruction and other finalization code of the application are not called. So, you should use the Terminate method when Close cannot stop the application.

Tuesday, 11 February 2014

Basic Required methods in TestComplete. Part - 1

Deal All,

In this blog I am going to explain basic required methods in TestComplete along with syntax of that methods in VBScript.

1- Subroutine : - Subroutine is a series of statement enclosed by Sub and End Sub Statement, Subroutine performed action but does not return any value.
Syntax -

              Sub yourRoutineName
                  Statement 1 
                  Statement 2

                   Statement n 
               End Sub

2- Function : - Function is a series of statement enclosed by Function and End Function Statement, Function performed action and it can return the value. it take arguments that are passed to it by a calling procedure.
Syntax - 

        Function yourFunctionName()                Function FunctionName(arr1, arg2..argN)
            Statement 1                                                   Statement 1
            Statement 2                                                   Statement 2

             Statement n                                                    Statement n
        End Function                                              End Function                             

3- Variable : - Variable is a place holder it is used for storing information. In VBScript we can declare variable by using Dim Statement.
Syntax -

         Dim VariableName

4- CreateObject : - This function is used to create Object of any application/class
Syntax - 

        Set objName = CreateObject ("application.Class")
        Set objNotepad = CreateObject("Scripting.FileSystemObject")
        Set objExcel = CreateObject("Excel.Application")   

5- Message Box : - Display message/ information in a dialog box, message box wait till used does not click on OK button.
Syntax - 
        msgBox("Your Message/Information")

6 - Input Box : - InputBox is used to get the values from the user. After entering the values, if the user clicks the OK button or presses ENTER then InputBox function will return the text in the text box. If the user clicks on the Cancel button, the function will return an empty string ("").
Syntax - 

       inputText  = InputBox("YourMessage/Information")

7- SetText : - SetText method is used to entered text in a specific location like- Edit box, Password box, TextArea, or any text editor.
Syntax -

TestObj.SetText("YourText/values")                                                                       

8 - Keys :- The Keys action sends keyboard input to the object, it is used to simulate keyboard stroke on the object, we can simulate 1- Alphabet, 2- Number, 3- Hot keys, 4- Function keys etc,
Syntax - 

       TestObj.Keys("[Up]")
       TestObj.Keys("Your Text") etc....

9 -Click : - This method is used to click mouse button on the object
Syntax - 

       TestObj.Click()  or TestObj.Click

10 - Delay() :-Delays the script execution for the specified time period, Delays the script execution for xxxx. milliseconds
Syntax -  

      Delay(TimeInterval) like Delay(500)

Tuesday, 7 January 2014

TestComplete, Interview Question ans Answer

Que 1 - 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.

Que 2- what is Latest Version of TestComplete?
Ans – Most Recent Version of TestComplete is (TestComplete 9.3), at the end of Dec 2013 Smartbear going to launch TestCompete 10 for Mobile app Testing.

Que 3 - Which Technology is supported by TestComplete
Ans – TestComplete Supports Wide range of Application and Technologies like – Windows, .NET, WPF, Visual C++ Visual Basic, Java Web Applications, and Web Services.

Que 4- Which Scripting language that can be used in TestCompete ?
Ans -Test Complete Supports – VBScript, Jscript, C# Script, c++, Delphi.

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

Que 6- 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 of from the list, use the TestedApps.Items property (if no. of Apps is added in list)

Que  7-  Is it possible to perform record and play mechanism in TestComplete ?
Ans – 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

Que  8-  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 .

Que 9- Which Browsers supported by TestComplete till date?
Ans  - TestComplete supports the number of browsers.
 1) Internet Explorer, 2) Mozilla Firefox, 3) Google Chrome, 4) Safari, 5) Opera Browser

Que 10- Different ways of capturing objects in TestComplete.
Ans – There are three different way for capturing the Object in TestComplete-
1 - Recording
2 - Object Spy
3 - Find, FindAll, FindChild, FindAllChildren

Que 11-  What is the difference between Find and FindAll Method in TestComlete ?
Ans Find -Find Method is used to search desire object from the object hierarchy, (only single object). Find Method searches the Object on the basis of Specified value of the Specified property.

FindAll – FindAll method is used to search desire object from the object hierarchy. FindAll Method searches the entire object that have Specified value of the Specified properties. FindAll methods are stored entire object list into an Array.

Que 12- What is the difference between FindChild and FindAllChildren 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 FINDALL method (as mention above), it will be search all the children and store them into an Array.

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

Que 14- Can we get, how much Number 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

Que 15- How descriptive programming can be done in TestComplete?
Ans – Using Find, FindAll, FindChild, FindAllChildren method we can do the descriptive programming in TestComplete.

Que 16- What is mean open application and how you will come to it is open or not?
Ans – 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)

Que 17- How many check points you know in TestComplete
Ans – 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….

Que 18- What is NameMapping in TestComplete?
Ans – NameMapping in most important feature 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  

Que 19- What is a shortcut key to stop recoding?
Ans – Using SHIFT-F11 we can stop the recording

Que 20- What is Data Driven Testing in TestComplete?
Ans – 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.

Que 21- 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.

Que 22- How to recognize Objects in TestComplete ?
Ans - There are different way to recognize the Object in TestComplete Like -
1- Recording
2- Object Spy
3- Find, FindAll, FindChild, FindAllChildren

Que 23 – 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 -
1-  Yes! Our script gets fail in case if we implement Record and Playback methodology.
2-  Yes! Our Script will be run successfully If we Implement Name mapping or Descriptive programming methodology.

Que 24 – How to recognize similar object in your application?
Ans – We can use object ID for each or we can assigned a unique identity for similar object by using Name Mapping Concept.

Que 25 – How to Test your application on different Node or on different workstation?
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)

Que 26 – Which Framework you are using for automation in TestComplete ?
Ans – We are using customize framework for automation. It is a combination of Keyword driven and Data Driven framework.

Que 27 – 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)

Que 28 – 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.

Que 29 – What are the challenges you are facing in TestComplete ?
Ans – 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.

Que 30 – Tell me about this yourself?
Ans – Explain your profile details..