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
How is a Step generator used in UFT?
Is there any pdf or online book for QTP Scripting? Let me know more about QTP Scripting.
write a script to validate the content in the web application. (do it by OR method) and (do it by Descriptive method by creating a description object.. (give a filter condition only WEbelement- not easy need to use some more property while giving filter condtions- use google for your help...))
How is the Bitmap checkpoint different from Image checkpoint?
How to handle dynamic objects in quicktest professional (qtp)?
How can we use the "CreateObject("Shell.Application")" in QTP and what is the definition and purpose of it?
Do you know how to connect database? Can you tell me the procedures?
Create flight reservation login descriptive programing (Condition: Remove the value and substitute with a variable, and then call the validation from Excel) Plz help me....... very urgent.........
why text area checkpoints cannot used for web applications
How can I change object description or check point values in qtp?
am not having intrest in coding lang like c c++ java etc can i choose Testing tools as my carrier and please suggest me which tool is good (suitable for me)
I need to obtain the parent of an object programatically, so if I have: winButton("aButton") I need to obtain the parent part: window("Window1").Dialog("Dialog1") so I can programatically create a string of the full name of the object to call it with an execute statement in QTP I would like to use something like: part[1] = "window(""Window1"")" part[2] = "dialog(""Dialog1"")" so I can do: exeLine = part[1]&"."&part[2]&"."&"winButton(""aButton"")" Execute exeLine Apart from keeping a record of the window/dialog hierarchy is there a parent or path function/ command Thanks Adrian
If I change the property value at runtime is it effect is object repository?
How to data driven test for Win objects in QTP ?
what is the difference between rational rose and QTP? WHICH TOOL IS BETTER TO LEARN? PLEASE SEND ME AT sana_50218@yahoo.com sandeep@epuratech.com