Skip to content

Verify SMTP ERROR with UI TEST #249

Open

Description

@wijdench

Hi,

I want to verify in my UI TEST that there is an smtp exception with status code or with a message that is presented in view page : Unable to connect to the remote server

Can you help me!

Activity

  1. robdmoore commented on Aug 2, 2016

    @robdmoore
    Member

    You could search the page content to see if the text you are looking for is present?

    On 2 Aug 2016, at 6:25 PM, wijdench notifications@github.com wrote:

    Hi,

    I want to verify in my UI TEST that ther is an smtp exception with status code or with the message that is presented in view page : Unable to connect to the remote server

    Can you help me!

    —
    You are receiving this because you are subscribed to this thread.
    Reply to this email directly, view it on GitHub, or mute the thread.

  2. wijdench commented on Aug 2, 2016

    @wijdench
    Author

    i know but is there any other way to get the exception message from the server?

    Thanks

  3. robdmoore commented on Aug 3, 2016

    @robdmoore
    Member

    Not really sorry. Selenium is running a web browser - that has absolutely no connection to the web server apart from the connection to port 80/443.

    Rob Moore | Readify Principal Consultant, Technical Specialist (Microsoft Azure) | m +61 400 777 763 | e rob.moore@readify.net | w readify.net

    On 3 Aug 2016, at 1:35 AM, wijdench notifications@github.com wrote:

    i know but is there any other way to get the exception message from the server?

    Thanks

    —
    You are receiving this because you commented.
    Reply to this email directly, view it on GitHub, or mute the thread.

  4. wijdench commented on Aug 3, 2016

    @wijdench
    Author

    ok

    Thanks for your response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions