New Test
open /billing/callc/logout
type login_username admin
type login_psw admin1
clickAndWait commit
verifyTextPresent Succesfully logged in
open /billing/test/load_delta_sql/calls_for_hgc
open /billing/stats/last_calls_stats
select date_from_year label=2010
select date_from_month label=September
select date_from_day label=2
select date_from_hour label=01
select date_from_minute label=02
select date_till_year label=2012
select date_till_month label=May
select date_till_day label=3
select date_till_hour label=06
select date_till_minute label=42
clickAndWait commit
waitForTextPresent ANSWERED (16)
verifyText disposition_211 ANSWERED (16)
verifyText disposition_212 ANSWERED (18)
verifyText disposition_213 ANSWERED (11)
verifyText disposition_214 ANSWERED (16)
verifyText disposition_218 ANSWERED (14)
verifyText disposition_215 ANSWERED (16)
verifyText disposition_216 ANSWERED (17)
verifyText disposition_220 ANSWERED (16)
verifyText disposition_217 ANSWERED (16)
verifyText disposition_219 ANSWERED (16)
verifyText disposition_221 ANSWERED (16)
waitForTextPresent Test User #1
waitForTextPresent User Resellers
mouseOver disposition_211
verifyElementPresent WzBoDyI
waitForTextPresent 16 - Normal call clearing
mouseOver disposition_212
verifyElementPresent WzBoDyI
waitForTextPresent 18 - No user responding
open /billing/stats/last_calls_stats?csv=1&test=1
waitForTextPresent ANSWERED(14)
waitForTextPresent ANSWERED(16)
open /billing/stats/last_calls_stats?pdf=1&test=1
waitForTextPresent OK
open /billing/callc/logout
type login_username 101
type login_psw 1011
clickAndWait commit
verifyTextPresent Succesfully logged in
open /billing/stats/last_calls_stats
select date_from_year label=2010
select date_from_month label=September
select date_from_day label=2
select date_from_hour label=01
select date_from_minute label=02
select date_till_year label=2012
select date_till_month label=May
select date_till_day label=3
select date_till_hour label=06
select date_till_minute label=42
clickAndWait commit
verifyText disposition_211 ANSWERED
verifyText disposition_212 ANSWERED
verifyText disposition_213 ANSWERED
verifyText disposition_214 ANSWERED
verifyText disposition_215 ANSWERED
open /billing/stats/last_calls_stats?csv=1&test=1
waitForTextPresent ANSWERED
open /billing/stats/last_calls_stats?pdf=1&test=1
waitForTextPresent OK
open /billing/callc/logout
type login_username user_reseller
type login_psw user_reseller1
clickAndWait commit
verifyTextPresent Succesfully logged in
open /billing/stats/last_calls_stats
select date_from_year label=2010
select date_from_month label=September
select date_from_day label=2
select date_from_hour label=01
select date_from_minute label=02
select date_till_year label=2012
select date_till_month label=May
select date_till_day label=3
select date_till_hour label=06
select date_till_minute label=42
clickAndWait commit
verifyText disposition_218 ANSWERED
verifyText disposition_216 ANSWERED
verifyText disposition_220 ANSWERED
verifyText disposition_217 ANSWERED
verifyText disposition_219 ANSWERED
verifyText disposition_221 ANSWERED
open /billing/stats/last_calls_stats?csv=1&test=1
waitForTextPresent ANSWERED
open /billing/stats/last_calls_stats?pdf=1&test=1
waitForTextPresent OK
open /billing/callc/logout
type login_username admin
type login_psw admin1
clickAndWait commit
verifyTextPresent Succesfully logged in
open /billing/functions/settings
click //div[@id='tabTabdhtmlgoodies_tabView1_5']/span
check change_if_hgc_not_equal_to_16_for_users
clickAndWait commit
waitForValue change_if_hgc_not_equal_to_16_for_users on
open /billing/callc/logout
type login_username 101
type login_psw 1011
clickAndWait commit
verifyTextPresent Succesfully logged in
open /billing/stats/last_calls_stats
select date_from_year label=2010
select date_from_month label=September
select date_from_day label=2
select date_from_hour label=01
select date_from_minute label=02
select date_till_year label=2012
select date_till_month label=May
select date_till_day label=3
select date_till_hour label=06
select date_till_minute label=42
clickAndWait commit
verifyText disposition_211 ANSWERED
verifyNotText disposition_212 ANSWERED
verifyText disposition_212 FAILED
verifyNotText disposition_213 ANSWERED
verifyText disposition_213 FAILED
verifyText disposition_214 ANSWERED
verifyText disposition_215 ANSWERED
open /billing/stats/last_calls_stats?csv=1&test=1
waitForTextPresent ANSWERED
waitForTextPresent FAILED
open /billing/stats/last_calls_stats?pdf=1&test=1
waitForTextPresent OK
open /billing/callc/logout
type login_username user_reseller
type login_psw user_reseller1
clickAndWait commit
verifyTextPresent Succesfully logged in
open /billing/stats/last_calls_stats
select date_from_year label=2010
select date_from_month label=September
select date_from_day label=2
select date_from_hour label=01
select date_from_minute label=02
select date_till_year label=2012
select date_till_month label=May
select date_till_day label=3
select date_till_hour label=06
select date_till_minute label=42
clickAndWait commit
verifyNotText disposition_218 ANSWERED
verifyText disposition_218 FAILED
verifyNotText disposition_216 ANSWERED
verifyText disposition_216 FAILED
verifyText disposition_220 ANSWERED
verifyText disposition_217 ANSWERED
verifyText disposition_219 ANSWERED
verifyText disposition_221 ANSWERED
open /billing/stats/last_calls_stats?csv=1&test=1
waitForTextPresent FAILED
waitForTextPresent ANSWERED
open /billing/stats/last_calls_stats?pdf=1&test=1
waitForTextPresent OK