VB Script Interview Questions
Questions Answers Views Company eMail

write a vb script to open a text file and write into it

2 2504

write a vb script create 5 folders test1 test2 test3 test4 test5

3 2994

how to delete folder test3,test4 and test5 using vbscript?

2 2869

how to add the shared repository file to the script file while running the script manuall

2 1754

Write a Fucntion to close all Opened browser expect desired one?

Ness Technologies,

2 4873

How to make sure that items in a wintree are sorted al?

Ness Technologies,


How to find a latest file from any folder

Ness Technologies,

3 4034

How to Pass Multiple values in functions by using vb script? Function value(arg1,arg2) N1=arg1+arg2 N2=arg1-agr2 N3=arg1*agr2 N4=arg1/arg2 Value= How to pass ? End Function


3 3881

sunday is sunday monday tuesday wendesday sunday thursday friday saturday sunday sunday how to count no of sunday in the text file from vb? Answer me asap

4 3360

* ** *** Please write a code to get output like above diagram? ple explain as it how the code works?

2 2180

what is the difference between modular and data and keyword driven framework


who will create the object?



how many types of recording are there?

1 1706

what is extension of the file if its saved from recovery manger to some drive

1 1683

what is test scenario?

1 753

Post New VB Script Questions

Un-Answered Questions { VB Script }

How to write VB script for login module?


How to Enter Values on the Command promt using VB script


Write a Script for ATM in QTP


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


I have attended Anovatek Software QTP interview. They will give us computer and one web based application with QTP. We have to automate some records (already updated records or new records) using QTP Data driven testing. But we should use for loop? Can any one know how to do data driven testing using For loop?


1. How to handle object implementation change in DP for Ex: i have login page with username,pasword (editboxes),login,cancel(buttons). Here i written DP code for login page with the help properties. My questions: 1.If properites are changing dynamically i will do (i want code for that) 2.if objects are changed dynamcally i will do (i wnat code for that)


Like OPTION EXPLICIT statement what are the other statements used in vbscript and their usage. Please post me all the statements please.


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 ?


write a program to display configuration of a local system with the help of vb script.


I have an excel sheet with multiple ID's in a column. Now i need fetch those ID's in an application and check whether if it already exist in the DB. If not then i have to go with the process of inserting them in the DB. If it exists then i need to skip that ID and move to the next ID and check the same and proceed. How can i do that with for loop and if condition?


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


filter the array values without using filter function?


when we use filter funtiom invb script(QTP)


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


Hi this is Vinoth. I need a help on below mentioned question A combobox contains list of items assume as 5 I have to get each items Individually and I have to Export to datatable. Please help me on this. Thanks