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
Pls can anyone give me the entire code for the Keyword driven framework with respect to he Flight Reservation Window in detail with explanation. Pls explain in detail stepwise. Thanks a lot. Pls very urgent?.
How to use debug tools?
What is the use of Debug Viewer?
What are the different types of checkpoints?
what is the difference between data driver & data driven and driver script?
What is QTP’s model for test creation?
hou can we use vb script in qtp could u tell me breafly
How will you handle java tree in qtp?
How to modify the text checkpoint?
What is the difference between call to existing action and copy of an action?
How can i initiate the objects to find uniquely in OR
Hello friends..... On which areas of an application we can not test with QTP
How to use transactions in qtp?
How will we compare the texts in the two word files using QTP writing the script in Descriptive Programming. Thanks
what you mean by artifact,milestone...