i have a window , initial its name is "NEW CUSTOMER"
i have to enter the details of customer in the test object
fields and after saving the window name is automatically
changing with the customer name .
so how to identify that window after saving.
(i am using descriptive programming.)
Answer Posted / guest
First u take the window name into variable. in the script u
replace the property value with the variable. we can do
this in DP. a variable name (i.e. the property value, which
is changing dynamically, will be in the variable) can be
given as the property value of a property. ex :
browser(xxxx).page("title:=" &variablename).xxxxxx
now it takes what ever the window name/page name is.
i have not written the script properly. i said a way how we
can do this. so analize this n get better solution. i m not
100% clear with this solution ,but in this way we can do
this. correct me if i m wrong.
Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
Why is action split used by qtp?
what QTP Options do you know?
action contains public and private functions but do we resuable that action or not..If it is reusable How..plz tell me the ans
In Remote acess server how u run a test?
When QTP object wait time is 10 seconds, and in test script wait time is 5 seconds and in function library wait time is 2 seconds how much time does the wait occur? or which is given priority.
Is the qtp course will help to create a virtual object?
what is the difference between the modular framework and datadriven frame work
i have to login into gmail loginpage i have to pass testcase into userid and password by using functions. the test case of user id is it should take only lowerletters alphabetin between 4 to 6 length.it should not take spectial letters.it should not take numbers.testcase for password is it should take numbers and it should not take alphabets note the following things must happen 1 when i give correct password and userid that password and userid should be seen in QTP result and notepad,xl sheet 2 when i gave in valid password the system willgive message please give valid password that particular messaage should be seen in QTP result,norepa and xl sheet
how can we compare descriptive programing with a regular expression
How to remove the associated function library?
in qtp 3 sheets is there in data table like global, action1, action2. I want to check the rows and columns in action2. how can check using script?
what is meant by function library?Public and private functions in function library? if private functions are applicable for only for the particular test means then y we have to add those to function library?
What is the basic concept of quicktest professional?
What do you mean by iteration?
How to automate a script in mainframes environment? I have the terminal emulator Add in. Describe in detail.