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

Answer Posted / ravi

make sure the no untitle notepad in the taskbar
Multiplication table 5 upto 10

SystemUtil.Run"notepad"
Window("text:=Untitled - Notepad").Activate
For i = 1 to 10
x = 5 * i
Window("text:=Untitled - Notepad").Type "5 *" & i &"=" &x
Window("Notepad").Type micReturn
Next


By
Ravi

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to do the scripting. Is there any inbuilt functions in qtp as in qtp-s.

533


please post the interview questions for QA position in FACTSET

3954


In application which areas to be automated and what kind of situation will be take? using QTP? Plz give me the clear answer

1943


Does QTP record on Objects created on XWindows Environment?

1662


how we implement share object repository in QTP 9.0 without using quality Centre , Explaine in brief

1540






What are benefits of qtp?

584


i am trying to automate yatra.com,in that site, when i go to automate the Leaving from field showing as a WEBEDIT, but when i enter 1 or 2 char, it displaying dropdownlist, i try to use keyboard automation to select the item from that list but it is not possible, can anybody help he. Thans for posting the Answer

3497


How can i check items sorted or not in a weblist ? Give me the script for this...

1579


Can testing be done on the production system, or will a separate test system be required? How are browser caching, variations in browser option settings, dial-up connection variabilities, and real-world internet 'traffic congestion' problems to be accounted for in testing?

620


How to find the name of the machine where you are running your automation scripts in qtp?

521


after click on compose mail how can we attached a file in qtp with vbscript code

1616


please any one can explain the keyword driven framework. with gmail example.

1629


Hi Friends, Would be great if you can provide the Model Question paper, Web site link or any reference s. Thanks & Regards, Byzoor,

1348


Is QTP supports Unix. If yes, then how the test automation is done?

1729


What is recovery scenario in qtp?

586