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
Answers were Sorted based on User's Feedback
Answer / maniram
yes.. i think we can use it.
by default,QTP recognises the tablegrid with some 2
properties (say window name, window type).
When we record the first tablegrid, QTP identifies it with
the default properties.
When we have 2 windows of the same type, QTP takes into
consideration of the Ordinal Identifier (or assistive
properties if u have given any) to identify b/w the two.
So, if Ordinal Identifier or an assistive property is
defined for the tablegrid, one single table grid properties
in the Object repository is sufficient to go with the testing.
Any ideas on this are welcome
Maniram.
Is This Answer Correct ? | 0 Yes | 0 No |
Answer / vikas sachdeva
I think u can use SetToProperty Method for this.
Is This Answer Correct ? | 0 Yes | 0 No |
Differences between QTP & Winrunner?
how can we know the program is testing by multiple test data in data driven frame work?
Give answer with example what is orthogonal array testing technique?
What is QTP and the use of QTP in TD?
In qtp, explain what is crypt object
I have the script like this: Browser("Login").Page ("Application").Frame("ScopeFrame").Link("DC3701737 (Active)").Click in which the value "DC3701737" will get changed and i have to use the same value in so many places. I got the value "DC3701737" in to a variable(Say x). Now if i want to pass the variable in to link object .. how? Browser("Login").Page("Application").Frame ("ScopeFrame").Link(x).Click Is it possible to pass any variable into a link object .. so, that the application will select that link automatically? If ur not able to understand, pls let me know.
How to create configuration scripts
How can we disable smart identification at the time of recording? Ideally, smart identification should be enabled only at the run-time.
difference between multiple parameterization and data driven wizard in QTP?
Explain qtp(quick test professional)?
At a time how many users can access QTP?
Hello Everyone, Please provide me the practical example of business component concept of QTP.Like how to create business component,how to connect the quality center etc.... Thanks in advance, Gaytri