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
wt is the use of multiple questions in QTP
please post the interview questions for QA position in FACTSET
What will be happen if i load object repository at run time, but it has already associated.
How many types of Automation frameworks are there in UFT? Describe them.
what r the main attributes of test automation?
What are main panes available in qtp test browser?
What is the difference between the keyword view and expert view?
how to post xml data from QTP scripts to any application?
What is the synchronization point in qtp?
How to use debug tools?
how do we know whether all objects are stored in the object repository or not? how can we know if a particular object is not stored in the repository?
What is the difference between qtp and selenium?
How are cgi programs, applets, javascripts, ActiveX components, etc. to be maintained, tracked, controlled, and tested?
breef description of batch testing ?
how many maximum number of virtual users we can create?