VB Script Interview Questions
Questions Answers Views Company eMail

write a vb-script code to delete all the mails in my gmail in the year 2011

1 3718

hi i am trying for testing job for 3+ experience(fake) can u suggest me what type of projects i can keep in my resume and how much of knoeledge i should have abt that project.thnks in advance.urgt plz

2584

Input = 124 output should be 124421 Please do not use any string functions/variables

Cap Gemini,

8 10185

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

Accenture,

1621

Join the multiple array with out using JOIN function

1 2085

Find Out Length of an array without using Ubound?

1 3917

Can u describe what kind of testing are for OTC derivates by banks.

BoA,

1668

write a vbscript for traffic signal

1 4770

write a vbscrpit to swap values

Adani,

2 4138

I wrote the vbscript code on notepad i was geeting run time error "object required line 1" my code is set usernameobj=Descriptive.Create() usernameobj( "name").value="Username" set passwordobj=Descriptive.Create() passwordobj("name").value="password" set signinobj=Descriptive.Create() signin("name").value="sigin" browser("gmail").page("gmail").WebEdit("usernameobj").set ("enter username") Browser("gmail").Page("gmail").WebEdit("passwordobj").Setsec ure.Crypt.Encrypt("entr password") browser("gmail").page("gmail").WebButton("siginobj").click pls tell me whats wrong

1 3876

i wrote vbscripit code in notepad i got error i am in learning stage if u ps tell me what wrong in my code my error is "object required descriptive at line one run time error"and my code is "set usernameobj=Descriptive.Create() usernameobj( "name").value="Username" set passwordobj=Descriptive.Create() passwordobj("name").value="password" set signinobj=Descriptive.Create() signinobj("name").value="sigin" browser("gmail").page("gmail").WebEdit("usernameobj").set ("enter username") Browser("gmail").Page("gmail").WebEdit("passwordobj").Set secure.Crypt.Encrypt("enter password") browser("gmail").page("gmail").WebButton("siginobj").click

1417

how to write vb script code for login gmail page by using notepad and how to run script in notepad

1 15897

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?

1736

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 ?

1552

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

Microsoft,

2034


Post New VB Script Questions

Un-Answered Questions { VB Script }

How will you get a subset of a array in vbscript?

588


what is the standards used for writing the script in QTP

1892


What are class properties?

656


Explain How do you create a recordset object in vbscript?

566


What purpose does ‘on error resume next’ serves?

550






Mention when to use function procedures and what are its characteristics?

627


What is the purpose of folders object of scripting.filesystemobject class in vbscript?

871


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

1753


1.I want to establish connection with excel and also want to fetch the data using SQL queries. 2.the code should be written in such a way that in future if I want to migrate from excel to MS excess database , then there should be minimal changes.

1519


Mention what is select case statement?

546


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

1686


What is the difference between vbscript and vba?

602


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

549


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


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

1787