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
Discuss quicktest professional (qtp) environment?
This is Karthic and my mail id is karthic.venkitapathi@gmail.com, please give me an idea to crack qtp 10
What is expert view and keyword view?
How do you know the location Id of an object if you know its index id?
what is the advantages and disadvantages of using functions instead of re usable actions
can u explain the keyword driven framework with an example clearly how to create all the files and how to attach to main test.
what and how to answer for the question "tell me about yourself ?" for 3 years experience. can anyone say inj detail please... its urgent
i need qtp tutorial. pls send it to sridhar.k151@g mail.com
Hi,Sudhanandareddy plz forword framework and ppts for QTP to me. This is my mail id: ranjith_99reddy@yahoo.co.in (your contact number also)
what type of values given to objects. EX::Set oBrowser=Description.Create oBrowser(“micclass”).Value=”Browser”
How to add object to object repository in qtp9.0 Suppose for brower yahoo home page
What are the recording modes in wave event?
hi i have 4 yrs exp in manual and automation testing using QTP i need sample resumes plz can u send this mail id pbre1980@gmail.com
I have created 3 actions in test action1, action2, action3 but I want run action 1,action 3,action2 how can you change in the actions in keyword view?
What is the architecture of your project? Can any one answer for this question plz........