Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Is there a way to select dynamic option of an object in run time?
#6
Solved: 10 Years, 10 Months ago
Hi,
with the below code u would be able to identify how many list box has been displayed dynamically
Code:
Browser("Lockers, Storage Lockers,").Page("Lockers, Storage Lockers,").WebEdit("keyword").Set ("LW1368")
Browser("Lockers, Storage Lockers,").Page("Lockers, Storage Lockers,").WebButton("Search").Submit
wait(10)
Set a=Description.Create
a("html tag").value="SELECT"
Set b=Browser("Lyon - Work Bench with").Page("Lyon - Work Bench with").ChildObjects(a)
c=b.count
msgbox c 'Here u will be able to identify how many attributes list has been displayed


Please find the attached Object Repository also , it may helpful to u
I am attaching OR.doc (As because this site is not accepting .tst files so i changed it to .doc , if u wnat to see this please change it to .tsr and upload it to your object repository)
Please let me know if u need any information apret from this...


Attached Files
.doc   OR.doc (Size: 240 KB / Downloads: 93)


Messages In This Thread
RE: Is there a way to select dynamic option of an object in run time? - by venkatbatchu - 10-20-2009, 03:58 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  swfwindow object name getting changed after each run saniya 1 1,522 10-10-2018, 09:02 PM
Last Post: TheGlovner
  Object Name Is Also A Dynamic Value zunebuggy 0 1,067 05-16-2017, 09:53 PM
Last Post: zunebuggy
  Object identification is taking too much time JACKSPARROW 0 1,615 01-17-2017, 11:08 AM
Last Post: JACKSPARROW
  QTP not recogonising object during run time Lavanya N 2 3,563 10-28-2015, 12:46 PM
Last Post: vinod123
  Writing to Run time data table Neetha 5 11,717 08-27-2015, 10:18 AM
Last Post: supputuri

Forum Jump:


Users browsing this thread: 1 Guest(s)