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
What is the basic concept of quicktest professional?
if our qtp vb Script may be Currepted then What we want do?
Explain the check points in quicktest professional (qtp)?
Can you brief the hurdles you faced during Automation testing?
Which scripting language used by quicktest professional?
How do you configure QTP AND Test director?
Can anybody let me know how to test the Drag and drop feature of the column in a .net application...eg..i hav to test the drag and drog feature of a table(swftable) in a application..plze help!!
Describe how Smart Identification is used
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
What are the disadvantages of recording test cases in qtp?
What is the quicktest professional (qtp) testing process?
What are the ways you can synchronize?
how we connect 1. qtp9.2 to the quality center9.0? 2. Load runner8.0 to the quality center9.0
how to fetch the values from grid? & qtp recogniges that grid as a webelement? what u do?
i have two questions for regular expression :- Q1. I have date pattern eg-29/11/2011 29-11-2011 29.11.2011 Que- if any separator is there between date,month and year pattern should match else it should not match eg- pattern should not match in case of 2911-2011 Q2. let say i have a string and there is a number in between of that string eg.-Amount 30002.234 successfully credited to your account . now i have to match this pattern in such a way that even if decimal is not there pattern should match ,how i will do this using regular expression