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?
#10
Solved: 11 Years, 4 Months ago
I greatly appreciated your reply for solving my facing trouble. However, I have a little difficulty in indentifying the ID numbers of the option groups of an arbitrary product. In my previous post, I just simply chose the two option groups of product A, MGP915 & MGP899. In fact, the set of option groups varies for each product, i.e. each product has a different set of option groups (different types & number). So, Is there any way to identify this kind of dynamic data or we have to write a query in database to get the product's option groups?

Thanks all for your help,
joshasha.

Code:
itemcount = Browser("IE").Page("Product").WebList("xxxxxx").GetRoproperty("itemscount")
For i = 1 to itemcount
   Browser("IE").Page("Product").WebList("xxxxxx").Select i
Next


Messages In This Thread
RE: Is there a way to select dynamic option of an object in run time? - by joshasha - 10-29-2009, 09:54 PM

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

Forum Jump:


Users browsing this thread: 2 Guest(s)