Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Test unable to record this step: clicking the first row out of various search results
#5
Not Solved
HI Hima,

you can get out this issue by following the below steps

1) Add the WebTable object to OR and then use then select "column names" as property and value should be
".*Client Number;.*"
2) Now use the index value to identify the webtable ( I think it should be around 2 or more)
3) Now try to use the "GetRowWithCellText" method to get the row number of with the desired test
Code:
RowNumber = Browser("II").Page("II - Client_2").WebTable("ClientSearchResults").GetRowWithCellText("00371896")
CellData = Browser("II").Page("II-Client_2").WebTable("ClientSearchResults").GetCellData(ColumnNumber,RowNumber)
                  'U can give ColumnNumber as "1" if no other blank columns are exist.
Browser("II").Page("II - Client_2").WebElement(CellData).Highlight
Browser("II").Page("II - Client_2").WebElement(CellData).FireEvent "ondblclick"
          'I think there are certain cases where we have to double click on the rows inorder to open if it is only selection then you can use .click"
Please try this and let me know if you need any more info.
Thanks,
SUpputuri
Reply


Messages In This Thread
RE: Test unable to record this step: clicking the first row out of various search results - by supputuri - 07-20-2010, 08:19 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  how to select value from google search box dropdown +QTP prajyot 0 2,902 06-28-2017, 06:30 PM
Last Post: prajyot
  Searching for and selecting row in Datawindow zsl0009 0 2,810 08-04-2015, 01:02 AM
Last Post: zsl0009
  Search and import data from excel under some rules. nwpulele 2 2,921 02-19-2015, 04:10 AM
Last Post: supputuri
  QTP not clicking on the flex button sudheerch 2 3,624 12-03-2013, 12:56 PM
Last Post: sudheerch
  Clicking command button in accesss form mark_cielos24@yahoo.com 1 3,356 05-07-2013, 10:52 PM
Last Post: agarwl.anurag

Forum Jump:


Users browsing this thread: 2 Guest(s)