There is a table with 4 columns and 10 rows, how to write the
script to display the first column records using qtp? can
anybody help me with script?
Answer Posted / saharsh
clumn name: Name,Studies,rank,status
namColumnname=B("),P("").webtable("").Getcelldata(1,1)
studies=B(").P("").webtable("").getcelldata(1,2)
rank=B(").P("").webtable("").getcelldata(1,3)
status=B(").P("").webtable("").getcelldata(1,4
)
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
Explain the differences between table and db checkpoints?
How QTP identify the system time that's changes every seconds?
Explain about the test fusion report of quicktest professional?
Is it possible to call from one action to another action in qtp?
what are the challenges you have faced while testing web based application using the automation tools ?
what is the diff b/w assistive and mandatary rules of object repository in QTP???
How to check which add-ins are associated with a test in qtp?
What is expert view in qtp?
How to Test the mainframe application?
How do you delete unwanted results in qtp?
How to use parameterization in qtp?
how many maximum number of virtual users we can create?
when I try to run below script in QTP "totalPages" value is 2. But i am getting error message (Type mismatch: 'totalPages' Line (): "For i=1 to totalPages".) totalPages=Browser("Name:=User").Page("Title:=User").WebElem ent("innertext:=of.*").GetROProperty("InnerText") msgbox totalPages For i=1 to totalPages rnum=Browser("Name:=User").Page("Title:=User").WebTa ble("column names:=User Name;ID;Last Name;First Name").GetRowWithCellText("store4") If rnum>0 Then r=rnum Exit for End If Browser("Name:=User").Page("Title:=User").WebElement ("html tag:=A","x:=471").Click MsgBox "Exit" Next
How to open a new test using quicktest professional (qtp)?
Have you faced any problems with object repository?