VB Script Interview Questions
Questions Answers Views Company eMail

i am having some basic knowledge in c and VB 6.0. i qtp i want to know how to write the codings. by recording it is generating lot of codings. for example i want to test the text box. senerio is text box should not accept alphabets if it accept alphabets we should return fail status if it get number we should return pass status. how to write coding in vb script please help me


hey please tell me how to retriev data from excel sheet which puts the login name and password in the application? plz send me the code..please help me


6 5390

What is the differene between QTP 8.2 and QTP 9.0 and QTP 9.1,Pls give me answer ASAP.


3 4008

we executed QTP scripts in one browser(i.e IN)same scripts is working on another browsers or not (i.e mean netscap,m azol..like )


6 7527

Hi I don't have any idea on VBscript. can any one point me to a good web site to learn VBscript. Regards lina

2 3222

Can automation testing find ssame no. of bugs what we can find by manual testing?


How will you generate Reports using Vb Script?it asked in testing(QTP)Interview.Plz Any Body Let me know. Thanks uday Uday_testing@yahoo.co.in


4 12561

How can you test font size, type and color using QTP tool?

3 17682

if u ve resrevation for train and u get a number supose 1234xxxokie.after sucessul entering all required fields. now u put that number in search and want to chk wether these ar same or not if both ar same then its okie otherwise test fail.what would be the vb script code for it to compare these two values of different page.


Please Example programms on vbscript 1)writing functions and calling functions


2 4010

How should i Create Email invite with server-side Coding?



how to write function to validate the number of characters entering into the text box?


2 4439

how to write basic programs in VB Script like addition, multiplication?

14 43715

i want to when we will write the scripts either after getting the build or after getting the SRS?

3 2675

can anybody tell vb script code for alphanumeric and special character .which is used in qtp the name text field.

1 3726

Post New VB Script Questions

Un-Answered Questions { VB Script }

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


how to acces the remote mechine using vb cript(QTP)


regular expression that will recognize a browser as long as its name property starts with mybrowser


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


How to add actions in driver script to run those actions in QTP?


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


Please let me Know regarding any material regarding VB Scripting which should be easily understandable for Beginners.


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.


Can automation testing find ssame no. of bugs what we can find by manual testing?


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


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


How to take whole text output from screen of Bitmap Application.


How should i Create Email invite with server-side Coding?


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


Write a Program to add 2 numbers without using operators (+,-) and without using third variable. Note: Use VBScript only Hint: You can use other operators like '/' & '*'(Division & Multiplication)