Any one knows about descriptive programming to identify
objects in a page?
Kindly drop me mail
prasanna.sabat@gmail.com

Answer Posted / murali raju

Hi .. I am murali from blore..

in my company this way to we write descriptive
programming...

if u have an internet and qtp 8.2 or 9 run the below script
in ur machine..

Browser("title:=Welcome to Gmail").Page("title:=Welcome to
Gmail").WebEdit
("type:=text","name:=Email").Set "prasanna.sabat"
Browser("title:=Welcome to Gmail").Page("title:=Welcome to
Gmail").WebEdit
("type:=password","name:=passwd").set "urpwd"
Browser("title:=Welcome to Gmail").Page("title:=Welcome to
Gmail").WebButton("type:=submit","name:=Sign in").click

did u understand the abvoe code...?

otherwise call to me..

09845135495
bangalore...

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

i have asked earlier only one question how to test web application using QTp plz send me the answer quickly

1660


How will internal and external links be validated and updated? how often?

641


I need to obtain the parent of an object programatically, so if I have: winButton("aButton") I need to obtain the parent part: window("Window1").Dialog("Dialog1") so I can programatically create a string of the full name of the object to call it with an execute statement in QTP I would like to use something like: part[1] = "window(""Window1"")" part[2] = "dialog(""Dialog1"")" so I can do: exeLine = part[1]&"."&part[2]&"."&"winButton(""aButton"")" Execute exeLine Apart from keeping a record of the window/dialog hierarchy is there a parent or path function/ command Thanks Adrian

1574


What is the use of defining a newobject in the object repository "Define New TestOject". How to use this further. If we define new testobject, how can it recognizes the objects properties of any application.

1506


Explain quicktest professional testing process?

564






How can I import environment from a file on disk?

538


wht is Manual Testing Frame work. Pls anybody can give appropriate answers

1599


What are table and db checkpoints?

591


How to handle the exceptions using the recovery scenario manager in qtp?

572


How to replay a script in qtp?

616


Hi there, I've installed a trial version of QTP to see if it works with my product but I cant automate selecting windows from a tree view? Can anyone give me any pointers? Many Thanks

1414


What is a data driven test in qtp?

589


Discuss quicktest professional (qtp) environment?

578


In application which areas to be automated and what kind of situation will be take? using QTP? Plz give me the clear answer

1943


Suppose I want fail that check point? How can you do that?

598