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

How to use descriptive programming?

0 Answers  


how can we handle exceptional handling in qtp

6 Answers   NIIT,


How we can add actions in the test using QTP?

2 Answers  


write the code to reverse a string without using Strrev built in function.

14 Answers   ADP,


hai, i completed my b.tech in 2010 with 62.3%. i having knowledge on manual testing and Qtp. i want Relavent experience in testing.watever may be d salary i dont bother..I just want to gain knowledge. i dont have good communication skills.

0 Answers  






How can we extract data like "Details","Result","Time" from the 'Run Error' result generated in QTP after run time errors are generated during a run & import the details etc...into excel sheet

0 Answers  


What is the real use of different actions in QTP

2 Answers  


I have to automate excel features using qtp in this i need to open instance of excel in different ways like double click on file, drag & drop options, File > open option but i know the 2 ways to open the excel instance 1 is by creating the object and another is to open the excel file in already opened instance of excel through sendkeys through qtp. But i m not geting how to open excel file through double click and drag and drop option through qtp script plz help me out anyone can thanks in advance

0 Answers  


plz explain QTP real time work( Means where you store scripts and how u access scripts next day? where those activities we are maintaining, If By usig VSS how the process in going on , plz explain briefly?

2 Answers   CTS, Tech Mahindra,


How you used DDT in QTP?

1 Answers  


I want to test my vb.net solution file using qtp. Does Qtp test only .exe file?

0 Answers  


What exactly a frame Work means?what are the different type of frameworks done in QTP?why the caption for QTP given as advanced keyword driven?

4 Answers   Satyam,


Categories