manykarim / robotframework-doctestlibrary

Robot Framework DocTest library. Simple Automated Visual Document Testing.
Apache License 2.0
46 stars 20 forks source link

Multiple keywords with name 'Get Text' when using Doctestlibrary and Seleniumlibrary #28

Closed jaaskilktevry closed 2 years ago

jaaskilktevry commented 2 years ago

Hi,

Multiple keywords with name 'Get Text' found. Give the full name of the keyword you want to use: DocTest.VisualTest.Get Text SeleniumLibrary.Get Text

tests using Get Text fails with this error when using the newest doctestlibrary version. Should I add also library name from now on when using the keyword or could visibility of 'Get Text' -method be changed in doctestlibrary code to prevent this issue?

manykarim commented 2 years ago

If you use both libraries in your test, you need to mention the Libray name, yes. Shall I better change the keyword name?

jaaskilktevry @.***> schrieb am Fr., 29. Okt. 2021, 12:47:

Hi,

Multiple keywords with name 'Get Text' found. Give the full name of the keyword you want to use: DocTest.VisualTest.Get Text SeleniumLibrary.Get Text

tests using Get Text fails with this error when using the newest doctestlibrary version. Should I add also library name from now on when using the keyword or could visibility of 'Get Text' -method be changed in doctestlibrary code to prevent this issue?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/manykarim/robotframework-doctestlibrary/issues/28, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOTUE3C4ICS44LEPMTFFHSTUJKCUTANCNFSM5G7A3Y2Q . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

jaaskilktevry commented 2 years ago

If the effort to change the keyword name in Doctestlibrary side is small, then it would be great if you could change it. Seleniumlibrary is quite widely used so propably many other also facing the same issue.

manykarim commented 2 years ago

ok, Keyword name has been changed. Release is just created and deployed to PyPi

https://manykarim.github.io/robotframework-doctestlibrary/VisualTest.html#Get%20Text%20From%20Document

jaaskilktevry commented 2 years ago

Thanks! Just tested it and tests seem to pass now. I´ll close the issue.