write a vb script to generate 3*3 matrix
Answers were Sorted based on User's Feedback
Answer / mudaseer
dim varr(2,2)
for i=0 to 2 step 1
for j=0 to 2 step 1
varr(i,j)=inputbox("enter the value")
next
next
for i=0 to 2 step 1
for j=0 to 2 step 1
vstr=vstr & varr(i,j) & " "
next
msgbox vstr
vstr=vstr & vbnewline
next
msgbox vstr
by mudaseer20@gmail.com
Is This Answer Correct ? | 3 Yes | 0 No |
Answer / smita
dim varr(2,3)
for i=0 to ubound(a,1)
for j=0 to ubound(a,2)
varr(i,j)=inputbox("enter the value")
next
next
for i=0 to 2 step 1
for j=0 to 3 step 1
vstr=vstr & varr(i,j) & " "
next
vstr=vstr & vbnewline
next
msgbox vstr
Is This Answer Correct ? | 0 Yes | 0 No |
Explain How do you create a recordset object in vbscript?
I am working on QTP, got struck in one place.. In my application depending upon configuration WebEdit count is increasing/ decreasing.. how to get these webedits..
how to validate the text in a web table
Mention what is the main difference between function and sub-procedure?
after medical test,when will be the police verification
1. How do declare public variable in vb scripts?
Hi Friends, I have an issue like the describe below: I'm using QTP and I'm testing on SharePoint. As you knoe, SharePoint has a customize function for user, so that, If I add an object Web Table at the first time, that object was recognized by "index" and "html tag", after that, if someone change the display of web part, the "Index" of my object was changed as well and QTP unable to select that Web Table. Can you guide me how to identify or anyway to keep that Web Table object as unique object? Thanks a lot.
we executed QTP scripts in one browser(i.e IN)same scripts is working on another browsers or not (i.e mean netscap,m azol..like )
how to operate webobjects in a webpage using getobject function and then using generic methods?
when we use filter funtiom invb script(QTP)
give me any information abou vb script books learn quckly
Hi All, I am facing one problem in QTP. There is link object in my application that exist in the Frame in mozilla firefox. Click event on that object is not working but once the frame is enabled/activated then click event works fine.But the frame does not have the activate property. This problem is coming in firefox only. Regards