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
Which functionalities of QTP used in banking project? pls any say answer?
Give me At Least 5 Differences between DOCUMENTATION OBJECT MODEL(DOM)and COMPONENT OBJECT MODEL(COM)? Interviewer said me to WRITE the difference only in points not as you WRITE a paragraph ???? only in points
How to Get the Run-time value of an object under that web app under Test to the local data table sheet of that Action?
What is the default object synchronization timeout in qtp?
Can we Test Welcome Screens and Process Images with QTP
How to get the particular property value?
How to do the scripting. Are there any inbuilt functions in QTP? What is the difference between them? How to handle script issues?
X flies from Hyd to bangalore using different methods of transportation. write the test scenarios and test cases for this?
What is the Difference between test object and run time object?
how can we test the Triggers, Cursors, Indexes while doing Database testing in DTP??
How to handle the exceptions using recovery secnario manager in quicktest professional?
Explain the types of object repository?
What contains Data Driven Framework document in qtp?
Explain how you can delete excel file in qtp?
What is the meaning Work bench?