Write a script to print below pattern
5 4 3 2 1
5 4 3 2
5 4 3
5 4
5
Answer Posted / 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 View All Answers
Connect to QC using AOM.
Why we load add-ins in qtp?
Can any body please tell me the steps of keyword driven frame work in qtp. My mail is saswat445@gmail.com please send some materials on keyword driven testing in qtp. thanks a lot...
How can we use the "CreateObject("Shell.Application")" in QTP and what is the definition and purpose of it?
How do we handle run-time errors?
How many types of recording modes are there?
what r the main attributes of test automation?
can any body plz help by sending the qtp docs and qtp ppt's? this is my mail id:murali.padeti@gmail.com
What are the views available in qtp?
I am getting an error "failed to open the XML checkpoint result viewer" in result window,after clicking on "View XML checkpoint results".Someone suggest me settings,if any...
How many tabs are available to view your test in a test pane and what are they?
What is meant by Output Value in UFT?
How to find the name of the machine where you are running your automation scripts in qtp?
Hi How to retrieve data from web element line by line?
How can we import into Excel "Details" ,"Result" ,"Time" parameters from within a Results Report which is generated after a Run error when a script is executed in QTP? Refer E.g below Status Functionality Description RunDate Fail Login User should be able to Login 12/3/2007 StartTime EndTime Details* 1:31:58 PM 1:32:29 PM (this one i want)