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
Dear All , For UFT 12.02 which version QC or ALM will support ? Thanks Balaji
I want to grow as a Automation Engineer,Kindly help me in clearing my interview that what interviewer looks for as a Automation Engineer. I am having three years of experience in testing.
What is Curd testing?
What do you to script when objects are removed from application?
how to fetch the values from grid? & qtp recogniges that grid as a webelement? what u do?
explain abt dyanamic changing object with example?
Hi All , How can we decicde for pariticular frame(DataDriven or Keword Driven)in Project? Thanks Balaji
What is qtpro? What is a quick test professional?
can any one say that where we can download the QTP trail version ??????????
Can we run test with out adding object in object repository? How it is possible?
Whether qtp 9.0 supports Test director8.0
How can you identify the browser and its information using QTP script?
suppose in the middle of the project QTP will not work properly, then what do u do? and ur team?
Why is Client side image is preferred over server side image?
how to acess a test in RSA?