Tell about descriptive programing in qtp8.2?

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


Please Help Members By Posting Answers For Below Questions

What is quicktest professional (qtp window?

691


Explain how to use QTP to check broken links on a page?

677


By using QTP can we record any log files written by the application which is in execution?

1581


What are the key elements available in test result window?

720


Define object spy ?

657






How to use the object spy in quicktest professional (qtp) 8.0 version?

588


What is the difference between QTP and WinRunner? Why do you choose only QTP for automation among remaing tools like Rational robot and silk test? Write the VBscript for any functionality in your project ? What is the cost of QTP ? If you entered into yahoo mail with your valid user name then you will get FOR EXAMPLE , " welcome to krishna " on the top of inbo page , how can you test it in QTP? What type of testing you can do, when we gave you 5 screens and how can you test that application? What type of framework you are using in your company and explain it?

1895


Does QTP have any limitations?Can it work with all kinds of programming languages like java,springs,ajax ,hybernet?Also does it work well with windows 7.What are its other limitations

1859


Explain the terms test and business component?

624


How you can write contexts to text file in qtp?

676


i have two questions for regular expression :- Q1. I have date pattern eg-29/11/2011 29-11-2011 29.11.2011 Que- if any separator is there between date,month and year pattern should match else it should not match eg- pattern should not match in case of 2911-2011 Q2. let say i have a string and there is a number in between of that string eg.-Amount 30002.234 successfully credited to your account . now i have to match this pattern in such a way that even if decimal is not there pattern should match ,how i will do this using regular expression

1132


What are the recording modes in wave event?

1642


how to evalute defects in QTP script?

1573


Explain how you can find the absolute value of the number in qtp?

734


Describe the differences between functions and actions in UFT?

702