I have a Webtable object in my shared object repository, say
WT1, which has different index value in 2 different
versions, one version having WT1's index value as 1 and
other version having WT1's index value as 2. how could i use
same test script to identify the WT1 object having different
index values.
Answers were Sorted based on User's Feedback
Answer / aarati borse
See ishita..here you can use the Smart object
identification concept..
QTP recognizes object by their mandatory and assitive
properties...
So go to Tools>OI> and web environment..
Set such properties in mandatory and assistive which are
commomn for both...Try to find them by "location "ordinal
identifire.
Because index is the place of object in code
and location is the place of object in aplication..
So I think by setting these all option it should work..
| Is This Answer Correct ? | 3 Yes | 0 No |
Answer / ishita desai
How to define regular expression for index values of
Webtable. As far as my knowledge is concerned regular
expressions can be given for property values. Please reply
if u have any idea about that.Thanks
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / subhash pasupuleti
Absolutely No. You can not do that. Remember index is an
ordinal property which QTP adds and this can not be viewed
when you spy on the object. You need to do the following logic
1. Create a description object for webtable
2. Get a collection of webtables on the page ( there will be
many)
3. Iterate through the collection and identify the Webtable
by some unique value in one of the cells
4. Exit the loop
5.The value of index of the iteration is index of WebTable.
6. QTP identifies WebTable by only its Tag <TABLE> so only
way it can identify a table is index.
If not clear then email me
| Is This Answer Correct ? | 1 Yes | 1 No |
Create flight reservation login descriptive programing (Condition: Remove the value and substitute with a variable, and then call the validation from Excel) Plz help me....... very urgent.........
What are the key elements available in test result window?
How to connect to the Database from QTP?
10 Answers DB, Thatavarti Technologies, Xchanging,
hi i am new to qtp i need to run all files by a batch what is the procedure and what are following actions to be take?
For which type of projects the iterative model is not suitable?
What is the extention of Virtualobject
How to handle "Java Runtime error" popup window in the web application ? Sometimes the application throws the error repeatedly... Is there any browser setting available to disable the error ?
1) 100 test boxes there in application. how to click 100 test boxes using vb script? 2) 100 objects there in web page,how we will store that 100 objects repostries?
Hi guys, Please suggest some thing these points are correct???, Is UFT 12 and QTP outdated ??? and also VBscript is also deleted/Removed from QTP ???? Javascript is added latest and tool name is called JFT ??? From this year ??
pls dont join MIndq nageshwar rao...Nageshwar rao sir didnt teach QTP indepth...he teach basics only...atleast he dont know about INSTR concept...this concept take min 30 min...buthe teach 3 min only...like this so many concepts are missing in class. IN CLASS ROOM NAGESHWAR RAO SIR HIPNATIZE THE STUDENTS....WITH OTHER ISSUES.. dont join... look other institutes...this is my personal openion share your comments thank u
If enter into interviewer room? how u introduce with him. with shakehand or waht?
how to get column count in datatable