Fix Multiple keywords with name 'Open Browser' found
Reference: https://robotframework.org/Selenium2Library/Selenium2Library.html
NOTE: Selenium2Library has been renamed to SeleniumLibrary since version 3.0.
Nowadays Selenium2Library is just a thin wrapper to SeleniumLibrary that eases
with transitioning to the new project. See SeleniumLibrary and Selenium2Library
project pages for more information.
Resolves openbmc/openbmc-test-automation#2161
Change-Id: I63acceb9452eba35765d0292115ed5bac3db256c
Signed-off-by: George Keishing <gkeishin@in.ibm.com>
diff --git a/security/test_bmc_connections.robot b/security/test_bmc_connections.robot
index e057b6e..34cf521 100644
--- a/security/test_bmc_connections.robot
+++ b/security/test_bmc_connections.robot
@@ -14,7 +14,7 @@
Library Collections
Library XvfbRobot
Library OperatingSystem
-Library Selenium2Library 120 120
+Library SeleniumLibrary 120 120
Library Telnet 30 Seconds
Library Screenshot
@@ -169,7 +169,8 @@
${status}= Run Keyword If ${i} % 100 == 0 Run Keyword And Return Status
... Open Browser ${bmc_url}
Append To List ${status_list} ${status}
- Run Keyword If '${status}' == 'True' Run Keywords Close Browser AND Switch Browser browser1
+ Run Keyword If '${status}' == 'True'
+ ... Run Keywords Close Browser AND Switch Browser browser1
END
${fail_count}= Count Values In List ${status_list} False