In Webtable New rows getting added, we have select the name as Sandeep ,If name column is sandeep then need to check the checkbox ,we don't know the rows and columns ,Can anyone please tell me the answer.
Answer Posted / mogal
RC = Browser("Browser").Page("Page").WebTable("html tag:=TABLE").RowCount
RC = Browser("Browser").Page("Page").WebTable("html tag:=TABLE").ColumnCount(1)
RN = RC = Browser("Browser").Page("Page").WebTable("html tag:=TABLE").GetRowWithCellText("Sandeep")
For j = 1 to CC
If Browser("Browser").Page("Page").WebTable("html tag:=TABLE").GetCellData(RN,j) = "Sanddeep" Then
CN = j
End If
Next
Set OExpBox = Browser("Browser").Page("Page").WebTable("html tag:=TABLE").ChildItem(RN,CN,"WebCheckBox",0)
OExpBox.Click
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
How you debug your script?
For which type of project the iterative model is suitable?
Without using gui map editor we can recognize the application in winrunner ?
Explain how Does Run time data (Parameterization) is handled in QTP?
Get the count of files of similar types from a folder.
On what document base Descriptive programming is written if build is not yet ready ?
What is action split and the purpose of using this in qtp?
Excel sheet having some datas and some datas present in the application (in table). How will you compare these two datas? Write code to fetch datas from Excel sheet.
what kind of frame work you used in your last project?
Could any one tell me "How can i recognize my cursor position using QTP 9.2" Give me a scripts for this
Hi, How Accessibility checkpoint in QTP can be implemented in the test script?
HOw to add the recovery file at runtime to the test file .
Limitations in QTP?
What is the expert view?
What is smart identification in QTP?