1. Test Test Case Name: IRCTC 2. Requirement Number: 100 3. Module Module Name: Plan my travel 4. everity: everity: Criti!al "Criti!al#Ma$or#Minor% &. Pre'Condition: Pre'Condition: (!!ount (!!ount s)ould be !reated *. Test Test +ata: ,ser Name-,N: Name-,N: $ayaramrai/Passord-P+: $ayaramrai/Passord-P+: sa$a . Tye o5 Test Case: 6un!tional 6un!tiona l Test Test Case 7. 8rie5 +es!rition: T)is T)is Test Test Case is been ritten to validate Test est ssce cena nari rio o
Test est obj objec ecti tive ve
Test Case ID
Successful launching of the application
To Verify Verify for the successful launching of the application
TC_001
Successful login of the user
To Verify Verify for the successful login of the user
TC_002
Open Plan my Travel page successfully
To verify for the display of Plan my Travel TC_003 screen along !ith follo!ing " #rom edit field $ #etch Station code %utton at the right side of edit field& %y default 'nter City (ame message should %e displayed inside #rom edit field) " To To edit field $ #etch Station code %utton at the right side of edit field& %y default 'nter City (ame message should %e displayed in side To edit field) " *ate field $ Open to calender %utton %utton at the right side of *ate field& %y default it should display current date and should s hould %e in **+,,+---- format) " Class field.Com%o %o/& %y default it should sho! Select Select class message inside %o/) " Ticet Type along !ith help lin " i+ ticet radio %utton
" e+ ticet radio %utton "5uota Chec %o/ for Tatal 6uota along !ith help lin " #ind Transfer %utton " 7eset %utton
TC_00
8eave the #rom edit field !ithout entering any data $ enter valid data in remainting fields
To verify for the #rom edit field not to accept an empty field)
TC_00
'nter invalid data in #rom edit field
To verify for the #rom edit field not to accept the invalid data
TC_004
'nter none/isting city name in #rom edit field
To verify for the #rom edit field& should drop an error message Station (ame (ot '/istfor none/isting city name)
TC_009
To verify for the #rom edit field must drop
TC_00:
#etch Station code option .#rom field
To Verify Verify for the TC_00; #etch Station code page .#rom #ield should not open& and it should pop up an error message Please 'nter atleast three Characters
Open #etch Station code page successfully .#rom field
To Verify for the TC_010 successful open of the #etch Station code page .#rom feld along !ith follo!in o%=ects) " Sation name edit field along !ith ,andatory indication .>?> sym%ol %efore the edit field& %y default it should display the data same as in #rom edit field) " >Su%mit> %utton " >7eset> %utton " 8ist of station field& !ith all the availa%le stations if any) " >@o> %utton
Anvaid Sation (ame in Sation name edit field .#rom field
To verify for the Sation name edit field not to accept the invalid data
TC_011
'nter none/isting city name in Sation name edit field .#rom field
To verify for the Sation name edit field& should display an error message SO77-BBB (o ,atching Stations #ound .!ith 7ed #ont color for none/isting city name)
TC_012
TC_013
8eave the To To verify for the edit field To edit field not to !ithout accept an empty field) entering any data $ enter valid data in remainting fields
TC_01
'nter invalid data in To edit field
TC_01
To verify for the To edit field not to accept the invalid data
'nter none/isting city name in To edit field
To verify for the TC_014 To edit field& should drop an error message Station (ame (ot '/ist for none/isting city name)
TC_019
#etch Station code option .To field
TC_01:
To Verify for the #etch Station code page .To #ield should not open& and it should pop up an error message Please 'nter atleast three Characters
Open #etch Station code page successfully .To field
To Verify for the TC_01; successful open of the #etch Station code page .To feld along !ith follo!in o%=ects) " Sation name edit field along !ith ,andatory indication .>?> sym%ol %efore the edit field& %y default it should display the data same as in To edit field) " >Su%mit> %utton " >7eset> %utton " 8ist of station field& !ith all the availa%le stations if any) " >@o> %utton
Anvaid Sation (ame in Sation name edit field .To field
To verify for the Sation name edit field not to accept the invalid data
TC_020
'nter none/isting city name in Sation name edit field .To field
To verify for the Sation name edit field& should display an error message SO77-BBB (o ,atching Stations #ound .!ith 7ed #ont color for none/isting city name)
TC_021
TC_022
*ate field
To varify !hether the date field is in **+ ,,+---- format
TC_023
** com%o%o/ To varify ** com%o%o/
TC_02
,, com%o%o/
To varify ,, com%o%o/
TC_02
--- com%o%o/
To varify ---- com%o%o/
TC_024
Anvalid *ate
To vefify for the date field not to accept the invalid date
TC_029
TC_02:
TC_02;
Class Co +ate o5 aroval:
TC_030 TC_031
nasri/,R:)tt:##.ir!t!.!o.in i!9et reservation Description
Input
" Open the ro!ser " 'nter the test D78 " Clic on E@OF %utton
Test URL http://www.irctc.co.in
" Open the ro!ser " 'nter the test D78 " Clic on E@OF %utton " 'nter the valid Dser name in GDser (ame edit fieldH " 'nter the valid Pass!ord in GPass!ord edit fieldH " Clic on EloginF %utton
• Test URL http://www.irctc.co.in • UN: jayaramrai • PWD: sajanasri
" Open the ro!ser " 'nter the test D78 " Clic on E@OF %utton " 'nter the valid Dser name in GDser (ame edit fieldH " 'nter the valid Pass!ord in GPass!ord edit fieldH " Clic on EloginF %utton " Clic on the Plan ,y Travel lin at the left navigation %ar
• Test URL http://www.irctc.co.in • UN: jayaramrai • PWD: sajanasri
" Open the ro!ser " 'nter the test D78 " Clic on E@OF %utton " 'nter the valid Dser name in GDser (ame edit fieldH " 'nter the valid Pass!ord in GPass!ord edit fieldH " Clic on EloginF %utton " Clic on the Plan ,y Travel lin at the left navigation %ar " 8eave the #rom edit field !ithout entering any data " 'nter valid city name in To edit field " 'nter valid date in *ate field " Select valied Class " Select valied Ticet Type " Clic on >#ind Trains> %utton
• Test URL http://www.irctc.co.in • UN: jayaramrai • PWD: sajanasri
" Open the ro!ser " 'nter the test D78 " Clic on E@OF %utton " 'nter the valid Dser name in GDser (ame edit fieldH " 'nter the valid Pass!ord in GPass!ord edit fieldH " Clic on EloginF %utton " Clic on the Plan ,y Travel lin at the left navigation %ar " 'nter invalid data in #rom edit field
• Test URL http://www.irctc.co.in • UN: jayaramrai • PWD: sajanasri • rom edit field: 0 1 2 3 4 an( man5 "67NN89 "7NTR8L .
• To edit field: an!alore "y #n$%"& • Date field: '( )ar '*+* • "lass field: %leeper "lass$%L& • Tic,et Type: e-tic,et
" Open the ro!ser " 'nter the test D78 " Clic on E@OF %utton " 'nter the valid Dser name in GDser (ame edit fieldH " 'nter the valid Pass!ord in GPass!ord edit fieldH " Clic on EloginF %utton " Clic on the Plan ,y Travel lin at the left navigation %ar " 'nter none/isting city name in #rom edit field " 'nter valid city name in To edit field " 'nter valid date in *ate field " Select valied Class " Select valied Ticet Type " Clic on >#ind Trains> %utton
• Test URL http://www.irctc.co.in • UN: jayaramrai • PWD: sajanasri • rom edit field: an !alore London • To edit field: an!alore "y #n$%"& • Date field: '( )ar '*+* • "lass field: %leeper "lass$%L& • Tic,et Type: e-tic,et
" Open the ro!ser " 'nter the test D78 " Clic on E@OF %utton " 'nter the valid Dser name in GDser (ame edit fieldH " 'nter the valid Pass!ord in GPass!ord edit fieldH " Clic on EloginF %utton " Clic on the Plan ,y Travel lin at the left navigation %ar " 'nter valid data in #rom edit field& data must %e more than 3 charactor
• Test URL http://www.irctc.co.in • UN: jayaramrai • PWD: sajanasri • rom edit field: an )an! Delhi "67NN89 "7NTR8L
" Open the ro!ser " 'nter the test D78 " Clic on E@OF %utton " 'nter the valid Dser name in GDser (ame edit fieldH " 'nter the valid Pass!ord in GPass!ord edit fieldH " Clic on EloginF %utton " Clic on the Plan ,y Travel lin at the left navigation %ar " 'nter invalid data in #rom edit field " Clic on >#etch Station code> %uttonI J
• Test URL http://www.irctc.co.in • UN: jayaramrai • PWD: sajanasri • rom edit field: a 8 $ Nm;er of charaters shold ;e less than <&
" Open the ro!ser " 'nter the test D78 " Clic on E@OF %utton " 'nter the valid Dser name in GDser (ame edit fieldH " 'nter the valid Pass!ord in GPass!ord edit fieldH " Clic on EloginF %utton " Clic on the Plan ,y Travel lin at the left navigation %ar " 'nter valid data in #rom edit field " Clic on >#etch Station code> %uttonI J
• Test URL http://www.irctc.co.in • UN: jayaramrai • PWD: sajanasri • rom edit field: )an!alore $ Nm;er of charaters shold ;e more than or e=als to <&
" Open the ro!ser " 'nter the test D78 " Clic on E@OF %utton " 'nter the valid Dser name in GDser (ame edit fieldH " 'nter the valid Pass!ord in GPass!ord edit fieldH " Clic on EloginF %utton " Clic on the Plan ,y Travel lin at the left navigation %ar " 'nter valid data in #rom edit field " Clic on >#etch Station code> %uttonI J " Clear the default data in Sation name edit field and then enter invaild data " Clic on >Su%mit> %utton)
• Test URL http://www.irctc.co.in • UN: jayaramrai • PWD: sajanasri • rom edit field: )an!alore $ Nm;er of charaters shold ;e more than or e=als to <& • "lear the defalt data in >%ation name edit field> and then enter : 0 1 2 3 4 an( man5 "67NN89 "7NTR8L .
" Open the ro!ser " 'nter the test D78 " Clic on E@OF %utton " 'nter the valid Dser name in GDser (ame edit fieldH " 'nter the valid Pass!ord in GPass!ord edit fieldH " Clic on EloginF %utton " Clic on the Plan ,y Travel lin at the left navigation %ar " 'nter valid data in #rom edit field " Clic on >#etch Station code> %uttonI J " Clear the default data in Sation name edit field and then enter none/isting city name " Clic on >Su%mit> %utton)
• Test URL http://www.irctc.co.in • UN: jayaramrai • PWD: sajanasri • rom edit field: )an!alore $ Nm;er of charaters shold ;e more than or e=als to <& • "lear the defalt data in >%ation name edit field> and then enter : an !alore eeeeeeeeeeeeeee ??? $Nm;er of character shold ;e in ;etween ' to +@&
" Open the ro!ser " 'nter the test D78 " Clic on E@OF %utton " 'nter the valid Dser name in GDser (ame edit fieldH " 'nter the valid Pass!ord in GPass!ord edit fieldH " Clic on EloginF %utton " Clic on the Plan ,y Travel lin at the left navigation %ar " 'nter valid city name in #rom edit field " 8eft the To edit field !ithout entering any data " 'nter valid date in *ate field " Select valid Class " Select valid Ticet Type " Clic on >#ind Trains> %utton
• Test URL http://www.irctc.co.in • UN: jayaramrai • PWD: sajanasri
" Open the ro!ser " 'nter the test D78 " Clic on E@OF %utton " 'nter the valid Dser name in GDser (ame edit fieldH " 'nter the valid Pass!ord in GPass!ord edit fieldH " Clic on EloginF %utton " Clic on the Plan ,y Travel lin at the left navigation %ar " 'nter invalid data in TO edit field
• Test URL http://www.irctc.co.in • UN: jayaramrai • PWD: sajanasri • To edit field: 0 1 2 3 4 an( man5 "67NN89 "7NTR8L .
• rom edit field: an!alore "y #n$%"& • Date field: '( )ar '*+* • "lass field: %leeper "lass$%L& • Tic,et Type: e-tic,et
" Open the ro!ser " 'nter the test D78 " Clic on E@OF %utton " 'nter the valid Dser name in GDser (ame edit fieldH " 'nter the valid Pass!ord in GPass!ord edit fieldH " Clic on EloginF %utton " Clic on the Plan ,y Travel lin at the left navigation %ar " 'nter valid city name in #rom edit field " 'nter none/isting city name in To edit field " 'nter valid date in *ate field " Select valid Class " Select valid Ticet Type " Clic on >#ind Trains> %utton
• Test URL http://www.irctc.co.in • UN: jayaramrai • PWD: sajanasri • rom edit field: an!alore "y #n$%"& • To edit field: an !alore London • Date field: '( )ar '*+* • "lass field: %leeper "lass$%L& • Tic,et Type: e-tic,et
" Open the ro!ser " 'nter the test D78 " Clic on E@OF %utton " 'nter the valid Dser name in GDser (ame edit fieldH " 'nter the valid Pass!ord in GPass!ord edit fieldH " Clic on EloginF %utton " Clic on the Plan ,y Travel lin at the left navigation %ar " 'nter valid data in To edit field& data must %e more than 3 charactor
• Test URL http://www.irctc.co.in • UN: jayaramrai • PWD: sajanasri • To edit field: an )an! Delhi "67NN89 "7NTR8L
" Open the ro!ser " 'nter the test D78 " Clic on E@OF %utton " 'nter the valid Dser name in GDser (ame edit fieldH " 'nter the valid Pass!ord in GPass!ord edit fieldH " Clic on EloginF %utton " Clic on the Plan ,y Travel lin at the left navigation %ar " 'nter invalid data in To edit field " Clic on >#etch Station code> %uttonI J
• Test URL http://www.irctc.co.in • UN: jayaramrai • PWD: sajanasri • To edit field: a 8 $ Nm;er of charaters shold ;e more than or e=als to <&
" Open the ro!ser " 'nter the test D78 " Clic on E@OF %utton " 'nter the valid Dser name in GDser (ame edit fieldH " 'nter the valid Pass!ord in GPass!ord edit fieldH " Clic on EloginF %utton " Clic on the Plan ,y Travel lin at the left navigation %ar " 'nter valid data in To edit field " Clic on >#etch Station code> %uttonI J
• Test URL http://www.irctc.co.in • UN: jayaramrai • PWD: sajanasri • To edit field: )an!alore $ Nm;er of charaters shold ;e more than or e=als to <&
" Open the ro!ser " 'nter the test D78 " Clic on E@OF %utton " 'nter the valid Dser name in GDser (ame edit fieldH " 'nter the valid Pass!ord in GPass!ord edit fieldH " Clic on EloginF %utton " Clic on the Plan ,y Travel lin at the left navigation %ar " 'nter valid data in To edit field " Clic on >#etch Station code> %uttonI J " Clear the default data in Sation name edit field and then enter invaild data " Clic on >Su%mit> %utton)
• Test URL http://www.irctc.co.in • UN: jayaramrai • PWD: sajanasri • To edit field: )an!alore $ Nm;er of charaters shold ;e more than or e=als to <& • "lear the defalt data in >%ation name edit field> and then enter : 0 1 2 3 4 an( man5 "67NN89 "7NTR8L .
" Open the ro!ser " 'nter the test D78 " Clic on E@OF %utton " 'nter the valid Dser name in GDser (ame edit fieldH " 'nter the valid Pass!ord in GPass!ord edit fieldH " Clic on EloginF %utton " Clic on the Plan ,y Travel lin at the left navigation %ar " 'nter valid data in To edit field " Clic on >#etch Station code> %uttonI J " Clear the default data in Sation name edit field and then enter none/isting city name " Clic on >Su%mit> %utton)
• Test URL http://www.irctc.co.in • UN: jayaramrai • PWD: sajanasri • To edit field: )an!alore $ Nm;er of charaters shold ;e more than or e=als to <& • "lear the defalt data in >%ation name edit field> and then enter : an !alore eeeeeeeeeeeeeee ??? $Nm;er of character shold ;e in ;etween ' to +@&
" Open the ro!ser " 'nter the test D78 " Clic on E@OF %utton " 'nter the valid Dser name in GDser (ame edit fieldH " 'nter the valid Pass!ord in GPass!ord edit fieldH " Clic on EloginF %utton " Clic on the Plan ,y Travel lin at the left navigation %ar
• Test URL http://www.irctc.co.in • UN: jayaramrai • PWD: sajanasri
" Open the ro!ser " 'nter the test D78 " Clic on E@OF %utton " 'nter the valid Dser name in GDser (ame edit fieldH " 'nter the valid Pass!ord in GPass!ord edit fieldH " Clic on EloginF %utton " Clic on the Plan ,y Travel lin at the left navigation %ar " Clic on ** com%o%o/ I J
• Test URL http://www.irctc.co.in • UN: jayaramrai • PWD: sajanasri
" Open the ro!ser " 'nter the test D78 " Clic on E@OF %utton " 'nter the valid Dser name in GDser (ame edit fieldH " 'nter the valid Pass!ord in GPass!ord edit fieldH " Clic on EloginF %utton " Clic on the Plan ,y Travel lin at the left navigation %ar " Clic on ,, com%o%o/ I J
• Test URL http://www.irctc.co.in • UN: jayaramrai • PWD: sajanasri
" Open the ro!ser " 'nter the test D78 " Clic on E@OF %utton " 'nter the valid Dser name in GDser (ame edit fieldH " 'nter the valid Pass!ord in GPass!ord edit fieldH " Clic on EloginF %utton " Clic on the Plan ,y Travel lin at the left navigation %ar " Clic on ---- com%o %o/ I J
• Test URL http://www.irctc.co.in • UN: jayaramrai • PWD: sajanasri
" Open the ro!ser " 'nter the test D78 " Clic on E@OF %utton " 'nter the valid Dser name in GDser (ame edit fieldH " 'nter the valid Pass!ord in GPass!ord edit fieldH " Clic on EloginF %utton " Clic on the Plan ,y Travel lin at the left navigation %ar " 'nter valid city name in #rom edit field " 'nter valid city name in To edit field " 'nter invalid date in *ate field " Select valid Class " Select valid Ticet Type " Clic on >#ind Trains> %utton
• Test URL http://www.irctc.co.in • UN: jayaramrai • PWD: sajanasri • rom edit field: an!alore "y #n$%"& • To edit field: alarai $L& • Date field: AesterdayBs date $7!: 9f TodayBs date is >++ )ar '*+*>C then enter >+* )ar '*+*>& • "lass field: %leeper "lass$%L& • Tic,et Type: e-tic,et
" Open the ro!ser " 'nter the test D78 " Clic on E@OF %utton " 'nter the valid Dser name in GDser (ame edit fieldH " 'nter the valid Pass!ord in GPass!ord edit fieldH " Clic on EloginF %utton " Clic on the Plan ,y Travel lin at the left navigation %ar " 'nter valid city name in #rom edit field " 'nter valid city name in To edit field " 'nter invalid date in *ate field " Select valied Class " Select valied Ticet Type " Clic on >#ind Trains> %utton
• Test URL http://www.irctc.co.in • UN: jayaramrai • PWD: sajanasri • rom edit field: an!alore "y #n$%"& • To edit field: alarai $L& • Date field: reater than or e=al to >"rrent date1+ dayBs> $7!: 9f TodayBs date is >*E )ar '*+*>C then enter >( #ne '*+*>& • "lass field: %leeper "lass$%L& • Tic,et Type: e-tic,et
" Open the ro!ser " 'nter the test D78 " Clic on E@OF %utton " 'nter the valid Dser name in GDser (ame edit fieldH " 'nter the valid Pass!ord in GPass!ord edit fieldH " Clic on EloginF %utton " Clic on the Plan ,y Travel lin at the left navigation %ar " 'nter valid city name in #rom edit field " 'nter valid city name in To edit field " 'nter invalid date in *ate field " Select valid Class " Select valid Ticet Type " Clic on >#ind Trains> %utton
• Test URL http://www.irctc.co.in • UN: jayaramrai • PWD: sajanasri • rom edit field: an!alore "y #n$%"& • To edit field: alarai $L& • Date field: ' e; '*+* $Leep year contain only 'E dayBs& • "lass field: %leeper "lass$%L& • Tic,et Type: e-tic,et
Expected Result
Lo!in pa!e shold ;e displayed
6ome pa!e shold ;e displayed. The left naFi!ation ;ar mst contain >Plan )y TraFel> lin,
The >Plan my TraFel> screen shold ;e displayed alon! with followin! • rom edit field G >etch %tation code> ;tton at the ri!ht side of edit fieldC ;y defalt >7nter "ity Name> messa!e shold ;e displayed in side rom edit field. • To edit field G >etch %tation code> ;tton at the ri!ht side of edit fieldC ;y defalt >7nter "ity Name> messa!e shold ;e displayed in side To edit field. • Date field G >Hpen to calender> ;tton at the ri!ht side of Date fieldC ;y defalt it shold display crrent date and shold ;e in >DD-))-AAAA> format • "lass field$"om;o ;oI&C ;y defalt it shold show >%elect class> messa!e in side ;oI. • Tic,et Type alon! with help lin, • i- tic,et radio ;tton • e-tic,et radio ;tton
Actual Result
Status or Remark
•Jota "hec, ;oI for Tat,al =ota alon! with help lin, • ind Transfer ;tton • Reset ;tton
9t shold pop p an error messa!e >7nter Kale for Train rom>.
9t shold pop p an error messa!e >7nter Hnly 8lpha;ets>
9t shold drop an error messa!e tellin! that >%tation Name Not 7Iist>
The >8to "omplete> ;oI mst drop ;ellow the rom edit field for each data entry $data mst ;e more than or e=als to < charactor&
9t shold pop p an error messa!e >Please 7nter atleast three "haracters>
The >etch %tation code> screen shold ;e displayed alon! with followin! • >%ation name edit field> alon! with )andatory indication $BB sym;ol ;efore the edit field&C ;y defalt it shold display the data >)an!alore>. • B%;mitB ;tton • BResetB ;tton • >List of station> fieldC shold display >)8N8LHR7 "NTL$)8J&> >)8N8LHR7 #N$)8#N&> • BoB ;tton
9t shold pop p an error messa!e >Please 7nter Hnly 8lpha;ets>
9t shold display an error messa!e >%HRRAMMM No )atchin! %tations ond> $with Red ont color&
9t shold pop p an error messa!e >7nter Kale for Train To>
9t shold pop p an error messa!e >7nter Hnly 8lpha;ets>
9t shold drop an error messa!e >%tation Name Not 7Iist>
The >8to "omplete> ;oI mst drop ;ellow the To edit field for each data entry $data mst ;e more than < charactor&
9t shold pop p an error messa!e >Please 7nter atleast three "haracters>
The >etch %tation code> screen shold ;e displayed alon! with followin! • >%ation name edit field> alon! with )andatory indication $BB sym;ol ;efore the edit field&C ;y defalt it shold display the data >)an!alore>. • B%;mitB ;tton • BResetB ;tton • >List of station> fieldC shold display >)8N8LHR7 "NTL$)8J&> >)8N8LHR7 #N$)8#N&> • BoB ;tton
9t shold pop p an error messa!e >Please 7nter Hnly 8lpha;ets>
9t shold display an error messa!e >%HRRAMMM No )atchin! %tations ond> $with Red ont color&
Date field shold ;e in >DD-))-AAAA> format and it mst contain < com;o;oIs: DD com;o;oIC )) com;o;oI and AAAA com;o;oI ;y defalt it shold show crrent dateC month and year
9t mst drop >Drop down ;oI>C contain all the possi;le date$+ to <+&
9t mst drop >Drop down ;oI>C contain all the possi;le )onthBs $>#an> to >Dec>&
9t mst drop >Drop down ;oI>C with all the possi;le Aears • 9f crrent date is less than * days ;efore the ><+-Dec> thenC drop down ;oI contain only crrent year. 4i.e.C crrent date $$<+/Dec&-* days&O • 9f crrent date is !reater than * days ;efore the ><+-Dec> thenC drop down ;oI contain neIt commin! year alon! with crrent year. 4i.e.C crrent date $$<+/Dec&-* days&O
7rror messa!e >Please chec, the jorney date. The Date of jorney shold ;e from today> shold ;e displayed.
7rror messa!e >Please chec, the jorney date>. ReserFation is permitted for * days in adFance with respect to train startin! station $jorney date not to ;e conted&> shold ;e displayed.