VB Script Interview Questions
Questions Answers Views Company eMail

How to Convert Hex color code to color name in VB Script?

3922

how to find number of characters(letter a) in the sentence Rain Rain Go away

4 4981

Hai this is sheik, i want to learn VB scripts for web application pls guide me what are all basic things need to know to learn VB scripts in web application.

1421

create a form to accept username and password validate the username and password with using message box, display the corresponding user message

CSC,

2147

input values to accept 2 numbers & print the product, difference and sum using switch case

CSC,

1 4045

hai..friends ....what is the difference between function and sub procedure ....here every one know's theoretically here my question is what is the meaning of function can return the value and sub can't return the value...can you give one example with some values for that ....what does it mean ? how function can return the value...sub can not...any one please...........with example

Cap Gemini,

1 2697

How to get 120 using 5 zeroes, you can use any operator(+, *, /...) in qtp.

Cognizant,

2 5762

if there is any string in a given format like as "company name employeecode date" then we have to fetch employeecode form string for ex-string is "capgemini12345june2013" then we have to fetch 12345 by using vb script so guys how can we do that please reply it.

Cap Gemini,

3 5763

How to remove the spaces in a string Ex: "Welcome to QTPWorld" ?

Cap Gemini, CTS,

10 29040

what does create object actually do when you call it in vbscript?

Cap Gemini,

1 2648

what is the use of QCUtil? explain with one example?

1 6310

Check whether given Number is Even or Odd?

HDFC,

2 5989

w r p syed then output was deys and click eysd and click ysde and click sdey and click deys and click eysd............

Cap Gemini, iGate,

2 4702

write a script to count no drives in file systems in qtp?

Mind Q Systems,

1 3479

How to pass the parameter from one function to another function in VB Scripting?

Fastenal,

1 3899


Post New VB Script Questions

Un-Answered Questions { VB Script }

what is the use of QCUtil? explain with one example?

6310


How can you create an object in vbscript?

608


Which respective symbols are used to separate a line and to break the lengthy statement into multiple statements in the vbscript language?

787


Can automation testing find ssame no. of bugs what we can find by manual testing?

1453


Explain few date functions in vbscript?

604






Could Anybody Please tell me What is the script for Find 3rd Largest element in the Array without using a SORT function int Find(int arr[], int size); Thanks in Advance..

2009


If we take 2 strings as “good” and “bad” then what will ‘+’ and ‘&’ operators return?

527


Mention what is vbscript?

587


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 ?

1542


Explain the operator precedence in vb script?

641


Explain about vb script?

738


hi Set myobj=Description.Create() myobj("type").value="submit" myobj("name").value="google search" myobj("html tag").value="button" browser("title:=google").page("title:=google").webButton (myobj).Click i was running above code in one weak back it was working fine i got result,again i opened after few days ,again i was trying to run the code it shows run time error in last line of my code ,why ?pls answer my question?

1721


Differentiate javascript and vbscript?

556


Both Static and dynamic arrays are handled by VB script. Is it true?

601


i wrote vbscripit code in notepad i got error i am in learning stage if u ps tell me what wrong in my code my error is "object required descriptive at line one run time error"and my code is "set usernameobj=Descriptive.Create() usernameobj( "name").value="Username" set passwordobj=Descriptive.Create() passwordobj("name").value="password" set signinobj=Descriptive.Create() signinobj("name").value="sigin" browser("gmail").page("gmail").WebEdit("usernameobj").set ("enter username") Browser("gmail").Page("gmail").WebEdit("passwordobj").Set secure.Crypt.Encrypt("enter password") browser("gmail").page("gmail").WebButton("siginobj").click

1407