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 |
Explain the views in the QTP GUI?
how many wayes we do the parameterization?
What is the difference between "Call to copy of action", "Call to existing action" & "Call to winrunner action"?
hi all can any body explain how to write the script for finding the mandatory fields which are having [red Astrik sign (*)]
I want to create Excel object on another machine which is in network i written the code "Set se=createobject ("Excel.Application","\\ankur")"here \\ankur is the name of that machine but i m getting the error of permission denied create object can anybody help me
If u r using descriptive programming to identify the object where do u write the script for those objects? do u write it in the expertview? plz do answer its urgent thanks advance.
if anyone has idea of the interview procedure in covansys, plz send me a mail?
What is Maximum synchronization time out in QTP(By Default is 20sec). Anybody can answer it. Thanks in advance.
What r steps to migrate from Manual testing to QTP?(IN BOTH WEB BASED AND WINDOWS APP)
Is there a function to find the number of occurrences of sub strings within a string?
how to add run-time parameter to a datasheet?
1 Answers Mphasis, Ordain Solutions,
When The Low Level Recording is Used in QTP