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
Explain different types of checkpoints?
how will load the object during runtime?
desribe a situation where u faced a stressful situation and how did u cope with it
Dear All , For UFT 12.02 which version QC or ALM will support ? Thanks Balaji
How to do the scripting. Is there any inbuilt functions in qtp as in qtp-s. What is the difference between them? How to handle script issues?
if numbers are always changing write a script for that
What is the differences between image check point and bit map check point?
what is the difference between modular framework & datadriven framework
How would you directly trigger javascript in a test?
Is text area check point supports for web applications?
hi in real time who will execute the qtp test scripts? my faculty said, in a companty automation testers are written the test scripts and manual testers are execute the test scripts...IS IT RIGHT OR NOT?
Discuss the QTP Environment?
HOw to add the recovery file at runtime to the test file .
Does Low-level recording capture mouse movements?
How extensive or customized are the server logging and reporting requirements; are they considered an integral part of the system and do they require testing?