I'm facing this problem while automating my
application..its a web based apps..
In my application there are few webtables are displaying in
the page.In the different cells there are links and action
buttons.Problem is there is link in different web tables
corresponding to one name.Hence the properties of the
objects(say a link) are same except the x,y co ordinate of
the object.So my script is not able to distinguish between
the two links present in different cells of web tables with
same name.Kindly help on this..

Answers were Sorted based on User's Feedback



I'm facing this problem while automating my application..its a web based apps.. In my applic..

Answer / ashis

Please use Index property to solve the proble,

Is This Answer Correct ?    0 Yes 0 No

I'm facing this problem while automating my application..its a web based apps.. In my applic..

Answer / feroz louis

Since your web tables are having unique names, you can use
the GetCellData(rowId, columnId) method to get the text you
are looking for and compare with the actual. If the string
is also same then you can use the ChildItem (Row, Column,
MicClass, Index) method of the webtable to get the exact
item you are looking for and work with that.

Is This Answer Correct ?    0 Yes 0 No

I'm facing this problem while automating my application..its a web based apps.. In my applic..

Answer / dvenkatesh

you can use method like
childitem(webTableRowNo,WebTableColumnNo,"Link",indexValue)
for specific 'cell' of webTable we have its row
number,column number and index value which always begins
with 0 so the complete operation is like...
browser("creationtime:=0").page("title;=.*").webtable
("name:=","column names:=").childitem
(rowNo,columnNo,"Link",index).click

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More QTP Interview Questions

what is descriptive.create()in qtp?

3 Answers  


What is a programmatic description?

0 Answers  


Can launch two instances of qtp on the same machine?

0 Answers  


Hi could some one explan what is the use of the function Defination generator, And how to use the function defination generator.. Explan with the example..

0 Answers  


Write a QTP script to enter a keyword in to Google search engine?

0 Answers   Wells Fargo,


Please Don't mind .i want in detail the real time process i.e in each document what it contains.

0 Answers  


How will you check that your test cases covered all the requirements?

0 Answers  


We have 10 page.In first page we 2 popup and next page we 3 popup window......(windows name is different)how can we handle the all the popups without using recovery scenario

3 Answers   IBM,


How do I generate Test Results window using descriptive method ( run time ) after my test execution process? Please have a look of my below code. ========================================================= Dim qtApp Dim qtTest Dim qtResultsOpt Set qtApp = CreateObject("QuickTest.Application") qtApp.Launch qtApp.Visible = True qtApp.Options.Run.CaptureForTestResults = "Always" qtApp.Options.Run.RunMode = "Fast" qtApp.Options.Run.ViewResults = True qtApp.Open "C:\Automation\Example", True Set qtTest = qtApp.Test qtTest.Settings.Run.OnError = "NextStep" Set qtResultsOpt = CreateObject ("QuickTest.RunResultsOptions") qtResultsOpt.ResultsLocation = "C:\Automation\Example\Res1" qtTest.Run qtResultsOpt MsgBox qtTest.LastRunResults.Status qtTest.Close Set qtResultsOpt = Nothing Set qtTest = Nothing Set qtApp = Nothing ========================================================== This code is working fine, but Test Result window is not displaying after execution. Anybody can please help me regading the same. Thanks Akshaya Madali Capgemini India Pvt Ltd 9823213538

0 Answers   Cap Gemini,


3 differences between QTP & Winrunner?

1 Answers  


what is the difference between DP and keyword driven framework?

1 Answers  


How to do the scripting. Is there any inbuilt functions in qtp as in qtp-s. What's the difference between them? How to handle script issues?

0 Answers  


Categories