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 USE OF "FUNCTION GENERATOR" IN QTP?

2 Answers  


hi all QTP recognizing objects as "string_1","string_2","string_3","string_4" like that but when using FOR LOOP for these.QTP not proceeding further can i declare these _1,_2,_3,_4 as a single variable

4 Answers   Livetek,


What is the XML file architecture ?

0 Answers  


i am entering wrong data or wrong password in a text box and click on submit button .i am getting a popup window with a message Please enter the correct password or data .How can i handle this situation by using QTP.

11 Answers   SAP Labs,


How we can use the database checkpoint on a java web based application in which the database connectivity is done using JDBC->Pure Java type (in this type there is no need to create a DSN). At present in QTP we can fetch database values using checkpoint only through DSN. Is there any programming for this if we don't have DSN (ODBC)

0 Answers   LinkEdge,






We have 10 rows of records in data table, but we have to run 4th, 5th and 6th rows only. How can we handle this scenario in QTP?

5 Answers   Accenture, Banca Sella, Polaris,


suppose i login into gmail page after that i read all the messages (say 10 messages) i have to send (SAVE) the messages in Html,notepad and i have to replay(Compose) send the messages please give me the code and give mail id so that i can clear my question

0 Answers  


Will down time for server and content maintenance/upgrades be allowed? how much?

0 Answers  


Test Life cycle starts IS it Requirments stage or Test Initiation?

1 Answers  


Please explain me frameworks & how to generate the scripts in framework

0 Answers   ADP,


What are the versions of qtp,What are the differences b/n them?

1 Answers   TCS,


How do we run a test from the 3rd row of the datatable in QTP? Leaving the first two rows we need to test AUT from 3rd row to n'th row.

3 Answers   Virtusa,


Categories