tclwebtest-procs.tcl

Automated tests.

Location:
packages/faq/tcl/test/tclwebtest-procs.tcl
Created:
14 June 2005
Author:
Mounir Lallali

Procedures in this file

Detailed information

faq::twt::delete (private)

 faq::twt::delete faq_name

Deletes a FAQ from the UI.

Parameters:
faq_name (required)

Partial Call Graph (max 5 caller/called nodes):
%3 aa_error aa_error (public) aa_get_first_url aa_get_first_url (public) aa_log aa_log (public) db_1row db_1row (public) export_vars export_vars (public) faq::twt::delete faq::twt::delete faq::twt::delete->aa_error faq::twt::delete->aa_get_first_url faq::twt::delete->aa_log faq::twt::delete->db_1row faq::twt::delete->export_vars

Testcases:
No testcase defined.

faq::twt::delete_Q_A (private)

 faq::twt::delete_Q_A faq_name question

Deletes a Question/Answer from the UI.

Parameters:
faq_name (required)
question (required)

Partial Call Graph (max 5 caller/called nodes):
%3 aa_error aa_error (public) aa_get_first_url aa_get_first_url (public) aa_log aa_log (public) db_1row db_1row (public) twt::do_request twt::do_request (public) faq::twt::delete_Q_A faq::twt::delete_Q_A faq::twt::delete_Q_A->aa_error faq::twt::delete_Q_A->aa_get_first_url faq::twt::delete_Q_A->aa_log faq::twt::delete_Q_A->db_1row faq::twt::delete_Q_A->twt::do_request

Testcases:
No testcase defined.

faq::twt::disable_enable (private)

 faq::twt::disable_enable faq_name option

Toggle enable/disable for a FAQ from the UI.

Parameters:
faq_name (required)
option (required)

Partial Call Graph (max 5 caller/called nodes):
%3 aa_error aa_error (public) aa_get_first_url aa_get_first_url (public) aa_log aa_log (public) db_1row db_1row (public) export_vars export_vars (public) faq::twt::disable_enable faq::twt::disable_enable faq::twt::disable_enable->aa_error faq::twt::disable_enable->aa_get_first_url faq::twt::disable_enable->aa_log faq::twt::disable_enable->db_1row faq::twt::disable_enable->export_vars

Testcases:
No testcase defined.

faq::twt::edit_Q_A (private)

 faq::twt::edit_Q_A faq_name new_question new_answer

Edits a Question/Answer from the UI.

Parameters:
faq_name (required)
new_question (required)
new_answer (required)

Partial Call Graph (max 5 caller/called nodes):
%3 aa_error aa_error (public) aa_get_first_url aa_get_first_url (public) aa_log aa_log (public) db_1row db_1row (public) twt::do_request twt::do_request (public) faq::twt::edit_Q_A faq::twt::edit_Q_A faq::twt::edit_Q_A->aa_error faq::twt::edit_Q_A->aa_get_first_url faq::twt::edit_Q_A->aa_log faq::twt::edit_Q_A->db_1row faq::twt::edit_Q_A->twt::do_request

Testcases:
No testcase defined.

faq::twt::edit_one (private)

 faq::twt::edit_one faq_name faq_new_name

Edits a FAQ from the UI by decoding faq_name and retrieving directly edit URL by faq_id.

Parameters:
faq_name (required)
faq_new_name (required)

Partial Call Graph (max 5 caller/called nodes):
%3 aa_error aa_error (public) aa_get_first_url aa_get_first_url (public) aa_log aa_log (public) db_1row db_1row (public) export_vars export_vars (public) faq::twt::edit_one faq::twt::edit_one faq::twt::edit_one->aa_error faq::twt::edit_one->aa_get_first_url faq::twt::edit_one->aa_log faq::twt::edit_one->db_1row faq::twt::edit_one->export_vars

Testcases:
No testcase defined.

faq::twt::edit_two (private)

 faq::twt::edit_two faq_name faq_new_name

Edits a FAQ from the UI by simulating clicks to the edit page.

Parameters:
faq_name (required)
faq_new_name (required)

