Can we validate sending mail in QTP?if yes how we validate
NOTE : [This question was asked by venkatrao]
Can we validate sending mail in QTP?if yes how we validate
NOTE : [This question was asked by venkatrao]
Question asked by visitor janaki
How to check if a paticular mail has hit the user's microsoft outlook mailbox?
Use macro code for this. Plain VB code will also work
Hi,
I want to find a mail in outllok using Subject which i have got on system date.
Please help.. Its very urgent,...!
It might be possible through recording.
Whenever your e-mail has been sent, you get some kind of confirmation. You can create a Text/Standard checkpoint for that particular WebElement if you are using the Keyword View. Else, you will have to write a script to check if that particular WebElement exists if you are using the Expert view.
How to find the particular row in the table?
I have a email system in which I want to capture the subject which is in some particualr row and the row keeps changing for each email. How can I capture this row. Please help
Also, how to write check point for message is sent or not.
Thanks!
Question asked by visitor Raj
1. Use regular expressions.
2. Find a WebElement in the Message Sent page, something that is static. Use that as a checkpoint (this is just one of the many ways this can be done though).
validate sending mail in QTP .....may not work properly......because WebElement sometimes are not properly recognized by QTP.....
If anyone has solution pls share them.
Hi anshoo,
Am using Normal recording mode.....
Are you using Keyword view or expert view? Sorry, I got mixed up with things. This is what I wanted to know. Different solutions for different QTP view type.
Keyword view .....
You can create a Standard (or Text) Checkpoint "on the text" that appears right after you send the e-mail to validate if the e-mail has been sent. Highlight that particular WebElement, right click and Insert the Checkpoint you want. Please let me know if this works out for you.
If mail is sent we always display a message to user for usability, where you can use text checkpoint for confirmation that mail has been sent.
But it is not 100% confirmation, because case may be that application is displaying the message correct but not sending the mail in real.For this you may required to add database checkpoint also, because whenever mail will sent, definately there will be a change in database value for pending and sent mails.
Will anyone explain it ?
I mean how to use macro code for this scenario?
Last edited by jainbrijesh; 02-20-2008 at 05:46 AM.
Regards,
Brijesh Jain
---------------------------------------------------------
Connect with me on Skype: jainbrijesh
Google Plus : jainbrijeshji
You can find out the Email Item in the Inbox.....It is possible.But Can you please let me know for exactly what you are looking for ?