Home > Interview Questions > Vb Script Interview Questions And Answers For Experienced

Vb Script Interview Questions And Answers For Experienced

Contents

How to assign a numeric value to a variable? Subscribe to GeekInterview Newsletter Yes, Subscribe me to Interview & Career Tips User Name: Password: Verify Password: I have read, and agree to abide by the GeekInterview Talk Forums rules. Use Err.Raise to throw an error. You will need -a Computer running Windows 98 or higher -a Friend (or enemy) with a good sense of humor  Step 1: Open notepad.Show All Items This step is by far http://olivettipc.com/interview-questions/sql-server-interview-questions-and-answers-for-experienced.html

This means that the datatypes doen NOT need to be set while declaring variables in VBScript unlike in VB.Th... case is ignored when reading VBScript scripts. Example − x = 123 y = 123.882 document.write("x value after converting to Long -" & CLng(x) & "
") How will you convert a given number to Single in VBScript? Nowadays, VBScript is the primary scripting language for Quick Test Professional (QTP), which is a test automation tool.

Vb Script Interview Questions And Answers For Experienced

Class is a construct that is used to define a unique type. MsgBox "Error # " & CStr(Err.Number) & " " & Err.Description How to clear an error in VBScript? Bessie ProfileAnswers by BessieQuestions by Bessie VB Script Interview Questions shamimamdProfileAnswers by shamimamdQuestions by shamimamd Sep 28th, 2011 Simple way - Dim L, W --------------------(L and W is a variable) L How to generate the random number in given range in QTP?Answer:Min = 1Max = 10RandomizeRandomNumber = (Int((max-min+1)*Rnd+min))Q 9.

Using Space function, which fills a string with the specified number of spaces. How will you replace a string with another string using VBScript? Disable Ad Blocker Learn More Login GeekInterview Login Create your GeekInterview account Signup Continue Reading after Disabling Refresh

Manual TestingAutomation Testing Qtp Programming Interview Questions If not specified explicitly, Global value is set to False.

You can get the difference in terms of minutes, seconds, hours, months or years.Q8. Variables Should NOT contain a period(.) Variable Names should be unique in the declared context. If you make sure the only way out of a loop is to not satisfy the loop's condition, it's much easier to follow your code. Difference between Executefile and execute in QTP How to convert data types in qtp How to send mail from outlook in qtp How to fetch data from database in QTP How

Using Len function, which returns the length of the given string. Qtp Vbscript Examples What is meant by Responsive testing in Mobile sites? 2. Find the factors of a given number?Maths: The factors of a number are all those numbers that can divide evenly into the number with no remainder.Logic: starting from 1 divide the What are the Data Types supported by VBScript?VBScript has only one data type called a Variant.

Vbscript Programming Examples

I have created mobile site but do not have real devices so should i check though Emulators like...Asked by: KamranHow we can implement bulk collect methodology in datastageI have faced an Sub Procedures are similar to functions but there are few differences. Vb Script Interview Questions And Answers For Experienced So just feel confident during your interview. Vbscript Multiple Choice Questions And Answers Using Int function, which returns the integer part of the given number.

Then name your file something like answer.vbs Whatever you call it, at the end type .vbs Finally, click save. 4 Step 4: Answer all your questions.Run the script... More about the author Collection Intro Intro: Make a VB Script to answer all of your questionsReady for a stupid script idea I came up with? JavaScript can read, create, modify, and delete the cookie or cookies that apply to the current web page. Subscribe To QTP Posts Atom Posts All Comments Atom All Comments Google+ Followers Non-Technical Stuff Double your money QTP Hot Links QTP Master Page Basic QTP Tutorial For Beginners Advanced QTP Qtp Interview Questions For 2 Years Experienced

Example − Dim obj Set obj = CreateObject("Scripting.Dictionary") How can you destroy an object in VBScript? To do this, you just need to set the expiration date to a time in the past. The most common way to define a function in VBScript is by using the Function keyword, followed by a unique function name and it may or may not carry a list http://olivettipc.com/interview-questions/wpf-interview-questions-for-experienced.html The Test method takes a string as its argument and returns True if the regular expression can successfully be matched against the string, otherwise False is returned.

How will you convert a string to upper case string using VBScript? Vbscript Objective Questions And Answers Subscribe

Latest News Follow @geekinterview Tags AccentureWiproAMDAMDOCAxes-TechnologiesAztec-SystemsBirlaSoftCiscoCognizantDellGEHALInfosysISROTCSSonataAdobeOracleMphasis Random Question What is the rate of PF and ESI in private limited company ? http://qtp.blogspot.com/2007/06/vbscript-classes.html14.

Variables declared using "Dim" Keyword at script level are available to all the procedures within the same script.

cleo_nerdProfileAnswers by cleo_nerdQuestions by cleo_nerd Feb 25th, 2010 There are two main differences :1. The document.cookie string will keep a list of name=value pairs separated by semicolons, where name is the name of a cookie and value is its string value. http://qtp.blogspot.com/2007/05/vbscript-conditional-statements.html22. Vbscript Programming Questions Is VBScript a case-sensitive or case-insensitive?VBScript is a case-insensitive programming language; i.e.

If the user hasn't entered a number, tell her she needs to enter her age correctly.If IsNumeric(Age) = False Then MsgBox "The size should be a number. Static Array. 2. Example − Dim num : num = -210 document.write("Sqr Result of num is : " & Sqr(num))& "
" '14.4913767461894 How will you get the absolute value of the given number in news Second it really doesn't matter much if you could not answer few questions but it matters that whatever you answered, you must have answered with confidence.

It can return any of the three values -1, 0 or 1 based on the input strings to be compared. Here it is. Using LBound function, which returns an integer that corresponds to the smallest subscript of the given arrays. newstring = replace(stringwithspaces," ","")Q4.

How to read a Cookie using VBScript? The StrComp Function returns an integer value after comparing the two given strings. Example: a = 25 Wscript.Echo Hex(a) The output of this script is 19, which just happens to be the hex equivalent of 25. How will you fill the string with the specified number of spaces using VBScript?