VB Script Interview Questions
Questions Answers Views Company eMail

Write a program to resize an array of 5 elements to 4 elements and display all the elements.

1 2119

Create a file system object to do the following i. Create a folder ii. Create a text file in the folder iii. Update text file with some tex

2 2737

write a Vb script to find a whther a selected drive exits.

CTS,

1 2297

Dear All, I am geting below IE error whilie executing the QTP scripts in Batch mode "Internet Explorer has encountered a problem and needs to close. We are sorry for the inconvenience." can any one suggest me how to resolve this issue . Thanks Balaji

1227

How to search word in a string without using instring function?

CSS Corp,

1 2416

reverse the string without using reverse string?

CSS Corp,

2 2251

compare the string without using stringcomp function?

CSS Corp,

1 1901

print the array values in ascending order?

CSS Corp,

2 2141

find the length of the string without using length function?

CSS Corp,

4 3054

join all the array values without using join function?

CSS Corp,

1 2243

filter the array values without using filter function?

CSS Corp, WQED,

1643

Hi everybady, i have faced few Qns in one of i attended interview, please help me out with these below Qns. 1. how to join values without using join function? 2. how to compare values without using String compare function? 3. input is Bangalore, but i need output like this below format, what is function to use and get this outcome B A N G A L o R E 4. Input is "CapGemini" but uotput should be like this "inimeGpaC" 5. Input is 1 1 2 1 2 3 1 2 3 4 1 2 3 4 5 Can someone let me know results of this Qns, please. Thanks.

CSS Corp,

2 2936

Consider there are objects in a webapp which are identified by QTP. Suppose you know only the logical name of a object(absolutely nothing else about it). Which approach will you take to find the "micClass" of the object(You can't use Object Spy, or can't add the object in repository)?

HCL,

2 2789

how do you make the variable declaration mandatory?what is the use of "option explicit"?

2 2286

Write a program using Java Script / VBscipt that checks if two matrices have identical values in all the elements

Ignou,

1 5461


Post New VB Script Questions

Un-Answered Questions { VB Script }

How to throw an error in vbscript?

591


What is the difference between for loop and while loop?

540


How are values assigned to the variables in the vbscript language?

560


Why is error handling required?

559


What is the difference between function and procedure?

559






Mention what if you do not specify anything when you call a procedure?

562


Mention the rules for using option explicit statement?

469


How will you get the exponent of the given number in vbscript?

544


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

2344


How are arrays declared in the vbscript language?

526


Hi, Can anyone please send me vb script examples to practice vb and also material to learn vb scripting in QTP? my email id : hareen_11@yahoo.com

1808


For a webbased application:- what should be code in expert veiw, for retrieving a single column name "username" from a server and checking whether exported "username" from datatable doesn't exist in server. suppose i have saved in excelsheet a username="gayatri" , which is exported, then checked for whether this username "gayatri" exist in server database or not ? if exist then allow to enter new username, which should be again checked for in loop , or else come out of loop and enter a distinct "username". plz let me have this answer in my id gayatrisahooin@hotmail.com

1741


Which date function is used in the vbscript language to find the difference between the 2 dates?

579


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

1327


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?

1720