VB Script Interview Questions
Questions Answers Views Company eMail

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

534

What is the use of the instr function?

582

Which conditional statement is the most convenient one to use in the case of multiple conditions in the vbscript language?

524

What are keywords in the vbscript language?

526

What is the use of the formatdatetime function in the vbscript language?

554

What purpose does ‘on error resume next’ serves?

550

How are comments handled in the vbscript language?

511

Which event is triggered when mouse focus comes out of an element in the vbscript language?

509

Why is error handling required?

574

Which constant is used for print and display functions and works as same as pressing enter key?

528

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

591

Which operator is used for fetching the modulus of the 2 numbers in the vbscript language?

549

Which function is used to perform string comparison?

564

Which object is used to work with the excel sheets in the vbscript language and what statement is used to create this object?

483

What is the use of the recordset object and which statement is used to create such an object?

529


Post New VB Script Questions

Un-Answered Questions { VB Script }

What are events in the vbscript language?

552


what types of bugs will we find out in banking projects for automation testing?

1764


can anyone send me a vb scripts code for clicking on a link and coming back on home page again does the same for many links on a web page.

1842


Explain about constants in vb script?

573


Which object is used to work with the excel sheets in the vbscript language and what statement is used to create this object?

483






What is the use of the instr function?

582


i have a problem with this error(this error related edit and delete button,when i click this button in datagrid..i will get this error)"Invalid postback or callback argument. Event validation is enabled using in configuration or <%@ Page EnableEventValidation="true" %> in a page. For security purposes, this feature verifies that arguments to postback or callback events originate from the server control that originally rendered them. If the data is valid and expected, use the ClientScriptManager.RegisterForEventValidation method in order to register the postback or callback data for validation." this is my code : <%@ Page Language="VB" Debug="false" %> <%@ import Namespace="Sytem.Data" %> <%@ import Namespace="System.Data.OleDB" %>

(Search Based On Staff I.C No) IC.No (XXXXXX-XX-XXXX)   ' runat="server"> ' runat="server"> ' runat="server"> ' runat="server"> ' runat="server"> ' runat="server"> ' runat="server"> ' runat="server"> ' runat="server"> ' runat="server"> ' runat="server"> ' runat="server"> ' runat="server"> ' runat="server"> ' runat="server"> Total Leave Taken : Days

2342


How many types of operators are available in the vbscript language?

537


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

2393


If a calulator having 3 buttons (of any number)in 3 of them one is not working properly due to which answer is wrong always. write a script to find out which button is not working properly ?

1558


give me any information abou vb script books learn quckly

1657


What is the difference between for loop and while loop?

550


What is select case statement?

604


What are string functions in vbscript?

656


Hi Friends, I have an issue like the describe below: I'm using QTP and I'm testing on SharePoint. As you knoe, SharePoint has a customize function for user, so that, If I add an object Web Table at the first time, that object was recognized by "index" and "html tag", after that, if someone change the display of web part, the "Index" of my object was changed as well and QTP unable to select that Web Table. Can you guide me how to identify or anyway to keep that Web Table object as unique object? Thanks a lot.

2556