Partial Call Graph (max 5 caller/called nodes):
%3 aa_error aa_error (public) aa_get_first_url aa_get_first_url (public) aa_log aa_log (public) twt::do_request twt::do_request (public) faq::twt::edit_two faq::twt::edit_two faq::twt::edit_two->aa_error faq::twt::edit_two->aa_get_first_url faq::twt::edit_two->aa_log faq::twt::edit_two->twt::do_request

Testcases:
No testcase defined.

faq::twt::insert_after_Q_A (private)

 faq::twt::insert_after_Q_A faq_name

Inserts a Question/Answer after another existing one from the UI.

Parameters:
faq_name (required)

Partial Call Graph (max 5 caller/called nodes):
%3 aa_error aa_error (public) aa_get_first_url aa_get_first_url (public) aa_log aa_log (public) ad_generate_random_string ad_generate_random_string (public) db_1row db_1row (public) faq::twt::insert_after_Q_A faq::twt::insert_after_Q_A faq::twt::insert_after_Q_A->aa_error faq::twt::insert_after_Q_A->aa_get_first_url faq::twt::insert_after_Q_A->aa_log faq::twt::insert_after_Q_A->ad_generate_random_string faq::twt::insert_after_Q_A->db_1row

Testcases:
No testcase defined.

faq::twt::new (private)

 faq::twt::new faq_name

Adds a FAQ from the UI.

Parameters:
faq_name (required)

Partial Call Graph (max 5 caller/called nodes):
%3 aa_error aa_error (public) aa_get_first_url aa_get_first_url (public) aa_log aa_log (public) twt::do_request twt::do_request (public) faq::twt::new faq::twt::new faq::twt::new->aa_error faq::twt::new->aa_get_first_url faq::twt::new->aa_log faq::twt::new->twt::do_request

Testcases:
No testcase defined.

faq::twt::new_Q_A (private)

 faq::twt::new_Q_A faq_name question answer

Creates a new Question/Answer from the UI.

Parameters:
faq_name (required)
question (required)
answer (required)

Partial Call Graph (max 5 caller/called nodes):
%3 aa_error aa_error (public) aa_get_first_url aa_get_first_url (public) aa_log aa_log (public) db_1row db_1row (public) twt::do_request twt::do_request (public) faq::twt::new_Q_A faq::twt::new_Q_A faq::twt::new_Q_A->aa_error faq::twt::new_Q_A->aa_get_first_url faq::twt::new_Q_A->aa_log faq::twt::new_Q_A->db_1row faq::twt::new_Q_A->twt::do_request

Testcases:
No testcase defined.

faq::twt::preview_Q_A (private)

 faq::twt::preview_Q_A faq_name

Gets preview of a Question/Answer from the UI.

Parameters:
faq_name (required)

Partial Call Graph (max 5 caller/called nodes):
%3 aa_error aa_error (public) aa_get_first_url aa_get_first_url (public) aa_log aa_log (public) db_1row db_1row (public) twt::do_request twt::do_request (public) faq::twt::preview_Q_A faq::twt::preview_Q_A faq::twt::preview_Q_A->aa_error faq::twt::preview_Q_A->aa_get_first_url faq::twt::preview_Q_A->aa_log faq::twt::preview_Q_A->db_1row faq::twt::preview_Q_A->twt::do_request

Testcases:
No testcase defined.

faq::twt::swap_with_next_Q_A (private)

 faq::twt::swap_with_next_Q_A faq_name

Swaps two adjacent questions in the FAQ from the UI.

Parameters:
faq_name (required)

Partial Call Graph (max 5 caller/called nodes):
%3 aa_error aa_error (public) aa_get_first_url aa_get_first_url (public) aa_log aa_log (public) db_1row db_1row (public) twt::do_request twt::do_request (public) faq::twt::swap_with_next_Q_A faq::twt::swap_with_next_Q_A faq::twt::swap_with_next_Q_A->aa_error faq::twt::swap_with_next_Q_A->aa_get_first_url faq::twt::swap_with_next_Q_A->aa_log faq::twt::swap_with_next_Q_A->db_1row faq::twt::swap_with_next_Q_A->twt::do_request

Testcases:
No testcase defined.
[ show source ]