Answer Posted / jason
Assuming its an web based application :
1) Invoke the application thru your browser
2) Add objects to OR
3) You can next copy this current action to another one,
can do that by using " Copy the existing Action "
4) In expert view u have 2 actions
5) The first action in keyword view, should be like this :
if ( Browser(..).Page(..).exist) then
{
type ehat do u wanna do in ur login page ;
}
else
In the action column of keyword view for second action,
choose "Activate".
In your expert view , it wiill look like this.
{
Browser(..).Page(..).Activate
// rest of the statements.
}
Next u can check for Username and passwords fields,
handling the negative scenarios also.
| Is This Answer Correct ? | 5 Yes | 3 No |
Post New Answer View All Answers
How to use reporter.report event in qtp ?
why you have standardized functions? plzzz guys with real time exp. do answer
How to find operating system information using the qtp script?
What are the differences between quicktest professional and winrunner?
unique properties of button,edit box, radio button,check box?
i need qtp tutorial. pls send it to sridhar.k151@g mail.com
What is meant by a Check Point in UFT? Also, explain the applicable Check Points.
How many types of recording facility are available in quicktest professional (qtp)?
Explain the features and benefits of quick test pro(qtp)?
how to i add the values using the check points property?( i.e valid data(for valid data it's giving the footer message:value is added) and for invalid data: special chars, spaces,Duplicates and null values (in my page when ever we enter special chars, spaces and null values, it's giving the proper warning message and for Duplicates it's giving the footer message:"value already exists)?
What is system testing and what are the different types of tests you perform in system testing?
An action has both shared and local or associated to it and both have the same object in them. In the test which one will be considered?
How do I get the QTP scripts result in xml format by using vb script function?
Should have experience in framework means?
Does quicktest professional (qtp) is unicode compatible?