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 |
When you open QTP, how many sheets you can see?
Plze let me know how you can validate in the QTP that printed documents is correctly printed or not ie how we can do the validation that all the records or text are printed successfully in the printed document as per the application format requuired.
I have recorded a test using qtp to download a file in an application. Code: Browser("MFA Work Queue Manager").Page("MFA Work Queue Manager").Link("Rules Maintenance").Click Browser("MFA Work Queue Manager").Page("Rule Maintenance").WebEdit("txtSearch").Set "PmtType" Browser("MFA Work Queue Manager").Page("Rule Maintenance").WebButton("Search").Click Browser("MFA Work Queue Manager").Page("Rule Maintenance").WebButton("Export").Click Browser("MFA Work Queue Manager").Dialog("File Download").WinButton("Save").Click Browser("MFA Work Queue Manager").Page("Rule Maintenance").Sync Dialog("Save As").WinButton("Save").Click Dialog("Save As_2").WinButton("Yes").Click Problem: When running this test it gives an error at line no. 5 as Save button object is not identified by it's parent object. This code I ran 4 times after recording at it was working fine but 5th time onwords, it starts giving me the above problem. I used exist property option, Check Property option but none of this changes work at all. Kindly help...
How to covert a String to an integer?
What are the different types of qtp test assets and their extensions?
How to capture dynamic objects in qtp like mark up text
does test plan is in test strategy or test strategy is in test plan
What is recovery scenario in qtp?
What is the disadvantage of smart identification?
i have doubt suppose iam purly working in QTP, when i will work on sql and performence testing? pls any one clarify doubt?
When Object Repository is available what is the necessity of having Descriptive programming which needs more scripting efforts.
what is the object properties settings in the QTP