‘XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
‘UTILITY OBJECTS – R E P O S I T O R I E S C O L L E C T I O N
‘Description : Performs the Object Repository Operations for the QuickTest like Add, Delete, Change Position, etc, during run time.
‘XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
‘xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Method: Add
Description:
Adding Object Repository to the Script/Action during Run Time.
Syntax:
RepositoriesCollection.Add RepositoryPath [, Position]
Example:
RepositoriesCollection.Add RepositoryPath
‘xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
‘xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Method: Find
Description:
Finds the specified Object Repository Position during Run Time.
Syntax:
RepositoriesCollection.Find RepositoryFileAlongWithPath
Example:
intRepositoryPos=RepositoriesCollection.Find("C:\GmailAuto\ObjectRepository\Main.tsr")
‘xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
‘xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Method: Remove
Description:
Removes the Object Repository at specified Position during Run Time.
Syntax:
RepositoriesCollection.Remove RepositoryPosition
Example:
RepositoriesCollection.Remove(3)
‘xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
‘xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Method: RemoveAll
Description:
Removes all the Object Repositories during Run Time.
Syntax:
RepositoriesCollection.RemoveAll ()
Example:
RepositoriesCollection.RemoveAll ()
‘xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
‘xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Method: Count
Description:
Counts the Number of Repositories Available during Run Time.
Syntax:
RepositoriesCollection.Count
Example:
RepositoriesCollection.Count
‘xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
‘xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Method: MoveToPos
Description:
Moves the Specified Object Repositor from Current Position to New Position
Syntax:
RepositoriesCollection.MoveToPos CurrentPosition, NewPosition
Example:
RepositoriesCollection.MoveToPos 2, 3
‘xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
‘XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
No comments:
Post a Comment