20141002 09:29:22.029 WARN Keyword 'Select From List' found both from a user created test library 'Selenium2Library' and Robot Framework standard library 'Remote'. The user created keyword is used. To select explicitly, and to get rid of this warning, use either 'Selenium2Library.Select From List' or 'SwingLibrary.Select From List'. Now when I grep my test data, I did not find keyword that would not have prefix Selenium2Library. or SwingLibrary. in front of the "Select From List" keyword. So did look at the output.xml around the time when warning was issued and in there I see: <status status="PASS" endtime="20141002 09:29:22.027" starttime="20141002 09:29:21.999"></status> </kw> <kw type="kw" name="Selenium2Library.Select From List"> <doc>Selects `*items` from list identified by `locator`</doc> <arguments> <arg>${locator}</arg> <arg>${data_type}</arg> </arguments> <msg timestamp="20141002 09:29:22.031" level="TRACE">Arguments: [ u'xpath=//select[@name="type"]' | u'Boolean' ]</msg> So the log is also saying that the Selenium2Library. prefix is there, when the keyword is executed. Therefore this leaves me quite confused, why the warning was raised? I did also grep (grep -i "Select From List" output/output.xml | grep -iv Selenium2Library) the whole output.xml and did not find where the warning could be issued. Actually the only output of the grep was: <arg>Select From List By Label</arg> <msg timestamp="20141002 09:27:36.118" level="TRACE">Arguments: [ u'Select From List By Label' | u'${selector}' | u'${managed_role}' ]</msg> But that is from different time and from different keyword. So I am more confused what is going on. The test executes the keywords successfully and test passes. So I have no idea where or why the warn message is issued. Does anyone have any pointers where to look next? -Tatu |
--
You received this message because you are subscribed to the Google Groups "robotframework-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to robotframework-u...@googlegroups.com.
To post to this group, send email to robotframe...@googlegroups.com.
Visit this group at http://groups.google.com/group/robotframework-users.
For more options, visit https://groups.google.com/d/optout.
Ugh
At least I have learned to write custom (and some of the standard libraries) with the libraryName.keywordName syntax, because there always is namespace collisions. So from my point of view fixing the point 3 in 2.8.6 is OK. Of course some others may not feel it like that and doing backwards incompatible change in minor release is not always recommended.
-Tatu
Send from my mobile