Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


how u write vb script in qtp pls give me some basic script
and some material

Answers were Sorted based on User's Feedback



how u write vb script in qtp pls give me some basic script and some material..

Answer / c.chaitanya kumar

for example login window taken, the following script is
performed

Dialog("Login").Activate
Dialog("Login").WinEdit("username").Set "chaitu"
Dialog("Login").WinEdit("Pasword").SetSecure"mercury"
Dialog("Login").WinButton("OK").Click

Is This Answer Correct ?    77 Yes 17 No

how u write vb script in qtp pls give me some basic script and some material..

Answer / vijay

PLz post me the testingtools Material for VB testing
which is having more examples also thanks in advance...,

Is This Answer Correct ?    12 Yes 5 No

how u write vb script in qtp pls give me some basic script and some material..

Answer / madhu.m

hi am Madhu,plz send some QTP scripts...i am new to QTP.and
can u explain...
my mail id :madhu.myadaram@gmail.com

Is This Answer Correct ?    7 Yes 3 No

how u write vb script in qtp pls give me some basic script and some material..

Answer / dhanapal

Some basic VB script functions

InStr Returns the position of the first occurrence of one
string within another. The search begins at the first
character of the string



InStrRev Returns the position of the first occurrence of
one string within another. The search begins at the last
character of the string



LCase Converts a specified string to lowercase



Left Returns a specified number of characters from the left
side of a string



Len Returns the number of characters in a string



LTrim Removes spaces on the left side of a string



RTrim Removes spaces on the right side of a string




Trim Removes spaces on both the left and the right side of
a string




Mid Returns a specified number of characters from a string




Replace Replaces a specified part of a string with another
string a specified number of times




Right Returns a specified number of characters from the
right side of a string




Space Returns a string that consists of a specified number
of spaces




StrComp Compares two strings and returns a value that
represents the result of the comparison




String Returns a string that contains a repeating character
of a specified length




StrReverse Reverses a string




UCase Converts a specified string to uppercase




Function



CreateObject Creates an object of a specified type



Eval Evaluates an expression and returns the result



GetLocale Returns the current locale ID




GetObject Returns a reference to an automation object from
a file




GetRef Allows you to connect a VBScript procedure to a
DHTML event on your pages




InputBox Displays a dialog box, where the user can write
some input and/or click on a button, and returns the
contents




IsEmpty Returns a Boolean value that indicates whether a
specified variable has been initialized or not




IsNull Returns a Boolean value that indicates whether a
specified expression contains no valid data (Null)




IsNumeric Returns a Boolean value that indicates whether a
specified expression can be evaluated as a number




IsObject Returns a Boolean value that indicates whether the
specified expression is an automation object




LoadPicture Returns a picture object. Available only on 32-
bit platforms




MsgBox Displays a message box, waits for the user to click
a button, and returns a value that indicates which button
the user clicked




RGB Returns a number that represents an RGB color value




Round Rounds a number




ScriptEngine Returns the scripting language in use




ScriptEngineBuildVersion Returns the build version number
of the scripting engine in use




ScriptEngineMajorVersion Returns the major version number
of the scripting engine in use




ScriptEngineMinorVersion Returns the minor version number
of the scripting engine in use




SetLocale Sets the locale ID and returns the previous
locale ID




TypeName Returns the subtype of a specified variable




VarType Returns a value that indicates the subtype of a
specified variable

Is This Answer Correct ?    3 Yes 0 No

how u write vb script in qtp pls give me some basic script and some material..

Answer / nanda

Sekhar..send a blank mail to nanda.dreddy@gmail.com..i will
send to some gud material..ok

Is This Answer Correct ?    16 Yes 14 No

how u write vb script in qtp pls give me some basic script and some material..

Answer / kumar

dear friends,i m kumar and i m new to testing in most of
the interview they are asking to write scripts in QTP ,if
any one have pls send to me to this mail id thn27@yahoo.com

Is This Answer Correct ?    5 Yes 3 No

how u write vb script in qtp pls give me some basic script and some material..

Answer / ashwin

Hey please send the Vb scripting material to
sri_ashwin2005@yahoo.co.in

Is This Answer Correct ?    1 Yes 0 No

how u write vb script in qtp pls give me some basic script and some material..

Answer / subha

Hi,

could you please also send me some material to learn vb
scripting in QTP?

Is This Answer Correct ?    3 Yes 3 No

how u write vb script in qtp pls give me some basic script and some material..

Answer / rohan

Hi All,

Can any one send me some QTP scripts..my email id
is 'rohanshank@gmail.com'

Thanks in advance.

Is This Answer Correct ?    1 Yes 1 No

how u write vb script in qtp pls give me some basic script and some material..

Answer / srinivas

hi mee too pls send me the vbscript material in qtp

Is This Answer Correct ?    1 Yes 1 No

Post New Answer

More QTP Interview Questions

Why we have to import data from excel sheet to data table?becoz v can directly use test data directly from xl know. can u all pls explain me clearly

1 Answers  


what is descriptive.create()in qtp?

4 Answers   IBM,


Can I do Game testing with QTP tool

1 Answers   Google,


For example you are checking bit map check point before coming to the results. How can you say it is passed? Or failed? Anyways?

0 Answers  


How many add-ins comes by default with qtp?

0 Answers  


You will receive the mail in your outlook from client at night time to go ahead for the execution. Based on the mail you need to trigger the batch run. What is the QTP Code for this?

0 Answers   CTS,


Hi, I am using OutputCheckPoint for 2 webelements Bed:4 and Bath:2 Full,1 partial in my result page and I am storing the value in the data table. I dont need the string Bed:4,I would like to get only the no 4. How can I get it? Even though I highlight only 4,It is seleting the full value "bed 4". Same thing happend for second webelement Bath:2 Full,1 partial I need only the No 2. I used the following to split MyArray = Split(UIBathResult, " ", -1, 1) But it is giving the value My Array(0)=Bath:2full,1Partial I need the only the nos for further comparision.Any help? Thanks Uma

1 Answers   Patni,


What are the types of object repositories? Which one is you are using?

0 Answers  


Java add-in is need to work on java oriented project ?

3 Answers  


QTP 9.2, Issue: Creating Shared Object repository. I recorded 2 scripts. I exported the Object Repository to a shared location for the first script. Associated the exported repository to the first script and deleted the Local Repository for the First Script. Now Opened the Second script and try to Add the Local Object Repository of 2nd Script to Exported Object Repository. But I fail. Can anyone please help in providing steps that need to be followed in creating a shared object repository? Thanks in Advance.

3 Answers   Google, UHG,


in my database haveing 3X3 (manas having 3 rows 3 colums) i want to test only (2nd row 3colum) bit how to test either script or any automation plz explain? (Chandana)

8 Answers   IBM,


what are the settings to be done to make the recovery scenario created for one test to be used bye all the other tests. please tell me recovery scenario process in detail.

1 Answers  


Categories