QTP Script to write multiplication table

Script to write multiplication table of 5 in notepad.

Set f=createobject("scripting.filesystemobject")
set g=f.createtextfile("d://xyz.txt")
For i=1 to 10
g.writeline i&"*5="&i*5
Next

createtextfile("d://xyz.txt") creates notepad by name "xyz"in D drive
output of this script in notepad will be
(path-d://xyz.txt)

1*5=5
2*5=10
3*5=15
4*5=20
5*5=25
6*5=30
7*5=35
8*5=40
9*5=45
10*5=50


QTPScript for connecting to database
Types of Testing
Testing Material
Test Scenario for Search Engine
QTP Faqs
Manual Faqs
Sql Server Faqs
Load Runner Faqs
Descriptive Programming for Yahoo Login Page
D.P for getting checkbox checked status

No comments:

Related Posts Plugin for WordPress, Blogger...