Hi, I want to retrieve the cell data in the WebTable.
For that I have defined a new test object under the browser
and have given html tag and text as the test object
properties. But while I try to identify it it says 'Object
description is not unique'. I tried adding innerhtml,
outerhtml, innertext and outertext along with the ordinal
identifiers; but no use. What more properties need to be
added to identify it?
Also I want to enable smart identification for this object
but the field is disabled in the object repository for this
object alone(In QTP tools->object identification the enable
smart identification checkbox is enabled). How do I enable
it?

Answers were Sorted based on User's Feedback



Hi, I want to retrieve the cell data in the WebTable. For that I have defined a new test object und..

Answer / tanuj

For that 1st u defined the web table in OR then
u try this Query-
text=Browser().page().webtable().getcelldata(row,column)

in row,column u feed which cell data u want.ur cell data store in text.which r checked by u through the msgbox or orthers....

Is This Answer Correct ?    0 Yes 0 No

Hi, I want to retrieve the cell data in the WebTable. For that I have defined a new test object und..

Answer / kishore

Now the cell data whih u r tryi ing to retreive is it
Link,Webelement,
Now if its a webelement go for the property inner text

but i think u tried this

browser("xxx").page("xxxx").webtable("xyz"),Childitem
(row,column,"Micclass",0).getroproperty("innertext")

Is This Answer Correct ?    2 Yes 4 No

Hi, I want to retrieve the cell data in the WebTable. For that I have defined a new test object und..

Answer / dipu krishnan

Hi,
The Smart Identification can be disabled due to the
following reason:-

Open QTP
Under File Menu you can find an item called "Setting".
Click "Setting" which will display the "Test Setting" tab.
Select "Run" in the test setting tab. This will display a
checkbox "Disable Smart identification durning the run
session".
Uncheck this checkbox. This will enable smart
identification for this object.

I hope once smart identification is enabled your problem
will be solved.

Is This Answer Correct ?    1 Yes 3 No

Post New Answer

More QTP Interview Questions

what is stlc and its contents?

1 Answers  


What are table and db checkpoints?

0 Answers  


what is the use of automation objective model?where is used? plz tell me

2 Answers  


Can we use smart identification in Keyword Driven approach? If yes , How we can use. Please Explain?

1 Answers  


Can anyone share/send me QTP 8.2 Crack as I had it before but now it's virus affected. Pls send me on Sawale.vijay@gmail.com Thanks, ~Vijay

0 Answers   Zensar,






hi, i am trying to capture "web element" names in a web page, and i written the code like this,, with Browser("title:=") with .page("") .webelement("htmltag:=...").getroproperty("innertext") end with end with //////////////////////////////////////////////////////////////////////////////////// QTP RETURN ERROR like this: " object's description matches more than one of the objects currently displayed in your application. Add additional properties to the object description in order to uniquely identify the object" ok fine , i need to search another property other than "index" i use all the properties like class,text,innerhtml,innertext,visible=true,x , y,abs x ,abs y...but qtp returns error ..... in this webpage index is difficult to find? how to solve

1 Answers   IBM,


what is meant by Utility object and utility functions?can u all pls explain these clearly.

1 Answers  


what is check point?

2 Answers  


What is meant by virtual obj and Y do v need virtual obj configuration.

4 Answers  


Differences between quicktest professional (qtp) and winrunner?

0 Answers  


how will you check how many members visited the website www.infosys.com?

0 Answers   Logica CMG,


How Qtp will identifies object during run time

6 Answers   CSS Corp, Yahoo,


Categories