Select Your Edition :
 
System keywords
 
   

 

Contents

  1. Action
  2. Assertion
  3. Conversion
  4. Database
  5. DateTime
  6. File Handling
  7. Function
  8. Global Scope
  9. Mathematical Operation
  10. String Function

Action


HandleExpectedPopup
Boolean HandleExpectedPopup (
String WindowTitle, Integer NumberOfTabs, Integer WaitTime
)
It handles specified popup once during the execution using TAB and ENTER keys combination.
Parameters:
  • WindowTitle - Specify Pop up Window Title
  • NumberOfTabs - No of TAB to be pressed on Pop up
  • WaitTime - Specify Time in Seconds
Output: Boolean
  • Returns True if popup handled successfully,False otherwise.

KeyPress
Boolean KeyPress (
String Key, Integer No of repetation
)
Use this keyword to send keystrokes to the active application window.
Parameters:
Output: Boolean
  • Returns True if keystrokes send successfully,False otherwise.

KillProcess
Boolean KillProcess (
String ProcessName
)
It kills the specified Process.It takes the process name(notepad.exe) as input parameter.
Parameters:
  • ProcessName - Specify process Name
Output: Boolean
  • Return True if successfully killed the specified process,False otherwise.

SendString
Boolean SendString (
String KeyName
)
Use this keyword to send string to the active application window.
Parameters:
Output: Boolean
  • Returns True if String sends successfully,False otherwise.

Assertion


CompareString
Boolean CompareString (
String String1, String String2
)
It compares the equality of two specified strings.It takes two strings as input parameter.
Parameters:
  • String1 - Specify String 1
  • String2 - Specify String 2
Output: Boolean
  • Return True if both Strings matched successfully,False otherwise.

IsEqual
Boolean IsEqual (
Double Operand1, Double Operand2
)
Checks whether the two Integers are Equal or Not
Parameters:
  • Operand1 - Specify First Value
  • Operand2 - Specify Second Value
Output: Boolean
  • Returns True if comparison between two string matches,False otherwise.

IsGreater
String IsGreater (
Double Operand1, Double Operand2
)
It verifies if First specified integer value is greater than second one.
Parameters:
  • Operand1 - Specify First Value
  • Operand2 - Specify Second Value
Output: String
  • Returns True If First integer value is greater than second integer value.

IsNotEqual
Boolean IsNotEqual (
Double Operand1, Double Operand2
)
To Find whether the operands are not equal
Parameters:
  • Operand1 - Specify First Value
  • Operand2 - Specify Second Value
Output: Boolean
  • Returns True if operands are not equal,False otherwise.

IsSmaller
String IsSmaller (
Double Operand1, Double Operand2
)
To find the smallest of two numbers
Parameters:
  • Operand1 - Specify First Value
  • Operand2 - Specify Second Value
Output: String
  • Returns True If First integer value is Smaller than second integer value,False otherwise.

StringContains
Boolean StringContains (
String String1, String String2
)
It checks whether the parent string contains the child string or not.It takes Parent String and Child String as input parameter.
Parameters:
  • String1 - Enter Parent String
  • String2 - Enter Child string
Output: Boolean
  • Returns True if specified parent String contains given child String.

VerifyValueInProcedure
Boolean VerifyValueInProcedure (
String Value, String Procedure Name, String Param1-Name, String Param1-Value, String Param2-Name, String Param2-Value, String Param3-Name, String Param3-Value, String Param4-Name, String Param4-Value, String Param5-Name, String Param5-Value
)
To verify a value in results returned from a procedure
Parameters:
  • Value - Specify Value to be verified
  • Procedure Name - Specify ProcedureName
  • Param1-Name - Param1-Name
  • Param1-Value - Param1-Value
  • Param2-Name - Param2-Name
  • Param2-Value - Param2-Value
  • Param3-Name - Param3-Name
  • Param3-Value - Param3-Value
  • Param4-Name - Param4-Name
  • Param4-Value - Param4-Value
  • Param5-Name - Param5-Name
  • Param5-Value - Param5-Value
Output: Boolean
  • Returns the value fetched by specified procedure.

VerifyValueInRecordSet
Boolean VerifyValueInRecordSet (
String Value, String Query
)
It matches the specified value with actual value available in database.It takes a value and database query as input parameter.
Parameters:
  • Value - Specify the value to be verified
  • Query - Specify the Query
Output: Boolean
  • Returns True if Specified value matched with database value,False otherwise.

Conversion


ConvertToBoolean
Boolean ConvertToBoolean (
String Input Value
)
To convert the Input value to boolean
Parameters:
  • Input Value - Specify the Input value
Output: Boolean
  • Returns Converted Boolean value.

ConvertToDateTime
DateTime ConvertToDateTime (
String SourceString, String SourceFormat
)
Converts an string of specified format to DateTime
Parameters:
  • SourceString - A String which contains the Date
  • SourceFormat - The Format used in the Source String (eg dd/mm/yyyy)
Output: DateTime
  • Returns DateTime in user's specified format.

ConvertToDouble
Double ConvertToDouble (
String Input Value, Integer Precision
)
To convert the Input value to double
Parameters:
  • Input Value - Specify the Input value
  • Precision - Specify the number of fractional digits in the return value
Output: Double
  • Returns Converted Double value.

ConvertToInteger
Integer ConvertToInteger (
String Input Value, Boolean RoundOff
)
To convert the Input value to integer
Parameters:
  • Input Value - Specify the Input value
  • RoundOff - Specify wether roundoff the input value or not
Output: Integer
  • Returns Converted integer value.

ConvertToString
String ConvertToString (
String Input Value
)
To Convert the Input value to string
Parameters:
  • Input Value - Specify the Input value
Output: String
  • Returns Converted String value.

Database


ConnectDataBase
Boolean ConnectDataBase (
String Driver, String ConnectionString
)
To Connect to a Database.It takes database Driver Name and connection string to connect to a database.
Parameters:
  • Driver - The name of DatabseDriver
  • ConnectionString - Connection String of the specified databse.
    Please refer this link for more details over databse driver's and connection String
Output: Boolean
  • Returns True if connection established with Database,False otherwise.

DisconnectDataBase
Boolean DisconnectDataBase (
 
)
To Disconnect from a Database
Output: Boolean
  • Returns True if successfully disconnected from the database,False otherwise.

ExecuteQuery
String ExecuteQuery (
String Query
)
To execute a databasequery