can somebody send the script to write a multiplication
table in notepad through qtp
Answer Posted / 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 |
Post New Answer View All Answers
If an application name changes frequently i.e while recording it has the name, in this case, how do qtp handles?
What are the features and benefits of quick test pro (qtp 8.0)?
Hi, I am using 2 excel sheet.First excel sheet works fine with the script, if it opens the 2nd excel sheet,it works fine,but after finish all the rows it is giving the following error in the following line. InValid Procedure call or argument Line (178): "Browser("name:="&result,"application version:=internet explorer 7").Page ("title:=bgt.*", "index:=0").WebList ("name:=SearchType","html id:=Select1","location:=0").Select SearchType1". I have seen a web article says that,If we use any vbscript friendly name it may gives the above error-Invalid procedure call or argument not sure,Am I using any VBScript frienlyName? in the above line? [but the same line is perfecly working for first Excel ] It is little urgent. Any Help Thanks you
What is the virtual object?
what is error and fault in terms of software quality?
What is data driver in qtp?
What is text check point and text area check point?
Dear sir, i want to perform a QTP automated testing for mechancial engineering software like msc adams, msc nastran this softwares will help for mechanical engineering design analysis>> i know oad runner win runner, test director, QTp>> but i dont know how to use for automation
How to save your test using quicktest professional (qtp)?
give me an example where u used good judgement and logic in solving a problem
What is the pros and cons between QTP and Rational Robot
What is Cross browser testing? Does UFT support it?
Why script error occur in between recording in qtp?
how to fetch the values from grid? & qtp recogniges that grid as a webelement? what u do?
can any one say that where we can download the QTP trail version ??????????