suppose u hav a dialog or window which contains 10 buttons
with same name & value. now how to check each button? i.e.
how qtp indetifies these objects separately?
Answers were Sorted based on User's Feedback
Answer / neeraja
QTP identifies object based on mandatory
properties ,assitive properties which are present in the
object repositery and it also uses its smart identification
if it is enable .if at all it unable to find the object
with this properties it will go for ordinal identifier
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / true friend
This Will Show the order used to identify the object when
two or more objects get duplicated.
tools -> object identification
select the environment
a) standard windows
b) active-X
c) visual basic
d) multi media
select the class
if we select the environment as standard window
and class as winbutton
then it will display
Mandatory properties Assistive properties ordinaliden-
tifier
-------------------- ------------------- ------------
a)Native class a)window-ID a)location
b)Test b)Index
regards
True friend
| Is This Answer Correct ? | 0 Yes | 0 No |
in which situation u will use recording and in which situation u will used to write script manually
There are two tabs in the application suppose, A and B.On clicking the tab "A" one table grid will open. if u click on tab "B" Another table gride will open. Now can I do some operations on both table grids with a single table grid properties in the object repository? I have added all objects of the first table grid into the object repository Now iam checking enable/disable status of "save button" in the second table grid my code is like this val=javawindow("zseries").javabutton("save").getroproperty ("enabled") when I highlighting the save button in the object repository by keeping open the second tablegrid on the application.It is displaying the popup message"The selected object can not be found in the application" can I use properties of one table grid for both tabs if so how it is possible. Can anyone help me
Can we create test script with out Step Generator?
can any body help me out by providing links/material for descriptive programming in QTP otherwise can you post decriptive programing based interview Questetion&ans. plz help me out . i need it.
I have a Webedit object. some text is entered in that object I want to know the font sixe of that text.How could I do this using QTP? This is a requirement for me. I am happy if any one help on this
how much space occupies in object respository by default?
How to handle dynamic objects in quicktest professional (qtp)?
How to parameterize in QTP?
how many test scripts we will write in qtp? very urgent. please??? Thanks in advance..
How do know the number of browsers opened?
we have a link in a website or webtable How can we record link in that table or site? link is not static we don't know exact location of that link? how ? if u know pls give reply with script also?
6 Answers Cognizant, Covansys,
Plz write the code, function will take the parameter as month number, i.e., numerical value, but it returns the last day of the month in string (weekday). example: input: function parameter: 3(march) output: thursday