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

Answer Posted / pravati

Write a script to print below pattern 5 4 3 2 1 5 4 3 2 5 4 3 5 4 5
x="5 4 3 2 1 5 4 3 2 5 4 3 5 4 5"
y=split(x," ")
msgbox ubound(y)
For i = 0 to ubound(y) Step 1
msgbox y(i)
Next

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is clean sweep?

1368


Hi All, I have QTP installed on my machine but the application under test is on remote machine. I need to automate the scenarios which consist of automatically enter the remote machine through IP address ,record the application in remote machine and run it also when played. Can some one tell how to record the application in remote machine.

1551


Functions call by reference and call by value. i want the diff b/n these 2 and how will be the script for this?in which situation we use these 2..?pls explain me clearly

1242


write a script to validate the content in the web application. (do it by OR method) and (do it by Descriptive method by creating a description object..

1792


In qtp, how you can exit for loop?

517






What is the Command used to start the QTP

1524


what is the difference between modular framework & datadriven framework

1587


How you calling actions in qtp?

618


What are the types of object repositories? Which one is you are using?

618


what is the frame work in J-meter?

1588


When QTP object wait time is 10 seconds, and in test script wait time is 5 seconds and in function library wait time is 2 seconds how much time does the wait occur? or which is given priority.

1617


What are the advantages of a Hybrid framework?

590


can any boby tell me what is method or steps to connect the remote desk top by using QTP 9.2 version?

1613


How to Get the Run-time value of an object under that web app under Test to the local data table sheet of that Action?

3562


Please help me by providing the License key for QTP 9.2, at guru_aarya@yahoo.co.in Best Regards Gururaj.B

2901