How to search added text in a grid box
I am searching text in a grid box (from web page). When i click on a link i will get a page which contains 10 active data's in grid. Like that i have page navigator for next 10 items. until 10 page navigators.
1 click on link
2 search 'admin' text in first 10 elements, if not found navigate to next page and then search for the string.
3 Goto next line if found or If not found in all page generate a error.
1 Text checkpoint button is disabled, not able insert text check point.
2 How to search for text and logic.
If this needs to be handled in diffrent way then let me know.
can we work on grid in qtp? is their any problem?
Thanks in advance
Moderator comments: follow the forum guidelines and don't "scream" with special chars in your subject title (I removed the "###" strings).
Re: How to search added text in a grid box
You need to add the WebTable to the OR, then use GetCellData, RowCount, ColumnCount to do the search and then build a logical loop to click on the page indexes. Continue the search for 10 pages or till text is found