Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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



I have a Webtable object in my shared object repository, say WT1, which has different index value i..

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

I have a Webtable object in my shared object repository, say WT1, which has different index value i..

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

I have a Webtable object in my shared object repository, say WT1, which has different index value i..

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

I have a Webtable object in my shared object repository, say WT1, which has different index value i..

Answer / badam

u can go for regular expression

Is This Answer Correct ?    0 Yes 1 No

I have a Webtable object in my shared object repository, say WT1, which has different index value i..

Answer / badam

u r absolutely correct ishita

Is This Answer Correct ?    0 Yes 2 No

Post New Answer

More QTP Interview Questions

How to test menu options using qtp

2 Answers  


I have 5 no.of Action in my Test. Out off which i should make 3rd action as my start-up action. How should i make it?

5 Answers  


what will be the stmt if record any edit box in the Web application ?

2 Answers   eSymbiosis,


how will b the questions if we keep one QTP project in CV.please tell me iam attending an interview.

3 Answers   IBM, Questacon,


How to test whether the navigation i.e. from one page to another is working r not using QTP for web based application

1 Answers  


What is the process of synchronizing qtp and aut?

0 Answers  


What are the differences between quicktest professional (qtp) and winrunner?

0 Answers  


Hi all. Could anyone tell me the difference between an Action and a Function in QTP. Thanks in advance and Merry Christmas.

3 Answers   IBM,


In Webtable New rows getting added, we have select the name as Sandeep ,If name column is sandeep then need to check the checkbox ,we don't know the rows and columns ,Can anyone please tell me the answer.

3 Answers   Broadridge, Cigniti Technologies, HCL,


what is objectidentification?

2 Answers  


How we can add actions in the test using QTP?

5 Answers  


What are the key elements available in test result window?

0 Answers  


Categories