Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to get the dynamic value displayed on the page
#5
Not Solved
Hi ,

my issue is some what different now..

Now my code shows the 500 records in the msg box..but it always works out if the inout returns 500 records only,if i give a different search criteria..it says object not defined since it tries to return other number than 500 records..i realized, the regular expression needs to be there for my code.. but i am not sure how i can do that.

here is my code

Code:
Browser("MDC").Page("MDC").Frame("mdma_bottom").Link("POD").Click
'Browser("MDC").Page("MDC").Frame("mdma_bottom_2").WebEdit("ClassName:=WebEdit", "Name:=txtSearchCriteria").Set "geetha"
Browser("MDC").Page("MDC").Frame("mdma_bottom_2").WebEdit("txtSearchCriteria").Set "kim"
Browser("MDC").Page("MDC").Frame("mdma_bottom_2").WebButton("Search").Click
Browser("MDC").Page("MDC").Frame("mdma_bottom_2").WebList("ddlSearchType").Select "Customer Name"
Browser("MDC").Page("MDC").Frame("mdma_bottom_2").WebButton("Search").Click
Browser("MDC").Page("MDC").Sync

txtstr1 = Browser("MDC").Page("MDC").Frame("mdma_bottom_2").WebElement("pgrSdpSummary:Page:ddlPage").GetROProperty("innertext")
'WebElement("pgrSdpSummary:Page:ddlPage").Object.innerHTML

msgbox txtstr1


any help?
Reply


Messages In This Thread
RE: How to get the dynamic value displayed on the page - by geethwind - 07-31-2009, 04:36 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  "UFT has stopped working" is displayed during running the script kotaramamohana 0 1,214 08-24-2018, 01:07 PM
Last Post: kotaramamohana
  array to be captured and displayed Anu209 0 1,160 06-24-2017, 10:19 AM
Last Post: Anu209
  Multiple 2 IE browsers are being displayed VA1405 1 1,768 01-15-2014, 07:20 AM
Last Post: basanth27
  Type mismatch is displayed for .SET method (Blank value) dineshb 4 4,157 07-20-2010, 08:58 PM
Last Post: dineshb

Forum Jump:


Users browsing this thread: 1 Guest(s)