Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Selecting a state from a weblist
#3
Solved: 11 Years, 3 Months, 4 Weeks ago
Hi ,

U try in two ways :

1st way :
Give trim functions for value retrieved from datatable as given below.(This will eliminates any trailing or leading blank spaces & return the string alone)

Code:
Browser("abc").Page("xyz").Weblist("state").Select trim(Datatable("Global","State"))

2nd Way:
Just perform Recording for the selection of "Massachusetts" value from Weblist.
script will be generated as :
Code:
Browser("abc").Page("xyz").Weblist("state").Select "Massachusetts"

Just Copy the Massachusetts Value & paste into the datatable sheet & Save the script.

Now try to re-execute. I hope it will be able to select the required value from datatable.
Reply


Messages In This Thread
Selecting a state from a weblist - by sunny rao - 01-08-2009, 07:22 PM
RE: Selecting a state from a weblist - by Akpene - 01-08-2009, 07:34 PM
RE: Selecting a state from a weblist - by sreekanth chilam - 01-09-2009, 11:16 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Webtable objects recognise as weblist in UFT 12.5 Sharad Kumar 0 1,170 12-06-2018, 04:57 PM
Last Post: Sharad Kumar
  Searching for and selecting row in Datawindow zsl0009 0 2,810 08-04-2015, 01:02 AM
Last Post: zsl0009
  Problem selecting in a dropdown menu during playback. qemls29 9 13,043 07-28-2015, 05:44 PM
Last Post: Sharan
  Selecting Link Magad 1 2,824 11-07-2014, 03:56 AM
Last Post: PrateepKaraval
  selecting values from the dropdown webelement poojaarora014 3 18,030 04-22-2014, 12:12 PM
Last Post: basanth27

Forum Jump:


Users browsing this thread: 1 Guest(s)