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

How to measure transaction time through VBScript without using start and end transaction points?

0 Answers  


tell me about framework types and most used framework in real time. types of output value in details. diff between wr and qtp in detail.

2 Answers  


Write a script to customize the test results in PDF and HTML format.

0 Answers   DuPont,


How u send bugs to dev'lpment team all at once or one by one or waht is the process?

2 Answers   kenexa,


How will you find the current time of the remote machine using QTP script?

0 Answers  






what difference between runtime object and text object and what property they have. whether they have same properties or different properties.

0 Answers   Intel, Satyam,


Hi any body pls help me for QTP 11.0 software free demo version. i have to practice. Kindly send the link.or where i have to download.

0 Answers  


suppose i can done the project in automation tool with QTP in that time what i can say?

3 Answers  


What are the enhancements u did after recording ur script?

3 Answers  


How many test scenarios you have automated? How many time it will take to execute 30-40 scenarios? What SDLC model you are following? How often you will execute your test scripts? Because of some changes, your test scripts failed? When you will update your test scripts? How much time it will take to update? Do you know how to connect database? Do you know the direct method to count no. of records (or) rows present in record set once query is executed? How will you create the connection string? How did you resolve conflicts present in Object Repository? How good you are in VB? How will you work on Excel Application? How will you select Excel sheet? If you want to select 10 sheets, will you create 10 separate objects? Given string is “abcd”. What are the methods you will use to display “dcba”? Drives script – explain the frameworks? How you are updating results for each test? What is start up, configuration, navigation scripts? If you are not able to understand the application (some module), who will teach you? What test cases to be automated? When to be automated? What is the testing process you are following? What life cycle you are following? When you will use Descriptive Programming? Do you have the permission to add objects into shared object repository? (OR) someone will maintain SOR? Do you know how to add objects into shared object repository? How many test cases you have automated? How much time will it take to execute? What is complex in automation? When you feel automation is complex? Tell me one scenario, the complex functionality you have automated in your project? Excel sheet having some datas and some datas present in the application (in table). How will you compare these two datas? Write code to fetch datas from Excel sheet. Rate yourself in SQL? Display the employee name who is getting maximum salary? sal ID Salary name 001 100 002 500 003 300 ID 001 002 003 Ename A B C Have you written any test cases while you are in Automation? Manual Testing also will you do or you will work only in automation?

0 Answers  


Create an Excel file and pass the values from Flat File? (for ex:data1.txt,data2.txt )

2 Answers   FIS,


How we wil do data driven test using chkpts? Plz. give me complete navigation steps for this?

1 Answers  


Categories