can you please attach an screen shot so someone can help you out?
In paging window, You want to get the specific row and delete that row.
two conditions !
1. If row is visible on window,
Please change an object types based on your application
rowcounter
=window("x").Dialog('y").WinTable("z").GetROProperty("Row retrieve property")
expectedVal="xyz" ' This data is specific data which you want to use to
identify row
flag="false"
For i=0 to rowcounter -1
actualVal=window("x").Dialog('y").WinTable("z").GetCellData(i,ColumnName)
If StrComp(actualVal,expectedVal,1)=0 Then
window("x").Dialog('y").WinTable("z").WinButton("Delete").Click
i=rowcounter
flag="True"
End IF
Next
IF flag="False"
Row is not there..
End IF
2. If row is not visible on window..
Then if you have next button to view another table/screen .. click
that button accordingly until you find row,
IF you have a search option you can search with your required item there
and delete a generated row.
3. If none of these work, And your row is invisible in an application then
you can connect QTP to Database and delete a row there...
On Thursday, August 16, 2012 1:23:40 PM UTC-4, Ajay Singh wrote:
>
> Hi Parke,
>
> i want to search perticlar row for perticular data and want to delete that
> row. but didn't get the row who are under paging.
> appreciate if you could help.
>
> On Tuesday, August 14, 2012 6:36:17 PM UTC+5:30, Parke wrote:
>>
>> Ajay:
>>
>> Are you only wanting to count the total number of rows or do you also
>> want to store some of the data in each row for analysis or comparison
>> to find which rows hold specific information? (I use nested
>> dictionaries to verify records have moved from one area to another.)
>>
>> Is this a web application?
>> Can you automate moving from page to page?
>> Is there a maximum number of rows shown per page?
>>
>>
>> Parke
>>
>> On 8/12/12, Ajay Singh <[email protected]> wrote:
>> > Hi,
>> > can anyone give me solution that how to find all row in webtable if it
>> > consist paging.
>> >
>> > Regards,
>> > Ajay
>> >
>> > --
>> > You received this message because you are subscribed to the Google
>> > "QTP - HP Quick Test Professional - Automated Software Testing"
>> > group.
>> > To post to this group, send email to [email protected]
>> > To unsubscribe from this group, send email to
>> > [email protected]
>> > For more options, visit this group at
>> > http://groups.google.com/group/MercuryQTP?hl=en
>> >
>>
>
--
You received this message because you are subscribed to the Google
"QTP - HP Quick Test Professional - Automated Software Testing"
group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/MercuryQTP?hl=en