Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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

Answers were Sorted based on User's Feedback



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

Answer / lakshmi

for i=1 to 5
for j=5 to i step -1
temp=temp & " "& j
Next
temp=temp&vbcrlf
Next
Msgbox temp

Is This Answer Correct ?    3 Yes 0 No

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

Answer / vishnu

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 ?    0 Yes 3 No

Post New Answer

More QTP Interview Questions

can u explain about QTP Frameworks? what are the framework types are available? and How to set or create frame work for a application? Explain briefly?(Also give me one example)

1 Answers  


Types of properties that Quick Test learns while recording?

1 Answers   Crea,


what is the difference between development and testing

1 Answers  


what is action in QTP?

1 Answers   Infosys,


What is the Difference between copy to action and call to action?

0 Answers  


why the smart identification is not there in WinRunner

1 Answers   DigiTech,


can u give one scenario for for PopWindow Exception & write Code for that?

2 Answers   Cap Gemini,


Explain the features of quick test pro(qtp)?

0 Answers  


There is an excel file of 1 to 100 sheets how you will iterate through it?

0 Answers  


when you press a link it displays "the page cannot be displayed" then as a tester how you will find the problem,what type of problem must be it?

3 Answers  


What is the Difference between test object and run time object?

0 Answers  


How to capture a window in qtp or how to take snapshot of any window while writing script in qtp

3 Answers  


Categories