07-31-2009, 04:36 AM
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
any help?
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?