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
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 |
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 |
Answer / anu
driver.findElemement (By.xpath(html/body/table/tbody/tr[1]/th[3])).getText();
| Is This Answer Correct ? | 0 Yes | 0 No |
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 |
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 |
Explain QTP using different development techniques ?
Dim ExcelSheet Set ExcelSheet = CreateObject("Excel.Application") excelsheet.application.visible = true ExcelSheet.ActiveSheet.Cells(1,1).Value = "This is column A, row 1" ' Save the sheet. ExcelSheet.SaveAs "C:\DOCS\TEST.XLS" ' Close Excel with the Quit method on the Application object. ExcelSheet.Application.Quit after run this script i am getting error"The test cannot continue due to unrecoverable error"
In automation testing, while doing descriptive programing; how will u get the properties of the objects in what format, what type of a document, and by whom? Pls explain in detail. Thanks a lot
how we will use output values in qtp? is there any possibulity by descriptive programming?
what is the difference between Table checkpoint and Database checkpoint in QTP
How we can test a Frame in a web page?
How to capture text from image to word
How to attach a file to TD?
Can we Script any test case with out having Object repository? or Using Object Repository is a must
Will QTP Support Japanese Language?
3 Answers Cap Gemini, Infosys,
what is batch run ?
How we know the qtp has used the smart identification process for identification of the object.