Write a script to print below pattern 5 4 3 2 1 5 4 3 2 5 4 3
5 4 5
Answer Posted / vishnu
'5 4 3 2 1
'5 4 3 2
'5 4 3
'5 4
'5
For i=5 to 1 step -1
temp = temp & i
Next
For i=5 to 1 step -1
print temp
temp = left(temp,i-1)
Next
| Is This Answer Correct ? | 4 Yes | 2 No |
Post New Answer View All Answers
What is the use of defining a newobject in the object repository "Define New TestOject". How to use this further. If we define new testobject, how can it recognizes the objects properties of any application.
Can launch two instances of qtp on the same machine?
how did u use automating testing tools in ur job?
Explain runtime dynamic settings?
How many types of recording facility are available in quicktest professional?
Explain the benefits of quick test pro(qtp)?
Can we create user defined functions in qtp?
Tell some commonly used Excel VBA functions?
Please help me by providing the License key for QTP 9.2, at guru_aarya@yahoo.co.in Best Regards Gururaj.B
Explain the difference between data driven testing and parameterization ?
Explain advantages and disadvantages of ddf?
How to do the scripting. Is there any inbuilt functions in qtp as in qtp-s.
What is an expert view and keyword view?
how to evalute defects in QTP script?
What is Curd testing?