TestStack / TestStack.Seleno

Seleno helps you write automated UI tests in the right way by implementing Page Objects and Page Components and by reading from and writing to web pages using strongly typed view models.
http://teststack.github.com/TestStack.Seleno/
MIT License
180 stars 60 forks source link

Test sending Email with selenium webdriver using c# #252

Open wijdench opened 7 years ago

wijdench commented 7 years ago

Hi,

I want to get a link in email body sended on button click in my application, i used Test Server Mail Tool in local to get all emails.

Is there any way to do it?

robdmoore commented 7 years ago

I'm sorry, but I'm not sure what this has to do with selenium? Surely this is just a function of your web application?

wijdench commented 7 years ago

I mean that i want to automate the porocess of sending email and getting a link from email body with automated UI TEST with Seleno Selenium Webdriver.

robdmoore commented 7 years ago

You'll have to use an email account that allows programmatic access to the email content, or use some sort of local mail server that allows programmatic access.

wijdench commented 7 years ago

I want to use a local email server called "Test Mail Server Tool". but i don't know how to switch to this server to get email information