can somebody send the script to write a multiplication
table in notepad through qtp

Answer Posted / tvsramakrishnachowdary

x=inputbox("enter the no for which to have mul table :")
x=cint(x)
SystemUtil.Run "notepad"
Window("text:=Untitled - Notepad").Activate
For i = 1 to 10
y = x * i
Window("text:=Untitled - Notepad").Type x&"*"&i&"="&y
Window("text:=Untitled - Notepad").Type micReturn
Next

Is This Answer Correct ?    0 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the differences between qtp and winrunner?

521


I have qtp 9.5 demo ver,I am not able to record the yahoo broeser.so anyone can tell me what setting i have to do in QTP for yahoo brower recording. why its not recognise the object of yahoo browser????

2146


Mention the different actions types of qtp.

571


What is data driver in qtp? Where we use it?

561


hi i have 4 yrs exp in manual and automation testing using QTP i need sample resumes plz can u send this mail id pbre1980@gmail.com

1406






How to read a text file from QC using QTP. I would like to do something like this. But instead read a file from QC and NOT from my local drive. Set fso = CreateObject("Scripting.FileSystemObject") Set InputFile = fso.OpenTextFile("C:\test.txt", ForReading) Thanks

2747


How to use debug tools?

2191


how to test load test and block box testing an a web based application pls give ans briefly

1351


How to use the object spy in quicktest professional (qtp) 8.0 version?

506


Output values? i want a practical example

1309


can i change the runtime properties of an object ? How can i check if a parameter exists in database ?

1410


Dis advantages of XML checkpoint ?

1573


Is any limitation to xml checkpoints?

553


Can any one tell me about "Mapping Repository Parameter Values" and why we use it....??How to use it???Please, tell the preconditions also...........???? Thanks in Advance

1496


What are the two types of repositories available, explain them?

588