Print Page | Close Window

the dynamiHow to capturec list name

Printed From: One Stop Testing
Category: Testing Tools @ OneStopTesting
Forum Name: QuickTest Pro @ OneStopTesting
Forum Discription: QuickTest Pro is a fresh approach to automated software and application testing that addresses testing needs of both business analysts and Quality Assurance professionals.
URL: http://forum.onestoptesting.com/forum_posts.asp?TID=925
Printed Date: 06Jun2024 at 1:23am


Topic: the dynamiHow to capturec list name
Posted By: adela
Subject: the dynamiHow to capturec list name
Date Posted: 25Apr2007 at 4:24am
In this case there are two pages, one is to list all records, click one of them to its detail page, on the detail page there are two drop down lists, then select one item from every drop down list. However, when I record it, I find their list names are dynamic in script as follows when I select different item from list. If I click another record on the first page to go the detail page, their list names will be another.

Browser("xxx").Page("yyy").Frame("zzz").WebList("cartonType^166522").Select "1 - APC FTY 1 CTN 1"
Browser("xxx").Page("yyy").Frame("zzz").WebList("cartonType^166523").Select "2 - APC FTY 1 CTN 2"




Print Page | Close Window