can we test GUI and a network protocol (SNMP) using selenium?



  • I have to test a website using Selenium.

    This website is a graphical user interface for controlling a device and to shows data from that device.

    This device is using SNMP which is used to give an alert when something goes wrong.

    My task is to test both, GUI and SNMP using Selenium.

    Is it possible to test a GUI and a network protocol using Selenium? Or do I have to use another framework with Selenium?

    Is there a framework to test both GUI and Network protocol?



  • With Selenium alone you may not be able to test your Web GUI and the SNMP set-up.

    Selenium is only for automation actions that can be performed in a web browser. So it won't help in testing SNMP.

    But assuming you are using Java you can use other Java code and libraries to test your SNMP set-up.

    Here are a few references that you refer to achieve your goal,

    https://www.snmp4j.org/

    https://examples.javacodegeeks.com/enterprise-java/snmp4j/test-driven-development-snmp4j/

    http://techdive.in/snmp/log4j-snmp-trap-appender

    https://stackoverflow.com/questions/11451073/test-snmp-connection-availability

    You may also find such libraries for other programming languages as well.




Suggested Topics

  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2