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?
#3
Solved: 10 Years, 9 Months, 3 Weeks ago
Hi Azeem,

Thanks for your quick reply and I am sorry for making you confused when reading this topic with unclear issue.

Below is an example to add a product to cart (Each product has different options which we only see during run time)

Example:
Step 1. Launch to the website "http://www.lockersupply.com"
Step 2. Input a product code, such as LW1376, into Search field.
Step 3. Click on "Search" button.
Step 4. Select all options for the product if any (For example, select 3 options for Product "LW1376")
Step 5. Input a number into Qty field.
Step 6. Click on "Add to Shopping Cart" button

At Step #3, the number of options varies based on the product code, i.e. there is none, one, or more than one option for a product. So, I want to have a script which is able to automatically select all the possible options of a product, i.e. if a product has 4 options, then 4 of them should be chosen.

BR,
joshasha


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

Possibly Related Threads…
Thread Author Replies Views Last Post
  swfwindow object name getting changed after each run saniya 1 1,515 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,614 01-17-2017, 11:08 AM
Last Post: JACKSPARROW
  QTP not recogonising object during run time Lavanya N 2 3,562 10-28-2015, 12:46 PM
Last Post: vinod123
  Writing to Run time data table Neetha 5 11,703 08-27-2015, 10:18 AM
Last Post: supputuri

Forum Jump:


Users browsing this thread: 1 Guest(s)