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 |
During execution, how can we capture the data from the pop- up, ie. when any popup comes with some numbers written on it, then how can we capture the value/number that is coming on the pop-up and save in the dynamic file/or other file, even when the run is going on.
How do you do batch testing in wr & is it possible to do in qtp, if so explain?
How do you synchronization point through DP?
Hi Can u plz suggest who is the Best Faculty for Advanced QTP Scripting in Hyderabad ,plz suggest me..... or send me a replay to satheesh.goli@gmail.com, r make me a call 9866335752
what is vss and cvs what is main difference b/w these two
How is GC reddy online program Will i get placed How are the placements.
How to access values from Unix OS and how to write..
How you can decide which type of object repository you have to use?
Can abody explain me Send keys concept
Hi All, I have QTP installed on my machine but the application under test is on remote machine. I need to automate the scenarios which consist of automatically enter the remote machine through IP address ,record the application in remote machine and run it also when played. Can some one tell how to record the application in remote machine.
If enter into interviewer room? how u introduce with him. with shakehand or waht?
What is the Automation Process followed in your company?