Thread Rating:
  • 1 Vote(s) - 1 Average
  • 1
  • 2
  • 3
  • 4
  • 5
QTP not selecting appropriate webelement from the webtable..Need Solution
#11
Solved: 11 Years, 4 Months, 4 Weeks ago
Hi.. I just wanted to know which object is returned in ur case and u say that whole table itself is getting highlighted.
I have used similar approach and it was an actual WebTable, it worked gr8. But u seem to have DataGrid.

So i am not sure if the WebTable test object can be used to identify the RO of GataGrid. Can u try using WbfGrid instead?
Sorry if it does not help and Plz let us know if you find the solution somehow
Reply
#12
Solved: 11 Years, 4 Months, 4 Weeks ago
Hi Saket,

for one of my scripts, I have tried using the same script as mentioned below:

1. get the row where your required text is there in the table using GetRowWithCellText
nRow =B().P().F().WebTable().GetRowWithCellText("AR1100000113")
2. set an object to the webelement of the row and required column
Set oElem = B().P().F().WebTable().childitem(nRow,4,"WebElement",0)
3. Click on webelement
oElem.Click

But then, its throwing "Object Required" error.

May I know, if I have missed anything here
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
Exclamation WebElement("WebElement").Click is not working sia sharma 7 24,041 09-28-2016, 08:58 PM
Last Post: supputuri
  Scrambled characters in uft Solution Explorer Dwarak Calayampundi 0 1,567 05-25-2016, 05:02 AM
Last Post: Dwarak Calayampundi
  QTP not recording script for webtable alpha1 4 2,942 07-20-2015, 03:47 PM
Last Post: alpha1
  Selecting values from drop down using QTP. prempujaripati 2 46,860 06-26-2014, 06:06 PM
Last Post: rasmirani
  Selecting file saved in a location excellentpawan 1 4,080 02-25-2014, 02:05 PM
Last Post: guin.anirban

Forum Jump:


Users browsing this thread: 2 Guest(s)