@@ -18,13 +18,13 @@ Resource resource.robot
1818*** Test Cases ***
1919Check Titles of Multiple Browser-Windows
2020 @{BrowserA_Titles } = Get Window Titles browser=BrowserA
21- Should Be Equal ${BrowserA_Titles } ${BrowserA_EXP_TITLES }
21+ Should Be Equal ${BrowserA_Titles } ${BrowserA_EXP_TITLES }
2222 @{BrowserB_Titles } = Get Window Titles browser=BrowserB
23- Should Be Equal ${BrowserB_Titles } ${BrowserB_EXP_TITLES }
23+ Should Be Equal ${BrowserB_Titles } ${BrowserB_EXP_TITLES }
2424 @{BrowserC_Titles } = Get Window Titles browser=BrowserC
25- Should Be Equal ${BrowserC_Titles } ${BrowserC_EXP_TITLES }
25+ Should Be Equal ${BrowserC_Titles } ${BrowserC_EXP_TITLES }
2626 @{All_Browsers_Titles } = Get Window Titles browser=ALL
27- Should Be Equal ${All_Browsers_Titles } ${ALL_BROWSERS_EXP_TITLES }
27+ Should Be Equal ${All_Browsers_Titles } ${ALL_BROWSERS_EXP_TITLES }
2828
2929Check Count of Handle
3030 Check Handle Count 3 BrowserA
@@ -46,12 +46,12 @@ Check Count of Identifiers
4646
4747Check Locations
4848 @{Locations } = Get Locations browser=ALL
49- Should Be Equal As Strings @ {Locations } [0 ] ${FRONT_PAGE } javascript/dynamic_content.html?1
50- Should Be Equal As Strings @ {Locations } [1 ] ${FRONT_PAGE } javascript/dynamic_content.html?2
51- Should Be Equal As Strings @ {Locations } [2 ] ${FRONT_PAGE } javascript/dynamic_content.html?3
52- Should Be Equal As Strings @ {Locations } [3 ] ${FRONT_PAGE } javascript/dynamic_content.html?4
53- Should Be Equal As Strings @ {Locations } [4 ] ${FRONT_PAGE } javascript/dynamic_content.html?5
54- Should Be Equal As Strings @ {Locations } [5 ] ${FRONT_PAGE } javascript/dynamic_content.html?6
49+ Should Be Equal As Strings $ {Locations } [0 ] ${FRONT_PAGE } javascript/dynamic_content.html?1
50+ Should Be Equal As Strings $ {Locations } [1 ] ${FRONT_PAGE } javascript/dynamic_content.html?2
51+ Should Be Equal As Strings $ {Locations } [2 ] ${FRONT_PAGE } javascript/dynamic_content.html?3
52+ Should Be Equal As Strings $ {Locations } [3 ] ${FRONT_PAGE } javascript/dynamic_content.html?4
53+ Should Be Equal As Strings $ {Locations } [4 ] ${FRONT_PAGE } javascript/dynamic_content.html?5
54+ Should Be Equal As Strings $ {Locations } [5 ] ${FRONT_PAGE } javascript/dynamic_content.html?6
5555 ${count } Get Length ${Locations }
5656 Should Be Equal As Integers 6 ${count }
5757
@@ -87,12 +87,12 @@ Get Specific Locations and Title
8787 Switch Window title:WindowA1
8888 Location Should Be ${FRONT_PAGE } javascript/dynamic_content.html?1
8989 @{Locations } = Get Locations browser=BrowserB
90- Should Be Equal @ {Locations } [0 ] ${FRONT_PAGE } javascript/dynamic_content.html?4
91- Should Be Equal @ {Locations } [1 ] ${FRONT_PAGE } javascript/dynamic_content.html?5
90+ Should Be Equal $ {Locations } [0 ] ${FRONT_PAGE } javascript/dynamic_content.html?4
91+ Should Be Equal $ {Locations } [1 ] ${FRONT_PAGE } javascript/dynamic_content.html?5
9292 ${count } = Get Length ${Locations }
9393 Should Be Equal As Integers ${count } 2
9494 @{Titles } = Get Window Titles browser=BrowserC
95- Should Be Equal @ {Titles } [0 ] WindowC1
95+ Should Be Equal $ {Titles } [0 ] WindowC1
9696 ${count } = Get Length ${Titles }
9797 Should Be Equal As Integers ${count } 1
9898
@@ -157,7 +157,8 @@ Check Identifiers Count
157157Switch Window By Location
158158 [Arguments] ${selected_location }
159159 @{IDs } = Get Browser Ids
160- :FOR ${id } IN @{IDs }
161- \ @{locations } = Get Locations browser=${id }
162- \ Run Keyword If '${selected_location } ' in $locations
163- ... Switch Window url:${selected_location } browser=${id }
160+ FOR ${id } IN @{IDs }
161+ @{locations } = Get Locations browser=${id }
162+ Run Keyword If '${selected_location } ' in $locations
163+ ... Switch Window url:${selected_location } browser=${id }
164+ END
0 commit comments