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
What is throw Object?
QTP 10.0 is not identifying web objects for IE 8.it is identifying like winObject.I installed HP patch QTPWEB_00037.Still getting issue
When I click on a link in web page.Link should open in new window.can anyone please let me know the script for this ---Koti
What are the advantages of parameterization ?
Can we record an application running on a remote machine using qtp?
How to run an integrated test scenario using Multiple Actions? How to use the QTP Step Generator?
I am sathish , i want to test the Application of JIL.org ,Mobile Emulator ,by using QTP10.0. I am trying to do testing on that Application , but Child Objects are not identified by the QTP. Please can any one help me
How to find the difference between 2 dates in qtp?
What is action?
Output values? i want a practical example
I am a newbie to QTP / Automation testing. I want to develop a script that creates a data file automatically with proper headings using VBScript in QTP.
what are the limitations of smart identification in qtp 9.0
in a web page How to check and display a particular word from a paragraph?
When ‘option explicit’ keyword is used in qtp?
How to start recording using quicktest professional?