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

What is the syntax to use out of two characters. Pls anybody can give the answer.. Thanks in advance...

1 Answers   Navis,


4. How u will open the build automatically in QTP except using Systemutil.run command

4 Answers  


pls tell me different type of automation frame works in QTP and which one need to select in client server application

7 Answers   Syntel,


for example one window is there, the window contains how many edit box's i want script? i know the script but that is not exact answer.... The script is like this .......... set a=description.creation() a("Native class")="WinEdit" b=window("Flight Reservation").childobject(a).count msgbox b

3 Answers  


who QTP recognizes the object stored in object repository?

0 Answers   Infosys, Mphasis,


Explain about opening notepad in QTP and writing of test result in notepad?

4 Answers  


I want to test advanced Java applications what kind of add- ins I have to install?

1 Answers  


one screen page,that contains file , browse , update and cancel buttons.when we browse a file it should get update otherwise it should go to previous page.write negative test case for that.

0 Answers   Mindlance,


what could go wrong with test automation?

0 Answers  


can any boby tell me what is method or steps to connect the remote desk top by using QTP 9.2 version?

0 Answers  


what do u mean by test harnesses in qtp?

1 Answers   Verizon,


How to check which add-ins are associated with a test in qtp?

0 Answers  


Categories