hgc_stats
open /billing/callc/logout
type login_username admin
type login_psw admin1
clickAndWait commit
verifyTextPresent Succesfully logged in
open /billing/test/load_delta_sql/sql/hgc_two_hundred
open /billing/test/load_delta_sql/calls_for_hgc
open /billing/test/load_delta_sql/calls_for_hgc_stats
open /billing/stats/hangup_cause_codes_stats
select date_from_year label=2010
select date_from_month label=January
select date_from_day label=20
select date_till_year label=2012
select date_till_month label=December
select date_till_day label=20
verifyElementPresent country_id
verifyElementPresent provider_id
verifyElementPresent s_user
clickAndWait commit
waitForTextPresent 9 - Preemption - circuit reserved for reuse
waitForTextPresent 11 - Not standard error code. Consult with Provider.
waitForTextPresent 16 - Normal call clearing
verifyTextPresent 17 - User busy
verifyTextPresent 18 - No user responding
verifyTextPresent 19 - No answer from user (user alerted)
verifyTextPresent 4.3478 %
assertTextPresent 60.8696 %
assertTextPresent 200 - MOR cannot determine who is calling
verifyElementPresent //img[@alt='Call']
clickAndWait //div[@id='table']/table[2]/tbody/tr[6]/td[5]/a/img
waitForTextPresent ANSWERED (16)
verifySelectedLabel s_call_type All
verifyTextNotPresent ANSWERED (17)
verifyTextNotPresent ANSWERED (19)
verifyTextNotPresent ANSWERED (9)
verifyTextNotPresent ANSWERED (13)
verifyTextNotPresent ANSWERED (14)
verifyTextNotPresent ANSWERED (11)
select id=s_hgc label=200 - MOR cannot determine who is calling. The
clickAndWait name=commit
assertText id=disposition_22 FAILED (200)
assertText id=user_22 Unauthenticated
mouseOver id=disposition_22
waitForTextPresent 200 - MOR cannot determine who is calling
mouseOut id=disposition_22
assertElementPresent css=img[alt="Help"]
click css=img[alt="Help"]
assertTextPresent determine who is calling
open /billing/callc/logout
type login_username 101
type login_psw 1011
clickAndWait commit
verifyTextPresent Succesfully logged in
open /billing/stats/hangup_cause_codes_stats
waitForTextPresent You are not authorized to view this page
open /billing/callc/logout
type login_username user_reseller
type login_psw user_reseller1
clickAndWait commit
verifyTextPresent Succesfully logged in
open /billing/stats/hangup_cause_codes_stats
waitForTextPresent You are not authorized to view this page