Can anyone help me in write coding to get this pattern
*
**
***
****
Answers were Sorted based on User's Feedback
Option Explicit
Dim i,j,k
for i=1 to 5
for j=1 to i
k=k&"*"&" "
Next
k=k&" "&vbnewline
next
msgbox k
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / anil
For i=0 To 4
For j=0 To i
vstr=vstr&"*"&""
Next
vstr=vstr &" "
Next
msgbox vstr
| Is This Answer Correct ? | 3 Yes | 3 No |
Answer / chandu
a=4
for i=1 to a step 1
b= string(i,"*")
c=c&" "&b
next
msgbox c
| Is This Answer Correct ? | 1 Yes | 1 No |
I'm new to QTP, i facing a a problem in the script says"Object not found", "Browser("").page("").frame(Name:=fminfo).webtable(). the issue is, QTp is not able to identify the web table in run time.becuase in that fram"fminfo" there are "n"table and the table do not have the names,Html id. 1) i need to count the number webtables available on that page. 2)need to identify the webtable cell values. 3)How Loop the once i get the count and retrive the cell data of each webtable? Can anyone help on this, plz.. Thanks, Suresh
Mention what is vbscript?
Explain the functionality of vbscript?
How can you fetch the value of a cookie?
Which operator is used to perform the comparison among 2 operands in the vbscript language?
write a vb script to rename a folder from tree4 to tree7
Difference between Do while loop and while wend loop
How will you check that a variable is an array in vbscript?
write any ttest cases using check points and parameterization
How to use QTP Object in .vbs(vbscript file) file Ex: Browser().., wait(), exist() and etc...
Can anybody code this problem for me in VB script - Create an array of 4 elements, increase its size to 7 elements and then find out which of the elements are prime (use functions)
How can you have different number of cells for each row of a table in HTML?