Can you tell me the differences between writing the VB
script manually for a application and recording the same
application in QTP , with a example?
Answer Posted / ajreddy
Hi
Example:
to open gmail portal
Record and play back
Window("Program
Manager").WinListView("SysListView32").Activate "Mozilla
Firefox"
Browser("Yahoo!").Page("Yahoo!").WinObject("MozillaWindowClass").Type
"www.gmail.com"
Browser("Yahoo!").WinObject("MozillaWindowClass").Click 263,41
Browser("Yahoo!").WinObject("MozillaWindowClass").Type
".gmail.com"
Window("Window").Activate
2. Descriptive programing(manually) vb script
systemutil.run "www.gmail.com"
Browser("name:=Gmail").Page("title:=Gmaillogin").activate
from
ajreddy
Is This Answer Correct ? | 2 Yes | 1 No |
Post New Answer View All Answers
What do you mean by checkpoints in qtp?
When using descriptive programming?
Where to use function or action?
Get the count of files of similar types from a folder.
Hi friends did any budy attend accenture system test for qtp? if any budy pls drop questions.not only accenture any other mnc company which you attended system test(QTP)?it may helpful to others also
How to build scripts that access data from external sources?
How to break the object spy ?
What are the different recording modes?
hi i have completed my b.tech in cse stream. now i am working in an organisation in testing department. i want do sap course but i dnt know which module will boost my career can anyone suggest me which is good for my career
Problem with XML checkpoint in QTP ?
When to use shared and local object repository?
How do we analyze the checkpoint results?
Hi could some one explan what is the use of the function Defination generator, And how to use the function defination generator.. Explan with the example..
Explain the concept of object repository?
why text area checkpoints cannot used for web applications