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
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 |
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 |
Test Life cycle starts IS it Requirments stage or Test Initiation?
What are the enhancements u did after recording ur script?
Lets say,flipkart website...in search button we have entered category[i.e watches] it displays some items...question is how to test price displayed each product is correct or not through qtp
why we use sendkey method in qtp?
In QTP , Test Director combination . what is the role of Test Director? How QTP Launching QTP in T.D ? If it is Winrunner possible. but QTP How it is possible?
1. I have asked the same question for the third time, but i am getting wrong answers. Pls give me the script to count the number of edit boxes or checkboxes in an windows application screen. In windows application childobject is not working, anyone very urgent
What is API
I have the script like this: Browser("Login").Page ("Application").Frame("ScopeFrame").Link("DC3701737 (Active)").Click in which the value "DC3701737" will get changed and i have to use the same value in so many places. I got the value "DC3701737" in to a variable(Say x). Now if i want to pass the variable in to link object .. how? Browser("Login").Page("Application").Frame ("ScopeFrame").Link(x).Click Is it possible to pass any variable into a link object .. so, that the application will select that link automatically? If ur not able to understand, pls let me know.
how to retrieve data from flight resevation->reports
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.
in flight reservation ex once u login, u go into next window where we hav an option of new, open and help etc.. how to fetch those options and to go to respectiv tab accordingly using qtp.. plz let me knw answer for tis as early as possible. Thanks in advance... asha
How can I use Call dlls in QTP ?