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 |
how do you invoke the application through QTP?
How to create runtime property for an object?
How do you copy a value from a cell in an msexcel sheet saved on the desktop into QTP's datatable when the co-ordinates of cell are given?
what are the drawbacks for record and payback in qtp
Hi Friends, Would be great if you can provide the Model Question paper, Web site link or any reference s. Thanks & Regards, Byzoor,
what is the process to follow between writing the test cases & then atomating it?
Can an action have 2 shared object repositories associated with them? In that case, if two of them contain the same object, which one will be considered?
How to retrieve the property of an object in QTP?
Did QTP prove efficient for your project? Yes or No, explain?
How do u do batch testing in WR & is it possible to do in QTP, if so explain?
The hybrid framework can be implemented for any application. Is it true?
How can i test an application like Google Earth.In my application data will be fetched from a oracle database based upon which graphs are generated..so these all are dynamic..how can i use qtp here..alongwith that how can i test the map generated by a satellite just like google earth..