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
Answer Posted / 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 |
Post New Answer View All Answers
What is recovery scenario manager? When you go for recovery scenario manager? Tell me one scenario were your used recovery scenario in your project?
What is the use of Debug Viewer?
Can you write a script to check if the folder exists or not?
How does QTP identify an object?
Discuss the QTP Environment?
Have you used xml check point in your project? How?
How to handle Java tree in QTP?
What is the Difference between copy to action and call to action?
Can QTP be used for GUI testing ?, We are using Java with MySQL and Operating system is Linux. We are NOT using the web.
What is an object repository?
i need to add 1000 users in a domain i written the script for that and it is running successfuly but the problem is that my system is not the user of that domain in which i have to add users so for adding users in that domain i have to install qtp on that another system, can anybody suggest me the way to add those users from my system ultimately i want to know how to access remote computer through script
whow much strong on VB and C?
If object is not recognized by qtp but the object is standard object what is your approach?
Hi can anybody send me the QTP material, To my email ID: nuve1284@gmail.com ?
how to find that tools work well with your existing system?