Archive for the ‘Scripts for Testing’ Category:
Sending Emails through Telnet ! 3^;|_ !
Telnet – SMTP Commands (sending mail using telnet)
For the Expert Eye :
MAIL FROM: <sender>
RCPT TO: <recipient>
Data
SUBJECT: <subject>
<enter data>
For the Beginners:
In order to access your mailbox you will need 3 things:
- An active internet connection (an embarrassing stage to miss sometimes!
) - The address of a mail server capable of relaying for you – usually provided by your dial-up provider (e.g. mail.domain.ext)
- A valid email address (e.g. mail@domain.ext)
The first thing to do is to open a connection from your computer to your mail server.
telnet mail.domain.ext 25 More »
Basic QTP Navigate Code Failing :O !
Problem:
Hey Al,
I am testing a browser based application using Internet Explorer 7.0.
I am trying to use this code :
Browser(”Google”).Navigate “www.testsite.com”
And run this code in QTP, page is not opened, no any error is shown and QTP does not fail this code.
When I try the following code:
Browser(”Google”).Back
And run this code in QTP, General Run Error! occurs and QTP fails this code.
I tried these codes using Internet Explorer 6.0 but same problems exist.
How to Recognize Ajax objects in QTP
Problem:
I’m currently trying to automate an application which is using ajax methods to dynamically load data in a dropdown list. My issue is that qtp doesnt seem to be able to recognise the ajax objects. Ive installed all the relevant qtp web extensibility add-ins which they suggest when dealing with ajax objects but still nothing works. The ajax objects are being loaded using javascript and iFrame tags.
More »


