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 |
How can we use regular expressions for a table in web page, each cell in table having unique identification, Now I want to count number of rows in table and enter data in all cells of the table?
Could anyone help me for the below scenario: i am using the descriptive programming for my account, in which we have to generate the contract in the MS-word. when i generate this doc, we need to click on enable macros to continue further. but i am unable to make qtp to click on this. if anybody faced the problem like this??? pls help to get it resolved? Thanks in advance
i need code for how to click on particular mail in utlook mail box .its urjent Thank You Balaji
Dear sir, i want to perform a QTP automated testing for mechancial engineering software like msc adams, msc nastran this softwares will help for mechanical engineering design analysis>> i know oad runner win runner, test director, QTp>> but i dont know how to use for automation
What will be the script for recovery scenerio.plzanyone give ans with aexample related to banking project
how to capture objects of remote deskop as it is capturing only window.
How are cgi programs, applets, javascripts, ActiveX components, etc. to be maintained, tracked, controlled, and tested?
what is syncurnisation point? what is the use of this in real time environment? plz explain?
What are metrics and matrix?
If we write a script in the expert view how are the objects created in the object repository? to be clear i will explain my problem first i have recorded the mercurytours application by providing the link www.mercurytours.com and all the objects are stored in the object repository ok this is fine. but i have copied the script generated in the above processes and pasted in a new test and tried to run that script but as the objects were not stored in the object repository it showed an error (The "Welcome: Mercury Tours" object was not found in the Object Repository. Check the Object Repository to confirm that the object exists or to find the correct name for the object).so how can i overcome that error
If i entered 2 columns and 4 rows inputs in DDT Like Mango fruit, Banana Fruit, Brinjal Veget, Carrot Veget.. . My Q is How to get the 2nd column value for corresponding 1 column input in 3rd row ie, ( i need to get "veget" in messge box @ run time
How to Identify broken links in QTP