Write a script to print below pattern 5 4 3 2 1 5 4 3 2 5 4 3
5 4 5

Answer Posted / bhargavi

For i = 1 To 5
For j = 5 To i Step -1
  temp = temp & " " & j
Next
If i=5 Then
  print temp
End If
Next 

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do know the number of browsers opened?

619


when will you do debug your script? and explain that process?

1443


What is the use of text output value in quicktest professional?

499


Hi Friends, Can anyone help me out in this one? In QTP, I am using Data Driver and want to parameterise multiple values (say 3 values ) for a field. How can I do it using Data Driver wizard? Plz mention it step-by-step. In the end after doing the needful, on opening the Data Driver window, how can I get number (i.e. 3) in the Parameterised column for that particualr value? Thanks a lot in advance.

1437


How to analyzing test results using quicktest professional (qtp)?

576






tell me QTP standards ?plz

1508


i want information about API testing and i want info like how process can be done in company? i want added info like coding ,debugging, desing in c.v ? what should add in c.v for eg banking domin? pls any answer my question?

1596


How can i check items sorted or not in a weblist ? Give me the script for this...

1568


How to import a test case present in ".xls" file to TD under a Test set?

732


What are the types of object repository?

571


What is expert view and keyword view?

618


Is it possible to call from one action to another action in qtp?

550


How software automation specialist enter steps in the Expert View?

1665


If I change the object name in one action will it be updated in all the actions? Or not?

589


Write a script to verify font style and color of a windows object using descriptive programming

829