can somebody send the script to write a multiplication
table in notepad through qtp
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / murugeshkumar.s
dim fso,fname
set fso=createobject("scripting.filesystemobject")
set fname=fso.cretetextefile("c:\mtable.txt")
for i=1 to 20
fname.writeline i&"*12="&i*12
next
Is This Answer Correct ? | 1 Yes | 0 No |
Answer / 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 |
I want to do Certification course in QTP. For this I request you to suggest the best Tutorial in PDF format, if possible, kinldy mail PDF file to my mail-ID: ramakrishna908@gmail.com Regards, krishna.
Hi guys i'm prepareing for interview question for qtp i don't have bayground for vb scipt language can any one tell me it is easy to do job in qtp without bayground.
What are the benefits of qtp?
my assignment is,how can i differentiate between readed & unreaded mails in my inbox ?, since for both readed & unreaded having same properties for both test objects &run time objects
What are the parameters provided by QTP?
is it possible to change the date format like MM/DD/YY into DD/MM?YY through script in QTP
What are the differences between table and db checkpoints?
write a VBscript code to parametrize test script using test data from sqlserver database?
How do you open adobe acrobat file in QTP and do some testing on that file ?
What is Maximum synchronization time out in QTP(By Default is 20sec). Anybody can answer it. Thanks in advance.
Which features or drawbacks of QTP lead to the upgrade for a newer version?
What do you mean by iteration?