VB Script Interview Questions
Questions Answers Views Company eMail

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

3143

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.

798




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

CSC,

1464

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

CSC,

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.

Cognizant,

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?

HDFC,

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?

Fastenal,

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

1256


how to write validation function for date in vb script

1525


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

1735


What is the difference between VBScript and JavaScript?

1275


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)

2503






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..

1151


How to replace junk code recorded by QTP with a mall function.

911


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

5233


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

1355


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

734


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

1148


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.

907


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

1464


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.?

1379


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.

1154