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
Generic function to search for the unique link in webtable and click on it
How will you declare a variable in qtp?
How is UFT 11.5 version different from UFT 12.0?
What is action?
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 meant by a Check Point in UFT? Also, explain the applicable Check Points.
In qtp, how you can exit for loop?
What is throw object?
Hi Friendss..., can any body help me.. 1. Tell me your achievements(Technically)..? 2. Tell me your strengths(Technically) and weakness(Technical)..? 3. Why are you looking for change..?
write a script to validate the content in the web application. (do it by OR method) and (do it by Descriptive method by creating a description object.. (give a filter condition only WEbelement- not easy need to use some more property while giving filter condtions- use google for your help...))
how to fetch the values from grid? & qtp recogniges that grid as a webelement? what u do?
what is the diff b/w assistive and mandatary rules of object repository in QTP???
What is active screen?
Why qtp always start action1 and does not start action?
What are the Disadvantages of shared object repository?