Hi bhavin/parke, i am attaching screenshot, so please find it.
i have a web application and i want to delete particular row from webtable. we have searching facility on some page, but on some page we don't have. so it is not possible to search and delete. on clicking on each page (in paging) is lot much time consuming, because it take lot of time to navigate from one page to other also i cant use database because i have not right to delete row from database table hence i just want to know is there any way from which we can count and compare text of all row in table to our text, and if text is mathed then we willdelete that row. thanks bhaves for sharing code, it working perfect for first page. @parke ya data is alwase in same column. Regards, Ajay Singh On Friday, August 17, 2012 7:45:54 PM UTC+5:30, Parke wrote: > > Ajay: > > As Bhavin was asking, "Do you want to delete the row from the table or > do you want to delete the row in a database?" I assume you need to > delete from a database so that the piece of information will not be > seen the next time the webpage is displayed or is there a column in > the database which is labelled "DoNotShow" and this flag needs to be > set? > > If you need to delete from a database, have the dba run a query to > remove/delete the row. Most testers do not have permission to delete > information in a database. > > Bhavin is asking for clarification of exactly why and what action you > need to perform with QTP? Seeing a screen shot would help us help > you. > > Question 1: is the particular data always in the same column? > Question 2: assuming the data is coming from a database, is one of the > columns unique, i.e. a key? If there is nothing unique, then it will > be may be difficult to locate that row in the database. > > Parke > On Friday, August 17, 2012 7:45:54 PM UTC+5:30, Parke wrote: > > Ajay: > > As Bhavin was asking, "Do you want to delete the row from the table or > do you want to delete the row in a database?" I assume you need to > delete from a database so that the piece of information will not be > seen the next time the webpage is displayed or is there a column in > the database which is labelled "DoNotShow" and this flag needs to be > set? > > If you need to delete from a database, have the dba run a query to > remove/delete the row. Most testers do not have permission to delete > information in a database. > > Bhavin is asking for clarification of exactly why and what action you > need to perform with QTP? Seeing a screen shot would help us help > you. > > Question 1: is the particular data always in the same column? > Question 2: assuming the data is coming from a database, is one of the > columns unique, i.e. a key? If there is nothing unique, then it will > be may be difficult to locate that row in the database. > > Parke > On Friday, August 17, 2012 7:45:54 PM UTC+5:30, Parke wrote: > > Ajay: > > As Bhavin was asking, "Do you want to delete the row from the table or > do you want to delete the row in a database?" I assume you need to > delete from a database so that the piece of information will not be > seen the next time the webpage is displayed or is there a column in > the database which is labelled "DoNotShow" and this flag needs to be > set? > > If you need to delete from a database, have the dba run a query to > remove/delete the row. Most testers do not have permission to delete > information in a database. > > Bhavin is asking for clarification of exactly why and what action you > need to perform with QTP? Seeing a screen shot would help us help > you. > > Question 1: is the particular data always in the same column? > Question 2: assuming the data is coming from a database, is one of the > columns unique, i.e. a key? If there is nothing unique, then it will > be may be difficult to locate that row in the database. > > Parke > On Friday, August 17, 2012 7:45:54 PM UTC+5:30, Parke wrote: > > Ajay: > > As Bhavin was asking, "Do you want to delete the row from the table or > do you want to delete the row in a database?" I assume you need to > delete from a database so that the piece of information will not be > seen the next time the webpage is displayed or is there a column in > the database which is labelled "DoNotShow" and this flag needs to be > set? > > If you need to delete from a database, have the dba run a query to > remove/delete the row. Most testers do not have permission to delete > information in a database. > > Bhavin is asking for clarification of exactly why and what action you > need to perform with QTP? Seeing a screen shot would help us help > you. > > Question 1: is the particular data always in the same column? > Question 2: assuming the data is coming from a database, is one of the > columns unique, i.e. a key? If there is nothing unique, then it will > be may be difficult to locate that row in the database. > > Parke > -- 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
<<attachment: paging.png>>
