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
What is qtpro?
What is the new version of qtp which is recently released in the market?
Whar are the challenges do we face while testing web based applications using the automation tool QTP or any??
how to write the descriptive programming in QTP for remove the object value and substitute, with a variable then call the validation from excel
I would like to directly import XL file and work on that XL file directly in QTp script in that XL sheet need to allocate workbench,XL sheet and generate two bar graphs automatically how to do that? plz let me know any answers?
How QTP support all types of applications (platforms)?
Which features or drawbacks of QTP lead to the upgrade for a newer version?
Explain features of the latest version of qtp/ uft 12.1?
how do i know how to use tools
What are the check points can be inserted without recording?
how to test load test and block box testing an a web based application pls give ans briefly
Explain the parameter in qtp?
action contains public and private functions but do we resuable that action or not..If it is reusable How..plz tell me the ans
What environment does qtp run in?
i have to login into gmail loginpage i have to pass testcase into userid and password by using functions. the test case of user id is it should take only lowerletters alphabetin between 4 to 6 length.it should not take spectial letters.it should not take numbers.testcase for password is it should take numbers and it should not take alphabets note the following things must happen 1 when i give correct password and userid that password and userid should be seen in QTP result and notepad,xl sheet 2 when i gave in valid password the system willgive message please give valid password that particular messaage should be seen in QTP result,norepa and xl sheet