VB Script Interview Questions
Questions Answers Views Company eMail

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


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

4 3043

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.


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



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


1 2832

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 1532

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


2 4444

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 3960

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

CTS, Cap Gemini,

10 22162

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

Cap Gemini,

1 1530

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

1 5233

Check whether given Number is Even or Odd?


2 4640

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 3051

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

Mind Q Systems,

1 2608

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


1 2754

Post New VB Script Questions

Un-Answered Questions { VB Script }

Capture the Unique label changes on google home page for I am feeling lucky button and save those label changes to Notepad Note: Using QTP


how to write validation function for date in vb script


write a function to read the items from combobox of Flight reservation & save in excel (QTP)??


What is the difference between VBScript and JavaScript?


Write a Program to add 2 numbers without using operators (+,-) and without using third variable. Note: Use VBScript only Hint: You can use other operators like '/' & '*'(Division & Multiplication)


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 replace junk code recorded by QTP with a mall function.


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


Can any one provide code for Mid(string,start[,length]). I have been asked to write code for Mid(). i.e We need to define our own function say MyMid() which should behave same like built-in Mid function


how to answer "TELL ME ABOUT UR SELF" as exp.person. whr to start and whr to stop. can anyone tel me


How to make professional test report using vbscript code in UFT, which gives us complete analysis of the test.


Hi Friends Rajendra this is bhavani prasad, iam working Hyderabad. i faced one problem with qtp recording mode i.e in my application there is 100 records first we click the first record that record will be jumped to next session and 99 records will there stop the recording and run the same script .Run this script qtp does not identify the records. So plz tell me what is the solution.


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


Write a function for Instr(). We need to write a function that works as same as Instr(). Code or Even pseudo code is good enough for me.?


Hello friends..... Can any give the methods for Ms-Access, and Mozilla firefox in Automation Object Model in QTP. Please give me currect answers... if you do not understand my question please don't give answers. Thanking you.