Interface IFileTabInterface
Contains all Methods as representation of all the tasks on FileTab
Assembly: Quark.XA.Core.AutomationProject.dll
Syntax
public interface IFileTabInterface
Methods
AccessFileTab()
Declaration
CancelCloseDocument()
Declaration
void CancelCloseDocument()
ClickOptions(String, String, String)
Declaration
void ClickOptions(string tabName, string controlName = null, string value = null)
Parameters
| Type |
Name |
Description |
| System.String |
tabName |
|
| System.String |
controlName |
|
| System.String |
value |
|
CloseAllDocumentWithoutSave(Boolean, Boolean)
Declaration
void CloseAllDocumentWithoutSave(bool perf = false, bool log = false)
Parameters
| Type |
Name |
Description |
| System.Boolean |
perf |
|
| System.Boolean |
log |
|
CloseDocument()
Declaration
CloseDocumentWithoutSave(Boolean, Boolean)
Declaration
void CloseDocumentWithoutSave(bool perf = false, bool log = false)
Parameters
| Type |
Name |
Description |
| System.Boolean |
perf |
|
| System.Boolean |
log |
|
CreateNewQXADocument()
Declaration
void CreateNewQXADocument()
EditDocumentAttributes()
Declaration
void EditDocumentAttributes()
Declaration
bool IsMenuItemExists(string menuItemName)
Parameters
| Type |
Name |
Description |
| System.String |
menuItemName |
|
Returns
| Type |
Description |
| System.Boolean |
|
NewWordDocument()
Declaration
NewXmlAuthorDocument()
Declaration
void NewXmlAuthorDocument()
OpenDocument(String)
Declaration
void OpenDocument(string fullPath)
Parameters
| Type |
Name |
Description |
| System.String |
fullPath |
|
OpenTestDocument(String, Boolean, Boolean)
Declaration
void OpenTestDocument(string name, bool perf = false, bool log = false)
Parameters
| Type |
Name |
Description |
| System.String |
name |
|
| System.Boolean |
perf |
|
| System.Boolean |
log |
|
OpenXmlAuthorDocument(String, String, Boolean, Boolean)
Declaration
void OpenXmlAuthorDocument(string testcaseName, string fileToCopyFrom = null, bool perf = false, bool log = false)
Parameters
| Type |
Name |
Description |
| System.String |
testcaseName |
|
| System.String |
fileToCopyFrom |
|
| System.Boolean |
perf |
|
| System.Boolean |
log |
|
SaveAlreadySavedDocument(Boolean, Boolean)
Declaration
void SaveAlreadySavedDocument(bool perf = false, bool log = false)
Parameters
| Type |
Name |
Description |
| System.Boolean |
perf |
|
| System.Boolean |
log |
|
SaveAndCloseDocument(String)
Declaration
void SaveAndCloseDocument(string testCaseName)
Parameters
| Type |
Name |
Description |
| System.String |
testCaseName |
|
SaveAsAndCloseDocument(String, String, Int32)
Declaration
void SaveAsAndCloseDocument(string testcaseName, string defaultPath = null, int delaytime = 5000)
Parameters
| Type |
Name |
Description |
| System.String |
testcaseName |
|
| System.String |
defaultPath |
|
| System.Int32 |
delaytime |
|
SaveAsDocument(String, String, Boolean, Boolean, Boolean, Int32)
Declaration
void SaveAsDocument(string testcaseName, string defaultPath = null, bool CompareXml = true, bool perf = false, bool log = false, int delaytime = 5000)
Parameters
| Type |
Name |
Description |
| System.String |
testcaseName |
|
| System.String |
defaultPath |
|
| System.Boolean |
CompareXml |
|
| System.Boolean |
perf |
|
| System.Boolean |
log |
|
| System.Int32 |
delaytime |
|
SaveDocument(String, Boolean, Int32)
Declaration
void SaveDocument(string testcaseName, bool CompareXml = true, int delaytime = 3000)
Parameters
| Type |
Name |
Description |
| System.String |
testcaseName |
|
| System.Boolean |
CompareXml |
|
| System.Int32 |
delaytime |
|
SaveTestDocument(String)
Declaration
void SaveTestDocument(string testDoumentName)
Parameters
| Type |
Name |
Description |
| System.String |
testDoumentName |
|
Declaration
void ScrollWordWindowUpDown(string groupName, int numberofTimes)
Parameters
| Type |
Name |
Description |
| System.String |
groupName |
|
| System.Int32 |
numberofTimes |
|
SelectComboInWordOptions(String, String, String, String, Int32)
Declaration
void SelectComboInWordOptions(string tabName, string groupName, string controlName, string value, int scrollTimes = 0)
Parameters
| Type |
Name |
Description |
| System.String |
tabName |
|
| System.String |
groupName |
|
| System.String |
controlName |
|
| System.String |
value |
|
| System.Int32 |
scrollTimes |
|
SetProtectedViewOptions(Boolean, Boolean, Boolean, out Boolean, out Boolean, out Boolean)
Declaration
bool SetProtectedViewOptions(bool fromInternet, bool fromUnsafeLocation, bool fromOutlookAttachment, out bool fromInternetOldVal, out bool fromUnsafeLocationOldVal, out bool fromOutlookAttachmentOldVal)
Parameters
| Type |
Name |
Description |
| System.Boolean |
fromInternet |
|
| System.Boolean |
fromUnsafeLocation |
|
| System.Boolean |
fromOutlookAttachment |
|
| System.Boolean |
fromInternetOldVal |
|
| System.Boolean |
fromUnsafeLocationOldVal |
|
| System.Boolean |
fromOutlookAttachmentOldVal |
|
Returns
| Type |
Description |
| System.Boolean |
|
VerifyAndOpenRecentDocument(String, Boolean, Boolean)
Declaration
void VerifyAndOpenRecentDocument(string fileName, bool openDoc = false, bool clearRecentList = false)
Parameters
| Type |
Name |
Description |
| System.String |
fileName |
|
| System.Boolean |
openDoc |
|
| System.Boolean |
clearRecentList |
|
ViewXml()
Declaration