In a web application , there is a table of rows and coloums
, i want to pickup the 1st row and 3rd coloums name (not
data)how can any one explain

Answers were Sorted based on User's Feedback



In a web application , there is a table of rows and coloums , i want to pickup the 1st row and 3rd ..

Answer / lakshmareddy bhavanam

By using getcelldata(rows,columns)
ex:- browser().page().webtable().getcelldata(1,3)


the above answer is not correct please send thee correct
answer


my mail id is bhavanamlakshmareddy@gmail.com

Is This Answer Correct ?    4 Yes 4 No

In a web application , there is a table of rows and coloums , i want to pickup the 1st row and 3rd ..

Answer / udham

a = browser("creationtime:=0").page("title:=.*").webtable("name:=All").ChildItem (1,3,"Link",0).getroproperty("outertext")

msgbox a

'i hav give link in childitem
if it is webedit then use that one.

Is This Answer Correct ?    1 Yes 1 No

In a web application , there is a table of rows and coloums , i want to pickup the 1st row and 3rd ..

Answer / anu

driver.findElemement (By.xpath(html/body/table/tbody/tr[1]/th[3])).getText();

Is This Answer Correct ?    0 Yes 0 No

In a web application , there is a table of rows and coloums , i want to pickup the 1st row and 3rd ..

Answer / kishan

In a WebTable, always the first Row will be "Column Names".
so when you use the statement

clmName=Browser("A").Page("B").webTable("C").getcelldata(1,3)

It will only give you ColumnName not the value under that
column.

Is This Answer Correct ?    0 Yes 2 No

In a web application , there is a table of rows and coloums , i want to pickup the 1st row and 3rd ..

Answer / guest

Hi,

Using this statement u can get Row value

value=Browser().Page().Frame().WebTable().GetCellData(row,
column)

Is This Answer Correct ?    1 Yes 5 No

Post New Answer

More QTP Interview Questions

What is the difference between a Function and Action in QTP?

0 Answers   Wells Fargo,


How to open a new test using quicktest professional (qtp)?

0 Answers  


If requirments changed then how we can teach the QTP this is the new requirment

2 Answers   Accenture,


if interviewer asked about the framework used for automation how we will handle the question..means what should be the answer..plz help..which framework u r used in our company?

1 Answers   iGate,


I register user defined function in one test, I tried to call that function into other test. But that function not works in other test please give the direction for that.

1 Answers  






I m trying to automate one vb desktop application in that there is vblist vbcombobox many other vb tools are there ,when i m trying to find some unique property to identify the object (take example of vbcombobox ) I cannot find any unique property, all the combobox belong to same nativeclass same name no ids are available ,only the distinct property is there x and y coordinates so i m using some code like this "vbbutton "nativeclass:=ThunderRT6CommandButton","x:=304","y :=443").exist(2)" but i dont find them reliable .Can anyone suggest me some other way to identify those objects with some unique property or is there any way to register our own property .I m using descriptive programming to write the code .Thanks in advance

6 Answers   Cimcon,


wht type of User defined functions or Java Releated functions Do we write in VB scripting

0 Answers  


Can we add the objects of an application dynamically?

2 Answers   KEN Group, LD College,


what is test scheduling?

1 Answers  


Can any body please tell me the steps of keyword driven frame work in qtp. My mail is saswat445@gmail.com please send some materials on keyword driven testing in qtp. thanks a lot...

0 Answers  


what is the data driven testing?

0 Answers  


Where to use Property Let, Property Get, Property Set in UFT

0 Answers  


Categories