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 r the advantages of automation?

3 Answers  


using descriptive programming how to close all opend browsers?

7 Answers   Satyam,


A FORM CONTAINS 5 FIELDS. 1 FIELD IS ENABLED REMAINING(4) FIELDS DISABLED. MY QUESTION IS ENTER VALUES INTO 1 FIELD AFTER THAT CLICK TAB BUTTON THEN 2 FIELD ENABLE THIS PROCESS CONTINUE UPTO 5TH FIELD. HOW TO WRITE CODE IN DESCRIPTIVE PROGRAMMING. PLZ TELL ME THE PROCEDURE AND CODE FOR IT.

0 Answers   TCS,


how can we handle errors other than using recovery scenerios in qtp

0 Answers  


How QTP recognizes Objects in AUT?

1 Answers   Crea,






Can Any One Write How to Write the Script for Child Objects

4 Answers  


HOW MANY WAYS ARE THERE TO CPY TEST IN TEST LAB

2 Answers   IGT,


diff between dim & redim ? in detailed? pls any one explain me?

1 Answers  


What is the concept of hooking in QTP?

1 Answers  


VB - Script Training in MUMBAI.

1 Answers  


Can we write winrunner language i.e TSL in QTP tool?

0 Answers  


write vbscript in qtp tool for senario, in the given sheet add each number in each row and each colunm and show result

3 Answers   Mind Q Systems,






Categories