We have a dynamic webtable where rows keep on adding.I have to click on particular row where the status changes to Update or Save.How do you click on Status(either it can be Update or save)
Answers were Sorted based on User's Feedback
rw=browser("Browser").Page("Page").WebTable("Table 1").RowCount
For i=1 to rw
a=browser("Browser").Page("Page").WebTable("Table 1").GetCellData(i,6)
If a="Hello" Then
Set b=browser("Browser").Page("Page").WebTable("Table 1").ChildItem(i,6,"webbutton",0)
b.click
End If
Next
Is This Answer Correct ? | 1 Yes | 0 No |
'Get Column number of Status from table eg: it is 5
intColNumber=5
set objTable=Browser("index:=0").page("index:=0").Webtable("index:=0")
intRowNumber=objTable.getRowWithCellText("Update") ' i have taken example of update
set objChildObject=objTable.ChildItem(intRowNumber,intColNumber,"WebElement",0)
objChildObject.click
Is This Answer Correct ? | 0 Yes | 1 No |
How to run a script from lines 50 - 100 alone (if the script has 1- 200 lines of code)?
wat are views in qtp explain
Can QTP be used for GUI testing ?, We are using Java with MySQL and Operating system is Linux. We are NOT using the web.
if our qtp vb Script may be Currepted then What we want do?
Whar are the challenges do we face while testing web based applications using the automation tool QTP or any??
how to write the descriptive programming in QTP for loginwindow.without using Step generator,object repository for referecnes
Which scripting language used by quicktest professional (qtp)?
What is recovery scenario manager? When you go for recovery scenario manager?
hai friend's .. my question is a[0]=I a[1]=N a[2]=D LIKE IT GO'S i need output INDIA ,using simple string how will u do? can any one tell really need full..
4 Answers Mind Tree, Tech Mahindra,
Explain different checkpoints in qtp.
what are SetToProperty, SetROProperty,GetToproperty scripting?
How can i see test results in excel sheet ? test data not present in data table.