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
in a web page How to check and display a particular word from a paragraph?
How to find a window is minimized or not
If there is a change in the object type eg: A button is changed as link, 1. How to edit that in the shared object repository. 2.What options are available to edit the object within shared object repository other than copy from loca; 3.What would be the effect of the change in Coded Scripts within QTP and Functions stored in .vbs file which are loaded and used in QTP
I created 3 actions in test suppose I want to run action 1 in single time, action 2 is 4 time what I do?
How to Upgrade or support firefox 2.0 version on QTP 9.0? I have installed QTP 9.0 and installed firefox 2.0. But in REcord and Run Settings, it shows firefox 1.5 in Web tab for browser selection.
how can i sent QTP results to the Html, notefile ,xl file give me the code using g mail login page
hi can anybody help with an qtp 9.2 license key please. Thanks, Nitesh.
Where to use function or action?
I want to know what are QTP functons and what are VB script functions. What is the difference between them.When we have to use these functions.
I am trying to install QTP 9.5 but i am getting error message saying that ("Path is \QuickTest Professional\bin\vb_init.exe") vb_init.exe file is not find. can anybody give me the advise what to do ?
What are the different properties of an web object
What is object repository in qtp?
What is test object model in quicktest professional (qtp)?
What contains Data Driven Framework document in qtp?
How to do the scripting. Is there any inbuilt functions in qtp as in qtp-s.