VB Script Interview Questions
Questions Answers Views Company eMail

What are the differences between Visual Basic, VBA and VBScript? When would it be appropriate to use one as opposed to another?

Infosys,

1 8035

How can I write HTML text to the window in VB Script?

2 4320

How can I get the value of an object property or variable in another frame?

1 3619




How can I access an object in another frame?

1 4274

How to learn VB Script, Since iam working with QTP. So i need to learn VB script.

TCS,

4 8603

Suppose by navigation I went from 1 st page to 5 page ,so Write a generic script for coming from any page to the 1st page and by executing where the page may be it will come to 1st page

CybAge,

1 3290

Which is the default Data types in VBScript?

4 4114

give me an ex. of unoverloaded method?

Misys,

2 6094




who you define variables and functions in VB?

1 2982

what is visual basic?

Seion Infotech,

2 3208

How do you create a recordset object in VBScript?

3 11515

What is Querystring collection?

945

Explain the difference between POST and GET Method.

1 3506

Why do we use Option Explicit?

6 8709

How do you write an SQL insert statement?

HCL,

4 3390


Post New VB Script Questions






Un-Answered Questions { VB Script }

Sub link() Dim k As Integer Dim rand As Integer Dim URL As String Dim foldernum As Integer Dim folderstring As String Dim filenum As Integer Dim filestring As String k = 1 'for AC Numbers For i = 11 To 40 foldernum = 0 foldernum = 1000 + i folderstring = CStr(foldernum) folderstring = Mid(folderstring, 2, 3) folder = "ac" & folderstring 'folderstring = Sheets(2).Cells(i, 1) ' for Number of Random files For j = 1 To 10 rand = Int(Rnd * (200 - 1) + 1) filenum = 0 filenum = 1000 + rand filestring = CStr(filenum) filestring = Mid(filestring, 2, 3) 'URL = "http://ceobihar.nic.in/PSCDROM/ac" & folderstring & "/i" & folderstring & "0" & filestring & ".pdf" URL = "http://www.elections.tn.gov.in/pdfs/dt1/" & folder & "/" & folder & filestring & ".pdf" ' URL =http://www.wb.nic.in/wbeco/EROLLS/PDF/English/A001/a0010105 .pdf Cells(k, 1) = folderstring Cells(k, 2) = folder Cells(k, 3) = filestring Cells(k, 3) = URL k = k + 1 Next j Next i End Sub plz define it

1224


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

1111


how to check whether link is disabled in QTP??

4471


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

1197


how to set one column as primary key in QTP and fetch values accordingly

1011


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

823


filter the array values without using filter function?

699


How to find the font in qtp. Scenario:After entering the username and passwd you will be navigate into the "welcome:Username" page.Now I want to extarct font for this message.

882


Write a Script for ATM in QTP

2310


wht must be the interview question on corinthian information technology solutions incorporated.

1289


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.

684


hi what is called GUI in QTP 8.2 and how can we test the apllication using GUI?

939


i need to sort the data using qtp script for this how i need to write a qtp script

2382


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

2438


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

1058