write a vb script to display
*****
*****
*****
*****
*****
Answers were Sorted based on User's Feedback
Answer / mudaseer
for i=1 to 5 step 1
for j=1 to 5 step 1
vstr=vstr & "*" & " "
next
vstr=vstr & vbnewline
next
msgbox vstr
Is This Answer Correct ? | 4 Yes | 0 No |
Answer / eswar
cnt =0
x = "*"
For i=1 to 25
y=y&x
cnt = cnt+1
If cnt = 5 Then
cnt = 0
y = y&" "
End If
Next
MsgBox y
Is This Answer Correct ? | 0 Yes | 0 No |
Answer / prathyusha
for i=1 to 5
for j=1 to 5
v=v&"*"
next
n=n&vbcrlf&v
next
msgbox n
Is This Answer Correct ? | 0 Yes | 0 No |
In our application qtp unable to indentify the menu items,we tried number of times to add objetcs into object repository but fail. through normal recording mode only objects going to add into repository but while running same recording script qtp showing a error like " unable to indentify the object". in repository there is no any properties and pro values for that object and also i tried with virtual object config also unable to find the object in application and in repository. Then what i have to do to identify menu objects????? can anybody hell me pls..............
write any ttest cases using check points and parameterization
What is wrong with the following code: <%afname="header.asp"%><!?#include file ="<%=afname%>"?>
How do you write an SQL insert statement?
I want to count the total no of links present in yahoo home page. The script like Set fileSysObject=createobject("Scripting.FileSystemObject") Set linksFileName=fileSysObject.opentextfile("D:\samplelinkfile.txt",2,true) Set linkDescObj=description.Create linkDescObj("micclass").value="Link" Set noOfLinks=browser("yahoo").Page("Yahoo!India").ChildObjects(linkDescObj) For i=0 to noOfLinks.count-1 linkName=noOfLinks(i).getROProperty("name") linksFileName.writeline(linkName) Next linksFileName.close Set fileSysObject=nothing But while running the script it is fail (the object not present in the object repository).How to overcome please tell me the detail steps...for QTP9.30
Give examples where vb script can directly run on users system with windows as os?
Difference between Function and Sub routine?
Write a program to display the numbers in the below format using for loops? 1 2 3 4 5 6 7 8 9 10 11 12 and Write a program to display the numbers in the below format using for loops. 1 2 3 4 5 6 7 8 9 10
Explain about vb script?
What is difference between Active screen and movie screen recorder in QTP 9.2?
How to check the particular window is exist or not with out using check points
How to get the background color of a weblist?