Answer Posted / vishu
Descriptive Programming is all about identifying an object
uniquely. And there is no defined frame work for it. Frame
work depends on the project.
This is the code for Yahoo Photos Website you can do the
same for the yahoo by changing the values in the required
places.
CODE: Browser("title:=Yahoo! Photos*.*").page
("title:=Yahoo! Photos*.*").WebEdit
("name:=login").set "srinivas"
Browser("title:=Yahoo! Photos*.*").page("title:=Yahoo!
Photos*.*").WebEdit("name:=passwd").set "test"
Browser("title:=Yahoo! Photos*.*").page("title:=Yahoo!
Photos*.*").WebButton("name:=Sign In").click
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
How to execute a winrunner script in quicktest professional?
Hello, Is there any way to send the test results in html format (or any other) by email using outlook after the test run ends? thank you in advance
What Folder Structure following in Keyword Driven Frame work?
How you can write contexts to text file in qtp?
Hi I am new to QTP. can u please answer to my qus... suppose 3 excel sheets are there * we are trying to check for login credentials for a page. userid from excel1 , password is from excel2 whether the page is opened or not that checkpoint is result is should be stored in excel 3.... this qus i have faced in IBM technical round... please tell script for above query ... please please
what is the difference betn QTP 8.0 AND PREVIOUS VERSION
What is CMMP and CMMH?
How many types of object repository in qtp?
Can launch two instances of qtp on the same machine?
What is output value? How many types of output values are there in qtp?
How to creating an output value using quicktest professional (qtp)?
What is the basic concept of qtp?
Give the syntax to load function at run time.
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
Whats the realtime QTP testing process