Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
qtp object is not getting correct value
#4
Not Solved
Hi Sathesh,

Try with the below way & implement accordingly.


Code:
Expected_Member_Input="111510BLR - Prathab"
  
  Items_count=Browser("Project Management - Mindlogic").Page("Project Management - Mindlogic_7").WebList("member").GetROProperty("Items count")
For i=1 to Items_count
   Act_Member=trim(Browser("Project Management - Mindlogic").Page("Project Management - Mindlogic_7").WebList("member").GetItem(i))
   if (instr(1,Act_Member,Expected_Member_Input)>0) then
       Browser("Project Management - Mindlogic").Page("Project Management - Mindlogic_7").WebList("member").Select Act_Member
       Exit for  
   End if  
Next
Reply


Messages In This Thread
RE: qtp object is not getting correct value - by sreekanth chilam - 12-07-2009, 01:15 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  The recorded text output not appear on the correct row on the results datatable trance07 0 2,287 09-25-2013, 08:05 PM
Last Post: trance07
  Finding the correct Link mv8167 2 4,424 01-24-2012, 07:58 PM
Last Post: mv8167
  Correct syntax for read and load global datatable from Resources tab in QC to QTP hari1024 1 5,283 12-08-2011, 10:43 AM
Last Post: sshukla12
  Finding the correct WebTable mv8167 0 2,423 12-07-2011, 02:38 AM
Last Post: mv8167
  After Login, need to check if correct mv8167 6 7,976 04-15-2011, 11:07 PM
Last Post: mv8167

Forum Jump:


Users browsing this thread: 3 Guest(s)