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


Please Help Members By Posting Answers For Below Questions

Dear All , For UFT 12.02 which version QC or ALM will support ? Thanks Balaji

1152


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.

1824


What is Curd testing?

2088


What do you to script when objects are removed from application?

825


how to fetch the values from grid? & qtp recogniges that grid as a webelement? what u do?

2154


explain abt dyanamic changing object with example?

2088


Hi All , How can we decicde for pariticular frame(DataDriven or Keword Driven)in Project? Thanks Balaji

1590


What is qtpro? What is a quick test professional?

812


can any one say that where we can download the QTP trail version ??????????

1543


Can we run test with out adding object in object repository? How it is possible?

817


Whether qtp 9.0 supports Test director8.0

2345


How can you identify the browser and its information using QTP script?

779


suppose in the middle of the project QTP will not work properly, then what do u do? and ur team?

1599


Why is Client side image is preferred over server side image?

1666


how to acess a test in RSA?

1887