C# Class BitrixAQA.MainForm

Inheritance: System.Windows.Forms.Form
Exibir arquivo Open project: BitrixQA/BitrixAQA Class Usage Examples

Public Properties

Property Type Description
cbBrowsers System.Windows.Forms.ComboBox
cbCheckAllComponents System.Windows.Forms.CheckBox
cbCheckAllSite System.Windows.Forms.CheckBox
cbCheckImages1 System.Windows.Forms.CheckBox
cbComponentsCheckPageOnErrors System.Windows.Forms.CheckBox
cbMainTest System.Windows.Forms.CheckBox
cbSaleTest System.Windows.Forms.CheckBox
cbUrlsCheckPageOnErrors System.Windows.Forms.CheckBox
cmbboxDBType System.Windows.Forms.ComboBox
dataGVResult System.Windows.Forms.DataGridView
form MainForm
lblConnStatus System.Windows.Forms.Label
rtextboxConnectionString System.Windows.Forms.RichTextBox
tbCheckComponentsLogin System.Windows.Forms.TextBox
tbCheckComponentsPassword System.Windows.Forms.TextBox
tbCheckOnce System.Windows.Forms.TextBox
tbCheckUrlsLogin System.Windows.Forms.TextBox
tbCheckUrlsPass System.Windows.Forms.TextBox
tbCheckUrlsUrlToCheck System.Windows.Forms.TextBox
tbComponentsCheckPrefix System.Windows.Forms.TextBox
tbLog System.Windows.Forms.RichTextBox

Public Methods

Method Description
MainForm ( string args = null ) : System

Инициализируем главную форму

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Method Description
InitializeComponent ( ) : void

Required method for Designer support - do not modify the contents of this method with the code editor.

bClearLog_Click ( object sender, EventArgs e ) : void
bDo_Click ( object sender, EventArgs e ) : void

Нажатие на кнопку запуска тестов

bOptions_Click ( object sender, EventArgs e ) : void
btnExecute_Click ( object sender, EventArgs e ) : void

Выполнить SQL скрипт

btnSetConnSettings_Click ( object sender, EventArgs e ) : void

Применить кастомные sql настрйоки

cbBrowsers_SelectedValueChanged ( object sender, EventArgs e ) : void
cbCheckUrl1_VisibleChild ( object sender, EventArgs e ) : void

Обработчик видимости зависимых чекбоксов

cmbboxConnType_TextChanged ( object sender, EventArgs e ) : void

Обработчик смены значения комбобокса

cmbboxConnType_TextChanged1 ( object sender, EventArgs e ) : void

Обработчик смены табконтрола. Блокирует\активирует контролы

richTextBox1_LinkClicked ( object sender, System.Windows.Forms.LinkClickedEventArgs e ) : void
rtbLog_LinkClicked ( object sender, System.Windows.Forms.LinkClickedEventArgs e ) : void
tbLog_TextChanged ( object sender, EventArgs e ) : void
tc_TabSelect_Log ( object sender, System.Windows.Forms.TabControlEventArgs e ) : void

обработчик переключения табконтрола. скрывает лог и открывает датагрид и наоборот

Method Details

Dispose() protected method

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
return void

MainForm() public method

Инициализируем главную форму
public MainForm ( string args = null ) : System
args string аргументы прилдожения
return System

Property Details

cbBrowsers public_oe property

public System.Windows.Forms.ComboBox cbBrowsers
return System.Windows.Forms.ComboBox

cbCheckAllComponents public_oe property

Флаг Проверить все компоненты
public System.Windows.Forms.CheckBox cbCheckAllComponents
return System.Windows.Forms.CheckBox

cbCheckAllSite public_oe property

Флаг Проверять весь сайт
public System.Windows.Forms.CheckBox cbCheckAllSite
return System.Windows.Forms.CheckBox

cbCheckImages1 public_oe property

Флаг проверки картинок
public System.Windows.Forms.CheckBox cbCheckImages1
return System.Windows.Forms.CheckBox

cbComponentsCheckPageOnErrors public_oe property

Флаг Проверять страницу на ошибки
public System.Windows.Forms.CheckBox cbComponentsCheckPageOnErrors
return System.Windows.Forms.CheckBox

cbMainTest public_oe property

Флаг демо-теста главного модуля
public System.Windows.Forms.CheckBox cbMainTest
return System.Windows.Forms.CheckBox

cbSaleTest public_oe property

Флаг демо-теста магазина
public System.Windows.Forms.CheckBox cbSaleTest
return System.Windows.Forms.CheckBox

cbUrlsCheckPageOnErrors public_oe property

Флаг проверок страниц на ошибки урлчекером
public System.Windows.Forms.CheckBox cbUrlsCheckPageOnErrors
return System.Windows.Forms.CheckBox

cmbboxDBType public_oe property

Селектор типа БД
public System.Windows.Forms.ComboBox cmbboxDBType
return System.Windows.Forms.ComboBox

dataGVResult public_oe property

Облать результатов SQL запросов
public System.Windows.Forms.DataGridView dataGVResult
return System.Windows.Forms.DataGridView

form public_oe static_oe property

главная форма
public static MainForm,BitrixAQA form
return MainForm

lblConnStatus public_oe property

Область состояния подключения к БД
public System.Windows.Forms.Label lblConnStatus
return System.Windows.Forms.Label

rtextboxConnectionString public_oe property

Строка подключения к БД
public System.Windows.Forms.RichTextBox rtextboxConnectionString
return System.Windows.Forms.RichTextBox

tbCheckComponentsLogin public_oe property

Поле логина для проверки компонентов
public System.Windows.Forms.TextBox tbCheckComponentsLogin
return System.Windows.Forms.TextBox

tbCheckComponentsPassword public_oe property

Поле пароля для проверки компонентов
public System.Windows.Forms.TextBox tbCheckComponentsPassword
return System.Windows.Forms.TextBox

tbCheckOnce public_oe property

Поле урлов для одноразовой проверки
public System.Windows.Forms.TextBox tbCheckOnce
return System.Windows.Forms.TextBox

tbCheckUrlsLogin public_oe property

Поле логина для урлчекера
public System.Windows.Forms.TextBox tbCheckUrlsLogin
return System.Windows.Forms.TextBox

tbCheckUrlsPass public_oe property

Поле пароля для урлчекера
public System.Windows.Forms.TextBox tbCheckUrlsPass
return System.Windows.Forms.TextBox

tbCheckUrlsUrlToCheck public_oe property

Поле урлов, проверяемых урлчекером
public System.Windows.Forms.TextBox tbCheckUrlsUrlToCheck
return System.Windows.Forms.TextBox

tbComponentsCheckPrefix public_oe property

Поле части имени компонента для проверки
public System.Windows.Forms.TextBox tbComponentsCheckPrefix
return System.Windows.Forms.TextBox

tbLog public_oe property

Область лога
public System.Windows.Forms.RichTextBox tbLog
return System.Windows.Forms.RichTextBox