Answer Posted / cnu
Function Random(max,min)
Randomize
Random=Int((max-min+1)*Rnd+min)
End Function
Dim A
A = random(100,1)
msgbox ("The random numer is:" &A)
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
What is the difference between a dictionary and an array?
give me any information abou vb script books learn quckly
Which object is used to work with the excel sheets in the vbscript language and what statement is used to create this object?
PLz send me the VB scripts which is having more examples my email id : hareen_11@yahoo.com
Set srchobj=Description.Create() srchobj("type").value="text" srchobj("name").value="q" srchobj("html tag").value="input" browser("micclass:=google").Page("micclass:=google").webedit (srchobj).Set "qtp" what's wrong in my code pls tell me ? the above code working fine and i got my result pass,now i am trying to run the program it shows general run time error why?pls help me i am in learning stage ?
Compare java script and vb script?
We have 1 web page with names column. I am giving the Service Providers1,2,3.... @ that time dynamically some no of names are displaying in the webpage and The Pop up windows are opening(No.of Pop Up windows=No.of Names). The names may be diffar for each and every Service Provders (Dynamically) How can we handle the Dynamic values?
What are the naming conventions while declaring a variable in the vbscript language?
How to open excel in vb script?
wat is the com(common object model)object for mozilla firefox???????plz if any one know the exact answer....reply me......
who will create the object?
if u ve resrevation for train and u get a number supose 1234xxxokie.after sucessul entering all required fields. now u put that number in search and want to chk wether these ar same or not if both ar same then its okie otherwise test fail.what would be the vb script code for it to compare these two values of different page.
what is the object hyrarchy in QTP for a web based application
Differentiate javascript and vbscript?
How can the spaces from the string be removed?