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
What is quicktest professional (qtp window?
Explain how to use QTP to check broken links on a page?
By using QTP can we record any log files written by the application which is in execution?
What are the key elements available in test result window?
Define object spy ?
How to use the object spy in quicktest professional (qtp) 8.0 version?
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?
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
Explain the terms test and business component?
How you can write contexts to text file in qtp?
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
What are the recording modes in wave event?
how to evalute defects in QTP script?
Explain how you can find the absolute value of the number in qtp?
Describe the differences between functions and actions in UFT?