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?



Can you tell me the differences between writing the VB script manually for a application and record..

Answer / 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

More QTP Interview Questions

What is runtime objects and test objects? What is the difference between them?

7 Answers   IBM,


What is data driven testing in QTP?

11 Answers   Agile Software,


what is Compile Module in QTP? what exactly it contains Functions or Actions?

2 Answers   GE,


how you have used object libraries? plzzzzz do answer

1 Answers  


Can we use smart identification in Keyword Driven approach? If yes , How we can use. Please Explain?

1 Answers  


Hi everybody.. I m using QTP 9.2 version., plz send me licence key is it seat or concurrent licence key... plzzzzzzzzz plz help me for this one and its Locking code:8-5C740 Maintenance number: 0123-2820602186.,

1 Answers  


How to create Reusable and Multiple Actions?

1 Answers  


How did you use regular expressions in QTP and also in WR?

1 Answers  


Does QTP run in any environment?

1 Answers  


If u don't have any Knowledge on perticular application but they give that application to u for Testing ? Then How we wil move towards testing on that application?

16 Answers   Genpact, HP,


What are the different types of qtp test assets and their extensions?

1 Answers  


breef description of batch testing ?

1 Answers   Wipro,


Categories