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 |
Suppose u run ur script today and it is working fine ,nobody has changed the setting and all.u r the owner for the script. But when tomorrow I ran the same script again it got failed and It didn't able to identify one object. Can you tell me what would be the reason for this
h u call the function
how we connect oracle or sql data server database to qtp.
where the object repository is located?how to choose the object repository as shared or action object repositories?
Hi, every one aim new to automation testing(QTP),aim looking for software versions any. If any one can HELP me that will be great. Thank u.(9620427211,Bangalore)
I am using environment variable xml to give credenatials for login into unix. Is there any way we cam mask the password in the xml?
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
Where we can use the synchronization?
what is the use of descripting programming?
Hi, i run scripts in one machine those r passed.when i run the scripts in client side those r failed.Give me such a scenario when ever u faced?
Explain script generated after applying database check point?
i want know iam working 2+ exp in QTP can i do performence testing (eg:loadrunner) yes r no?