Can any one give me some basic VB script used in QTP ?As i
am new in QTP.Give sample VB script used in QTP? PLZ
Answers were Sorted based on User's Feedback
Answer / dhana
first of all u need to add Objects in u r Application on
which u want to perform Operations to Object repository.
For ex:u need to Add Browser,Page,Frame,Webedit
(Username,Password),webbutton objects to objectRepository
then once u write "Browser" in Expert view,QTP
automatically vl popup the Browsername so as for page and
for Subsequent objects also...
for ex:
Browser("Browsername").Page("Pagename").frame
("Framename").webedit("Username").set 12345
Browser("Browsername").Page("Pagename").frame
("Framename").webedit("Password").setsecure asdahsxcasjd2362
Browser("Browsername").Page("Pagename").frame
("Framename").webbutton("Login").click
| Is This Answer Correct ? | 4 Yes | 1 No |
Answer / mike w.
An EXCELLENT resource is http://www.w3schools.com/VBscript/default.asp
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / dhanapal
Dim - For variable/object declaration
set - assigning value to the variable/object/property.
Ubound - upper bound value of an array.
Lbound - lower bound value of an array.
len(var_name) - to find the length of the variable.
| Is This Answer Correct ? | 0 Yes | 0 No |
what r the verstions from 1st to present (verstions) of mercury tools (like winrunner,QTP,Loadrunner) ? Chandana
0 Answers Mannar Company, Wipro,
Hi, how can we retrieve a specific value from Excel Sheet (Not datatable. for externel file).i mean to say from .xls file. and also tell me from xml file and .doc file. and how can u parameterize ur script from .xls file.(Not data table).
How do we create and run the scripts with out using O.R. ?
how to find that tools work well with your existing system?
How to retrieve alpha bate from the alphanumeric string with special character.
what is exit and entry criteria of automation testing. any body wants a real time script,please mail to me. contactno;9986435766
How to use checkpoints in qtp ?
We have an action attached with the library file in QTP. When I will click on run button,which file is going to be executed first a)Action b)Library
before launching qtp, we need to close all the open browsers u dont know what are all the browsers either it might be ie,mozilla etc and u dont know how many brosers are open.... u need to close all these before launching qtp.. can anyone plz temme d solution...
can u tell me the the cost of automation tool QTP ?
how to count the word "IS" is repeated in the application using DP
3 Answers DST Global Solutions,
how can we write descriptive programming for menus when qtp is not able to identify it..and how can we write descriptive programming for partially identified and non standard objects..do i have to map the objects before writing the script